Re: send-hook ~t and autoedit

2002-01-10 Thread Michael Elkins
On Thu, Jan 10, 2002 at 07:50:25PM +0100, Hanspeter Roth wrote: > I already tried this. It seems only to be effective at the To: > prompt at the initial send-menu if autoedit is unset. > But it seems to have no effect in the compose menu. It's because there is a chicken-and-egg problem. send-hoo

Re: send-hook ~t and autoedit

2002-01-10 Thread Hanspeter Roth
On Thu, Jan 10, 2002 at 09:13:07AM -0600, Knute wrote: > > Try this: > send-hook . 'set record=+sent' I already tried this. It seems only to be effective at the To: prompt at the initial send-menu if autoedit is unset. But it seems to have no effect in the compose menu. Aliases are reeval

Re: send-hook ~t and autoedit

2002-01-10 Thread Knute
On Thu, 10 Jan 2002, Hanspeter Roth wrote: > > On Wed, Jan 09, 2002 at 09:46:32PM -0600, Knute wrote: > > > > Don't you have to define a default hook in the config file before you > > call the send-hook so that mutt knows what it needs to look at first? > > I have: > > set default_hook="~

Re: send-hook ~t and autoedit

2002-01-10 Thread Hanspeter Roth
On Wed, Jan 09, 2002 at 09:46:32PM -0600, Knute wrote: > > Don't you have to define a default hook in the config file before you > call the send-hook so that mutt knows what it needs to look at first? I have: set default_hook="~t %s" send-hook . set record=+sent Is there another defaul

Re: send-hook ~t and autoedit

2002-01-09 Thread Knute
On Tue, 08 Jan 2002, Hanspeter Roth wrote: > > It seems to me send-hook ~t is not working with autoedit and > edit_headers set. > Only the answer from the initial send-menu seems to be considered. > Changes from the invoked editor and the compose menu don't seem to > have any effect. > This is a

Re: send-hook ~t and autoedit

2002-01-08 Thread Holger Lillqvist
On Jan 8, Hanspeter Roth wrote: > Why not reevaluate the send-hooks after the editing session and after > changing the recipient in the compose menu? For instance, send-hooks can be used to insert different signatures matching certain addresses (inserting sigs in different languages, etc.). Re-

Re: send-hook ~t and autoedit

2002-01-08 Thread Hanspeter Roth
On Tue, Jan 08, 2002 at 06:03:19PM +0200, Holger Lillqvist wrote: > On Jan 8, Hanspeter Roth wrote: > > It seems to me send-hook ~t is not working with autoedit and > > edit_headers set. > > > This is a bug, isn't it? > > Why should it be considered a bug? Autoedit per definition skips > the se

Re: send-hook ~t and autoedit

2002-01-08 Thread Holger Lillqvist
On Jan 8, Hanspeter Roth wrote: > It seems to me send-hook ~t is not working with autoedit and > edit_headers set. > This is a bug, isn't it? Why should it be considered a bug? Autoedit per definition skips the send-menu, and as the recipient is still unknown when you enter the editor, send-hoo

send-hook ~t and autoedit

2002-01-08 Thread Hanspeter Roth
It seems to me send-hook ~t is not working with autoedit and edit_headers set. Only the answer from the initial send-menu seems to be considered. Changes from the invoked editor and the compose menu don't seem to have any effect. This is a bug, isn't it? -Hanspeter