Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From the mutt manual:

Once you have tagged the desired messages, you can use the tag-prefix operator, which is the ; (semicolon) key by default. When the tag-prefix operator is used, the next operation will be applied to all tagged messages if that operation can be used in that manner.

But it seems that I can only execute commands that are already bound to a specific keyboard shortcut. For example I can use ;d to delete all selected messages.

What if I want to apply an "unbound" command (such as purge-message)?

I have also tried using something based on :exec tag-prefix or :push tag-prefix without success.

share|improve this question
up vote 2 down vote accepted

My copy of mutt doesn't have a purge-message function, none of the unbound index functions look useful to use on tagged messages. But, for testing I removed the binding for the flag-message function.

With that done, either of the following commands worked for me.

:exec tag-prefix flag-message
:push <tag-prefix><flag-message>

My version is reported as Mutt 1.5.21 (2011-07-01)

share|improve this answer
Thanks a lot! I was doing something wrong with spaces and angle brackets in the exec and push commands. Btw. the purge-message is related to the "trash folder patch". – mrucci Dec 2 '12 at 8:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.