On Wed, Jan 12, 2011 at 09:46:25PM -0400, Xlii wrote: > Hi mutt, > > I want to dynamically form a greeting line base on the "To:" field. > > [snip] > > Does anybody know a simple way to do that in mutt? > Thanks! > Xlii
Hi, I don't know a way to handle that directly in mutt, but what's wrong with using Vim for that? You could use Vim's skeleton option (:h skeleton) and use a mutt hook for special people which changes $editor (vim -c 'command-here' ..) which then runs the necessary skeleton. Or you could do it completely in Vim. Maybe with an autocmd so that it automatically happens when you open the mail in Vim. Regards, Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
pgpgyE6zvkZbY.pgp
Description: PGP signature