On Mon, May 11, 2015 at 7:13 PM, Derek Martin <inva...@pizzashack.org> wrote: > On Mon, May 11, 2015 at 03:19:35AM -0400, Xu Wang wrote: >> Hello all, >> >> In the pager or index, I would like to mark as read every message in >> all mail boxes with the same message ID as the email that is >> highlighted. > > There's no way to do this in Mutt proper... it does not have the > ability to perform operations across mailboxes, generally. > > I was going to suggest a way to do it per-mailbox, by tagging the > messages and then marking them read, but there are only thread-level > commands for this--and the only other way I know of to do it is to > remove the new flag, but that command is a toggle. > > You might find a solution for this in GNU Mailutils, or you could > probably whip up a script in Python using one of its standard modules > for e-mail, but I can't really give you more details than that.
Thanks, Derek. This is all very useful information. Would it be possible to do the following? Let's suppose that the goal is just to make the message is read in only one other mail box, called "All Mail". 1. parse out the message ID from the selected email 2. store that in a variable (for Mutt) 3. change mail box to All Mail 4. find the message in that mail box that has the message ID stored in a variable in (2) 5. mark that message as read 6. switch back to the mail box I was on before (e.g. Inbox) Is that feasible? Kind regards, Xu