* On 13 Jan 2015, Mutt wrote: 
> #3727: Allow selection of multitple GPG-keys to encrypt to
> -------------------------------------------------+-------------------------
>  With this patch, you can have multiple crypt-hook instances with the same
>  pattern (recipient). This allows one to specify multiple key-ids for a
>  particular pattern (recipient). This comes in handy when one wants to send
>  encrypted email to a mailinglist with a static set subscribers.

This is an interesting idea.  I wonder whether a better big-picture
approach would be to transform all[1] the hooks into lists, and add an
option to the respective hook commands to accumulate rather than
replace.  (I.e. default remains to replace the entire list, but with
-add it augments the list.)

[1] This obviously doesn't apply logically to all hooks, I'm speaking
of those for which it might make sense.  Folder-hook, crypt-hook,
account-hook, message-hook, reply-hook, send-hook, send2-hook at least.

-- 
David Champion • [email protected]

Reply via email to