#3839: <tag-prefix> causes terminal to beep
--------------------+----------------------
 Reporter:  Miesco  |      Owner:  mutt-dev
     Type:  defect  |     Status:  new
 Priority:  major   |  Milestone:
Component:  mutt    |    Version:  1.5.23
 Keywords:          |
--------------------+----------------------
 I am trying to make 'd' read a message before deletion:

       macro index d "<enter-command>set my_old_resolve=\$resolve
 noresolve<enter>\
       <tag-prefix><clear-flag>n<enter-command>set
 resolve=\$my_old_resolve<enter>\
       <tag-prefix><delete-message>" "read and delete current message"

 There are two problems.

 1) If there are no tagged messages, <tag-prefix> will cause the terminal
 to beep before carrying out the action on the single message.

 2) Macros need to be able to be preceded by <tag-prefix>.

 I need my `d` key to be EXACTLY like the default `d` with the only
 exception that it should mark the message as read before deletion.  This
 means that if I have tagged messages, `d` must NOT delete them unless
 prefixed by tag-prefix.  Is this possible?

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3839>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to