mutt mark as read and archive
I am using this macro to mark an email as read and archive it:
macro index,pager a ":set confirmappend=no
delete=yes\n<clear-flag>N<tag-prefix><save-message>=Archives\n<sync-mailbox>:set
confirmappend=yes delete=yes\n<next-undeleted>"
The macro works but only in the index. It does not work in pager despite the "pager" mention.
How can I have this macro work also in pager?
The answer is just that going to the pager remove the N flag of the email. So, of course, the macro doesn't work anymore...