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

Re: How to invoke G and m in index?



* On Thu, Aug 10, 2006 Boris Sobolev (immunogene@xxxxxxxxx) muttered:
> Is that possible to send mail (invoking m) and G ( invoking fetchmail)
> right from the index. I'm afraid I'm using the wrong teminology here, 
> please correct me then. When I start mutt -y

That is not the index but the mailboxes view. Corrected as requested :)

> I cannot send or use "G" from there. I have to go to any of my folders
> and can use all aformentioned commands.

In the browser you only have browser and generic functions awailable.
<mail> and <fetch-mail> are bound only in the index. So what you
describe is correct.
You could write a macro that does what you do interactively though

macro browser G '<enter-command>unset wait_key<enter><select-entry>\
<fetch-mail><enter-command>set wait_key<enter>\
<change-folder>?<toggle-mailboxes>'

macro browser m '<select-entry><mail>'

Leave the $wait_key stuff out if you unset it anyways.


HTH,

Michael
-- 
BOFH excuse #278:

The Dilithium Crystals need to be rotated.

PGP-Key-ID: 0xDC1A44DD
Jabber:     init[0]@amessage.de