karelzak / mutt-kz

mutt-kz is DEPRECATED in favor of neomutt project.
https://neomutt.org
Other
296 stars 51 forks source link

modify-labels for entire thread #106

Closed sjhorst closed 9 years ago

sjhorst commented 9 years ago

Is there a way to modify-labels for an entire thread? For example, I'd like to archive an entire thread with a single keystroke in mutt, but the modify-labels command only seems to work on a single message at a time. As far as I can tell, the type=threads item only works on queries, not tagging.

karelzak commented 9 years ago

On Thu, Sep 03, 2015 at 09:16:09AM -0700, Stephen Horst wrote:

Is there a way to modify-labels for an entire thread? For example, I'd like to archive an entire thread with a single keystroke in mutt, but the modify-labels command only seems to work on a single message at a time. As far as I can tell, the type=threads item only works on queries, not tagging.

works with standard mutt , all you need is to mark necessary messages by tag -- press 't' or use , for example I have ``` bind index tag-thread ``` to mark all messages in the thread by "insert" key. Then you can apply arbitrary command (e.g. modify-labels) after ";" (aka ). ``` Karel ``` ## Karel Zak kzak@redhat.com http://karelzak.blogspot.com