Re: C-a c binding in pager view
On 08Sep2015 22:36, Ian Zimmermanwrote: On 2015-09-07 18:50 +1000, Cameron Simpson wrote: macro index g "" "group reply" macro pager g "qg" "group reply" Buried in here is the information that mutt scans for macros recursively, which is news to me. Still deciding if it is good or bad news, but it's good to know about it :-P No, it parses them incrementally. So in the pager using the above, mutt sees my type "g", and pushes "qg" onto the input queue. Then it pulls off the "q", which is mapped the , and quits the pager. Then it pulls off the "g" and pushes "". So in a sense the input queue is a stack, but otherwise it is all iterative. Cheers, Cameron Simpson
Re: C-a c binding in pager view
On 2015-09-07 18:50 +1000, Cameron Simpson wrote: > macro index g "" "group reply" > macro pager g "qg" "group reply" Buried in here is the information that mutt scans for macros recursively, which is news to me. Still deciding if it is good or bad news, but it's good to know about it :-P -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.
Re: C-a c binding in pager view
* On Sun, Sep 06, 2015 06:07PM -0700 Ian Zimmerman (i...@buug.org) muttered: > I've had this in .muttrc for a while (along with other bindings starting > with \ca): > > macro index,pager \cac "~N" > "catch up" > > Until now I always did it from the index, and it works flawlessly. > > Today I tried it in the pager for the first time, and of course > something exciting and unexpected happens :-) Mutt says: doesn't exist in the pager. So what happens is mutt sees t (tag-entry), a (create-alias) Which is what you describe. Michael -- PGP-Key-ID: EEE7D043 Jabber: in...@jabber.de
Re: C-a c binding in pager view
On 07Sep2015 10:26, Michael Tatgewrote: * On Sun, Sep 06, 2015 06:07PM -0700 Ian Zimmerman (i...@buug.org) muttered: I've had this in .muttrc for a while (along with other bindings starting with \ca): macro index,pager \cac "~N" "catch up" Until now I always did it from the index, and it works flawlessly. Today I tried it in the pager for the first time, and of course something exciting and unexpected happens :-) Mutt says: doesn't exist in the pager. So what happens is mutt sees t (tag-entry), a (create-alias) Which is what you describe. Personally, several of my alias for the pager start with "q", eg: macro index g "" "group reply" macro pager g "qg" "group reply" i.e. bail out of the pager and run the same macro from the index. Cheers, Cameron Simpson
C-a c binding in pager view
I've had this in .muttrc for a while (along with other bindings starting with \ca): macro index,pager \cac "~N" "catch up" Until now I always did it from the index, and it works flawlessly. Today I tried it in the pager for the first time, and of course something exciting and unexpected happens :-) Mutt says: Warning: This alias name may not work. Fix it? ([yes]/no): When I hit n (which looked safest), it says: Address: sender@sender.domain (where the real address reflects the sender of the message I'm paging through). What is going on? When I hit the help key in pager mode the macro shows up as it should and I see no other binding for this key sequence anywhere. -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.