Re: send-hook auto cc not working,
On Tue, Apr 07, 2009 at 11:07:57PM -0500, Kyle Wheeler wrote:
> On Tuesday, April 7 at 04:25 PM, quoth Zhengquan Zhang:
> >> Sounds like mutt didn't recognize the \ at the end of the line.
> >> (did you leave some extra spaces in there?) Try making them single
> >> lines.
> > I made them single line and it still does not work... and it turned
> > out that I was using an older mutt 1.5.13. Now I upgraded to 1.5.18
> > and there is no error message.
>
> Ah! Okay, well, whatever makes it go away. :)
>
> > But the send-hook still does not work..
>
> That's really weird. I'm just about out of ideas - that sort of hook
> works fine for me...
>
> Is it possible that elsewhere in your muttrc you may be unhooking the
> hook? e.g. `unhook *` or `unhook send-hook` ?
>
> ~Kyle
I tried this minimal muttrc
set edit_headers=yes
set folder="~/.muttmail"
set spoolfile=+inbox #+is the shortcut of $FOLDER
set postponed=+postponed
set record=+sent
set mbox_type=Maildir
send-hook ccl '~t ccl-tech@xxxxxxxxxxxxxxxxxxxx'"push
'<edit-cc>,oas@xxxxxxxxxxxxxxxxxxxx<enter>'"
and it still does not work...
Thanks Kyle for the help all the way,
Zhengquan
> --
> Never think that war, no matter how necessary, no matter how
> justified, is not a crime.
> -- Ernest Hemingway
--
Zhengquan