macros and templates (was: why is mutt better?)

2000-10-23 Thread Mark Weinem

On Fri, 10 Mar 2000, Jeremy Blosser wrote:

 1) create the templates you want, using your editor of choice
 2) create macros that change the value of 'editor' to call a script/etc.
 that processes the reply+template and calls your editor, then set 'editor'
 back to the default, eg:
 
 macro index r :set editor=replyscriptenterreply:set editor=defaultenter
 
 With forms of this method the "template" isn't even limited to a text-based
 construct, it can really be anything at all.

Could you please give an example of such a replyscript? I want to
reply with a preformulated standard mail (standard.txt). 

The editor I use is gnuclient.


Regards
Mark Weinem



 PGP signature


macros and templates (was: why is mutt better?)

2000-10-23 Thread Mark Weinem

On Fri, 10 Mar 2000, Jeremy Blosser wrote:

 1) create the templates you want, using your editor of choice
 2) create macros that change the value of 'editor' to call a script/etc.
 that processes the reply+template and calls your editor, then set 'editor'
 back to the default, eg:
 
 macro index r :set editor=replyscriptenterreply:set editor=defaultenter
 
 With forms of this method the "template" isn't even limited to a text-based
 construct, it can really be anything at all.

Could you please give an example of such a replyscript? I want to
reply with a preformulated standard mail (standard.txt). 

The editor I use is gnuclient.


Regards
Mark Weinem


 PGP signature