Re: send-hook built to fail? [Was: Re: send2-hook not working for

2009-08-07 Thread Erik Christiansen
On Thu, Aug 06, 2009 at 01:14:04PM -0500, Kyle Wheeler wrote: On Friday, August 7 at 01:52 AM, quoth Erik Christiansen: Consider if you were instead changing the Subject header. For example: send-hook '~C d...@example.com' 'my_hdr Subject: [dudemail]' Munging that a bit, I seem to be

Re: send-hook built to fail? [Was: Re: send2-hook not working for

2009-08-07 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Friday, August 7 at 08:09 PM, quoth Erik Christiansen: On Thu, Aug 06, 2009 at 01:14:04PM -0500, Kyle Wheeler wrote: On Friday, August 7 at 01:52 AM, quoth Erik Christiansen: Consider if you were instead changing the Subject header. For

Re: send-hook built to fail? [Was: Re: send2-hook not working for

2009-08-07 Thread Erik Christiansen
On Fri, Aug 07, 2009 at 07:21:22AM -0500, Kyle Wheeler wrote: On Friday, August 7 at 08:09 PM, quoth Erik Christiansen: Hmmm. I think there must be a misunderstanding between us somewhere here. If you're happy, that's great, and nevermind the rest. But unless I misunderstand how mutt works,

Re: send-hook built to fail? [Was: Re: send2-hook not working for

2009-08-07 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Saturday, August 8 at 01:55 AM, quoth Erik Christiansen: Well, I've gone back for the third time, to check what happens on compose (m), and list reply (L). In my now disused cross-gcc mailbox, with no send-hook and no Reply-To: in the test

send-hook built to fail? [Was: Re: send2-hook not working for me ]

2009-08-06 Thread Erik Christiansen
On Wed, Aug 05, 2009 at 05:26:14PM +0200, Rocco Rutte wrote: For example, with your Reply-To setting it may happen that all initial recipients are in the group and a special settings thus applies. From the compose menu you (for whatever reason) decide to add somebody else not in this group.

Re: send-hook built to fail? [Was: Re: send2-hook not working for me

2009-08-06 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Friday, August 7 at 12:04 AM, quoth Erik Christiansen: On Wed, Aug 05, 2009 at 05:26:14PM +0200, Rocco Rutte wrote: For example, with your Reply-To setting it may happen that all initial recipients are in the group and a special settings

Re: send-hook built to fail? [Was: Re: send2-hook not working for

2009-08-06 Thread Erik Christiansen
On Thu, Aug 06, 2009 at 09:35:09AM -0500, Kyle Wheeler wrote: On Friday, August 7 at 12:04 AM, quoth Erik Christiansen: Well, send-hook is slightly mis-named. A more accurate name would be compose-hook, because it's triggered whenever a new message is being composed. Sounds good so far,

Re: send-hook built to fail? [Was: Re: send2-hook not working for

2009-08-06 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Friday, August 7 at 01:52 AM, quoth Erik Christiansen: Right. Here's the reasoning: the message needs to be built *before* the send-hook triggers. For example, what would you expect the following to do? send-hook '~h Reply-to:'