<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3187: misleading error when macro uses invalid command



#3187: misleading error when macro uses invalid command
------------------------------+---------------------------------------------
 Reporter:  antonio@xxxxxxxx  |       Owner:  mutt-dev
     Type:  defect            |      Status:  new     
 Priority:  minor             |   Milestone:          
Component:  mutt              |     Version:  1.5.19  
 Keywords:                    |  
------------------------------+---------------------------------------------
 Forwarding from http://bugs.debian.org/497273

 ---

 I have a macro


   macro index             \Co         '<tag-prefix><save-message>


 and previously, I had index,pager instead of just index in the
 above. The result was that when I entered \Co in the pager, I was
 told that "Key is not bound. Press '?' for help.". The macro works
 fine in the index.

 It took me a while to figure out that this was due to <tag-prefix>
 being an invalid command in the pager. mutt should either just
 ignore it in the pager, or provide a better error message.

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