* Susan Kleinmann <[EMAIL PROTECTED]> [17-10-2002 17:08]:

> I am trying to figure out how to get mutt to execute some command specified
> on the command line and then quit.  This first effort is just to get mutt to
> provide an index listing of new messages in a folder and then quit.
> To do that, I defined the following macro in my muttrc:
> 
> macro index ,n "<limit>~N\n<quit>\n"
> 
> Then I invoked mutt with the command:
> 
> mutt -e "exec ,n"
> 
> This produces the message:
> ,n: no such function
> Error in command line: 
> Press any key to continue...

Apart from what would be the use of this, you shouldn't "exec" the
macro (because exec applies to functions only, as the error message
says), but you should "push" the key sequence.

-- 
René Clerc                      - ([EMAIL PROTECTED])

No woman, no cry.
-Bob Marley 

Attachment: msg31880/pgp00000.pgp
Description: PGP signature

Reply via email to