Re: Select a different sender (From) at reply time
On Monday, 2018-01-29 at 12:18:15 +0100, Lele Gaifax wrote: > David Edmondsonwrites: > >> 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
Re: Select a different sender (From) at reply time
David Edmondsonwrites: > 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? ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: Select a different sender (From) at reply time
On Sunday, 2018-01-28 at 19:13:18 +0100, Lele Gaifax wrote: > Hi all, > > I'd like to automatically force a particular sender when replying to a message > belonging to a mailing list I'm subscribed. > > I'm using the GNU/Emacs MUA, and looking around I found the tip at > https://notmuchmail.org/emacstips/#index3h2, but I fail to see how to > recognize the "destination" address, in other words how to determine that "I'm > replying to a message that belongs to /that/ ML" within the advice, to replace > the sender only in that case. The way that I do this is shown here: http://dme.org/data/notmuch/notmuch-sender.el 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. dme. -- Please forgive me if I act a little strange, for I know not what I do. ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Select a different sender (From) at reply time
Hi all, I'd like to automatically force a particular sender when replying to a message belonging to a mailing list I'm subscribed. I'm using the GNU/Emacs MUA, and looking around I found the tip at https://notmuchmail.org/emacstips/#index3h2, but I fail to see how to recognize the "destination" address, in other words how to determine that "I'm replying to a message that belongs to /that/ ML" within the advice, to replace the sender only in that case. Thanks in advance for any hint, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch