[neomutt-devel] Tagging (Intent)

Richard Russon rich at flatcap.org
Fri Apr 24 14:57:44 CEST 2026


NeoMutt supports tagging items in a Menu so that you can perform a
function on a set of items.

  <tag> (default key 't')

The <tag> function is actually a toggle, so the result depends of the
item's original state.

I recently merged some improvements to the key handling code
which allow a repeat-count for functions, e.g. `5<next-entry>`.

If I type `5t` (`5<tag>`) what should happen?

1. Behave as if I'd typed `ttttt`
   The next 5 entries have the 'tagged' state *toggled.*

2. My intent is to <tag>, so 5 entries should be *tagged.*

3. Determine my intent from the first entry.
   If it is:
   - *tagged*,   then I intend to *untag* 5 entries
   - *untagged*, then I intend to *tag*   5 entries

What do you think?

See also:
- Branch [devel/tagging].
- Pull Request #4856 - https://github.com/neomutt/neomutt/pull/4856

Cheers,
    FlatCap / Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20260424/ffaf8724/attachment.sig>


More information about the neomutt-devel mailing list