[neomutt-devel] Tagging Emails

Pietro Cerutti gahr at gahr.ch
Sat Feb 27 18:16:15 CET 2021

On Feb 27 2021, 14:42 UTC, Richard Russon <rich at flatcap.org> wrote:
>Background: I'm trying to improve how NeoMutt internally handles tagged 
>sets of emails.
>If I tag ten emails, then perform an operation on them,
>in which order would you expect them to be worked on?
>For example, if you piped them to an external program
>- User's sort order
>  Top to bottom in the order they'd appear in the index
>  (including any threading)
>- Selection order
>  The first email tagged would be processed first, and so on.
>  Typically, the user would tag top-to-bottom in the index,
>  so this could be the same as the sort order.
>- Unseen order -- dependent on other factors, e.g. the mailbox type
>  - Maildir:   Alphabetical
>  - Imap:      By UID (Unique ID)
>  - Generally: By memory address (for speed)
>What do you think?

I'd rather not assume any ordering, as I think it is a complication we 
can do without. Are there important use cases requiring us to maintain 
any tagging order that I am not seeing?

Pietro Cerutti

More information about the neomutt-devel mailing list