Subject: [sup-talk] Availability of key presses in different modes

From: [email-masked] (Marianne)
Date: Thu, 08 Jan 2009 20:51:37 +0100

Hi,

Is there a specific reason why certain key presses are not available in some
modes?

I'm thinking specifically about using "&" to kill a thread from thread-view
mode, and of "A" or "a" to archive a thread from search-results-mode.

The first would save me killing the buffer before killing the thread, since I
sometimes have to at least glance at a thread before deciding I want to kill it.

The second is much more important, really. I go through mail by mailing list, so
I use "L" to search for mail with a specific label. It seems I cannot then
archive threads from that view. Am I missing something? 

Thanks,

Marianne

-- 
Marianne Promberger
PGP/GnuPG public key ID 80AD9916

---

From: [email-masked] (Daniel Wagner)
Date: Tue, 13 Jan 2009 18:36:09 -0500

I hope this isn't a repeat.  My mail hasn't been going out for a few
days (for reasons totally unrelated to sup ;-), and I'm not sure exactly
which was the last one that made it through...

> I'm thinking specifically about using "&" to kill a thread from thread-view

Try hitting '.' or ',' first.  There are two reasonable actions after
dealing with a message, either returning to the inbox or moving to the
next message.  '.' selects the former; ',' the latter.

> mode, and of "A" or "a" to archive a thread from search-results-mode.

Are you sure this doesn't work?  It works here (admittedly on an ancient
version of sup, so the keybindings may have changed).  Keep in mind that
for the change to be applied, you must press '$' to write the changes to
disk (or exit the view with 'x') and press '@' in your other buffers to
update the view with the changes.

Good luck!
~d

---

From: [email-masked] (Marianne)
Date: Wed, 14 Jan 2009 18:13:11 +0000

> next message.  '.' selects the former; ',' the latter.

No, it doesn't work for killing the thread, that key is not available in
thread-view-mode on my sup 0.6. I can do other things after hitting "." or ",",
like archiving or marking as read, but not kill a thread.

Incidentally, I'd also think it would be even better to have either returning
to the inbox or moving to the next message the default and let the user use keys
like "a" directly, in addition to being able to pick a desired behavior by
prepending "." or "," explicitly.  It's just much harder to be aware all the
time of which mode you're in than always hitting "a" to archive.

Similarly, I think it's a terrible idea that "S" is bound to "mark as spam" when
I'm in the inbox or search-results mode, but search for messages from that
person when I'm in thread-view mode. It's not all that unreasonable to want to
search for mail from a particular person directly on a single message in the
inbox or when viewing search results. Marking as spam would be particularly bad
if that is hooked to some behavior like piping the message to train
spamassassin.

> version of sup, so the keybindings may have changed).  

Sorry, I only tested "A", since I always use that from the inbox mode. "a"
works, "A" doesn't.

Thanks,

Marianne