[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: message.el and mml-secure-bcc-is-safe
From: |
Jens Lechtenboerger |
Subject: |
Re: message.el and mml-secure-bcc-is-safe |
Date: |
Sun, 22 Jan 2017 14:44:20 +0100 |
On 2017-01-21, at 17:34, Lars Ingebrigtsen wrote:
> Yuri D'Elia <address@hidden> writes:
>
>> I'd like to manipulate the mml tags on the message inside the
>> 'message-send-hook depending on the recipient.
>>
>> By reading though message.el, this seems to be possible as the hook is
>> ran early enough.
>>
>> However, I notice that (mml-secure-bcc-is-safe) is called before the
>> hook. If I plan to modify the tags, it actually makes sense to run it
>> just afterwards instead so that it checks the final headers and tags.
>>
>> Could we move (mml-secure-bcc-is-safe) just after the hook?
>> It makes more sense to me, unless there's some specific reason to do so.
>
> I'm not sure... there might be subtleties there... I've added Jens to
> the Cc; he added the code so he might have an opinion.
There was no particular reason for adding the bcc-check before
executing that hook. Feel free to exchange their order.
Best wishes
Jens