[Linux-disciples] Prompting in mutt

Adam Kessel adam at rosi-kessel.org
Fri Apr 30 12:27:21 EDT 2004


On Fri, Apr 30, 2004 at 12:11:05PM -0400, Stephen R Laniel wrote:
> A couple people whom I email ask that I use the following
> format in the subject lines of my emails:
> 
> {Seth, Steph, Both} ({Biz, Non-Biz}): [regular subject]
> 
> Sometimes I forget to do this. I'd like mutt to prompt me,
> when emailing these people, with something like the
> following:
> 
> Business/Non-business (b/N)? 
> Seth/Steph/Both (s/t/B)?
> 
> It would then plug the answers into the subject line.
> 
> Any idea whether something like this is possible?
> 

I think you'd have to do it with a vim macro and set edit_headers=yes in
mutt.  mutt isn't really equipped for the degree of customizability and
interactivity that you want.

It would be fairly easy to code the vim macro, though; once vim finds a
certain address in the To: field it could prompt the user and modify the
header accordingly.
-- 
Adam Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040430/c85dc08b/attachment.pgp


More information about the Linux-disciples mailing list