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

Re: macro question



hi,

i actually tried that first but it wouldn't work... i noticed that you used 
single quotes instead of double, is that a requirement?  i had tried the 
following:

macro index "h" "<fetch-mail><sync-mailbox>" "description"

but it didn't work for me so i thought i'd try keystrokes... 


On Fri, Jul 08, 2005 at 02:24:48AM +0200, Michael Tatge wrote:
> * On Thu, Jul 07, 2005 Nabeel Khatri (nabeel@xxxxxxxx) muttered:
> > i'm trying to create a macro (to be started by keystroke "h") that
> > will check mail and then sync the mailbox... i tried the following:
> > 
> > macro index "h"     "Gt"
> 
> Use function names! See section 6.4 of the manual. It's more readable
> _and_ portable since keys might be redifined. You can see which functions
> are avaibale in any menu via the help function (?).
> 
> > since shift+g checks mail
> 
> <fetch-mail> G
> 
> > and t syncs the mailbox...
> 
> That's wrong, '$' does.
> <sync-mailbox> $
> 
> macro index h '<fetch-mail><sync-mailbox>' "fetch new mail and sync"
> 
> HTH,
> 
> Michael
> -- 
> #define FALSE   0               /* This is the naked Truth */
> #define TRUE    1               /* and this is the Light */
>       -- mailto.c
> 
> PGP-Key-ID: 0xDC1A44DD
> Jabber:     init[0]@amessage.de