> Date: Mon, 3 Dec 2001 15:04:22 -0500 > From: David T-G <[EMAIL PROTECTED]> > To: "Mutt Users' List" <[EMAIL PROTECTED]> > Subject: Re: a hook entered upon sending a message? > > Roman -- > > ...and then Roman Neuhauser said... > % Hi there, > % > % is there a means to let mutt perform an action on the message it sends > % out _when_ it sends it? All the documented hooks take place long before > > Not AFAIK.
Any plans to implement this feature? > % this happens... To be more specific, I'm looking for a way to delay the > % inserting of the signature until the moment the message goes off. > % I know my own signature, I don't need to see it every time I write an > % email. :) > > If it really bothers you that much, unset $signature and $sig_dashes and > then modify your editor command to append your signature file onto the > temp file after the real editor completes. Note that re-editing a file > will cause duplicate signatures, so you might also tell your editor to > find the sig_dashes and delete from there down before jumping back to > the beginning of the message. Yeah, I figured out it'd be probably left for vim to do this. Then again, (I'm no vim-hacker) there are at least three ways to quit from vim, saving the buffer, which means I'd have to noremap all of them... Unless I'm missing a way to avoid this. Ok, time to mail [EMAIL PROTECTED] :) > The code is left as an exercise for the reader ;-) No problem. Thanks for the reply. -- FreeBSD 4.4-STABLE 9:16PM up 41 days, 7:59, 16 users, load averages: 0.13, 0.31, 0.26