Hi,

I find that I am doing some repetitive stuff in my .muttrc that occurs in 
multiple places (eg called by a folder hook, and also when mutt starts 
up).  I wonder if it would be possible to do something like

## pseudocode
procedure gmail-folders {
  set from="tkp...@gmail.com"
  set record="+GMAIL/[Gmail].Sent Mail"
  set postponed="+GMAIL/[Gmail].Drafts"
}

folder-hook +GMAIL.* 'exec gmail-folders'

in place of

folder-hook +GMAIL.* 'set from="tkp...@gmail.com"'
folder-hook +GMAIL.* 'set record="+GMAIL/[Gmail].Sent Mail"'
folder-hook +GMAIL.* 'set postponed="+GMAIL/[Gmail].Drafts"'

I read the manual but could not find anything similar.

Thanks,

Tamas

Reply via email to