Re: Select a different sender (From) at reply time

Subject: Re: Select a different sender (From) at reply time

Date: Mon, 29 Jan 2018 11:28:22 +0000

To: Lele Gaifax, notmuch@notmuchmail.org

Cc:

From: David Edmondson


On Monday, 2018-01-29 at 12:18:15 +0100, Lele Gaifax wrote:

> David Edmondson <dme@dme.org> writes:
>
>> The way that I do this is shown here:
>> 	http://dme.org/data/notmuch/notmuch-sender.el
>
> Thank you David, I will ad[ao]pt your solution!
>
>> I always remove the initial “From” generated by notmuch and choose one
>> when I hit “send”. In some cases the choice is automatic, but otherwise
>> there is a prompt.
>
> What is the reason for the explicit dme:notmuch-message-setup-hook, given that
> dme:notmuch-message-send-hook replaces the "From:" header by its own?

It's probably historical - I've used variants of this code for many
years.

At one point the code in the send hook would observe an existing From
address (so you can add one by hand to override the hook), but I never
found myself using that and so removed it.

dme.
-- 
You know your green from your red.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: