karelzak / mutt-kz

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

modify-labels should work with tagged messages #84

Closed mturquette closed 10 years ago

mturquette commented 10 years ago

I was not able to figure out how to make it work. Maybe this does work already and I don't know? Essentially I'd like to use the ~T pattern in conjunction with modify-labels and modify-labels-then-hide to apply notmuch tag updates to multiple messages at once.

For Gmail users, this is the mutt-kz equivalent to selecting several threads in Gmail and then applying a Gmail label to them.

mturquette commented 10 years ago

Doh! Just a few minutes after posting this I figured it out. Maybe this will help other mutt noobs that have a similar question. The Mutt Guide covers macros and how to use tagged messages with them via :

http://dev.mutt.org/trac/wiki/MuttGuide/Macros

For reference I now have these bindings in my muttrc:

macro index l "<modify-labels-then-hide>" # manually edit tags for single mail
macro index L "<tag-prefix><modify-labels-then-hide>" # manually edit tags for all tagged mail