in message <[EMAIL PROTECTED]>, wrote parv thusly... > > in message <[EMAIL PROTECTED]>, > wrote Justin R. Miller thusly... > > > ... > > folder-hook . push 'T~N~P\n;N\n\ct.\n' > > > > Note that this is untested, but what I think I'm trying to do is, upon > > entering a folder, tag all new messages that were written by me, then > > toggle their new status, then untag all messages. > ... > # next three lines should be one; > # wrapped for email > macro index <Esc>z \ > '<tag-pattern> ~P<enter><tag-prefix><clear-flag>N<untag-pattern> ~P<enter>' \ > "mark messages read sent by me" > # > # after defining key binding, make it execute for every folder > folder-hook . 'push \ez' ...
there is a problem w/ jrm's version, and will be w/ my version if tag-pattern is changed from "~P" to "~N~P". problem is when no "~N~P" messages are found, <tag-prefix> fails. then regardless of <tag-prefix> failure, "N" flag is toggled, or cleared, of the first new/unread message. - parv --