* On Sun, Sep 20, 2009 05:42PM +0200 I (michael.ta...@web.de) muttered: > * On Sun, Sep 20, 2009 01:39PM +0000 Tamas K Papp (tkp...@gmail.com) muttered: > > 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' > > > folder-hook +GMAIL.* 'set postponed="+GMAIL/[Gmail].Drafts"' > > I don't see how that's different to > > folder-hook +GMAIL.* 'set from=...;\ > set record=...;\ > set postponed=...'
or the already meantioned folder-hook +GMAIL.* 'source gmail.settings' HTH, Michael -- Make it idiot-proof, and someone will breed a better idiot. -- Oliver Elphick PGP-Key-ID: 0xDC1A44DD Jabber: init...@amessage.de