<<< Date Index >>>     <<< Thread Index >>>

Re: send-hook not working



* Sander Smeenk [2008-04-12 19:53]:

I have the following hook:
  send-hook . "unset pgp_autoencrypt"
  send-hook '~t rejo@example\.net' "set pgp_autoencrypt=yes"
Still I can't figure out why this hook doesn't work. So, what is the most likely thing I am overlooking?

This only seems to work with edit_hdrs turned off.
I think the send-hook doesn't run after a message has been composed,
while it does when you enter the information in Mutt with edit_hdrs
turned off...

BTW, in my mutt it's 'crypt_autoencrypt' :)

They're synonyms.

--
    -- Kirill Miazine <km@xxxxxxxx>