Re: [PATCH] emacs: PATCH [1/2] mail user agent

Subject: Re: [PATCH] emacs: PATCH [1/2] mail user agent

Date: Sat, 22 May 2021 16:28:46 +0300

To: David Bremner, Tory S. Anderson, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Sat, May 22 2021, David Bremner wrote:

> webdev@toryanderson.com (Tory S. Anderson) writes:
>
>>  
>> +(defcustom notmuch-mail-user-agent 'notmuch-user-agent
>> +  "The mail user-agent to use when creating mail after using Notmuch. For historical purposes, the default is 'notmuch-user-agent"
>> +  :group 'notmuch)
>>  ;;; Mime Utilities
>>  
>>  (defun notmuch-foreach-mime-part (function mm-handle)
>> @@ -1162,7 +1165,7 @@ Point should be at the beginning of the line."
>>  
>>  ;;; _
>>  
>> -(setq mail-user-agent 'notmuch-user-agent)
>> +(setq mail-user-agent notmuch-mail-user-agent)
>
> OK, I appreciate idea of a smooth upgrade for existing notmuch users. I
> wonder though if other emacs MUAs do this? I did not see e.g. a
> gnus-mail-user-agent variable. I'm probably biased because I never use
> compose-mail to send mail, but I'm wondering if we're better off to just
> rip the bandage off and let users who want to use notmuch via generic
> emacs mail sending commands configure that.

I am for 'ripping the bandage off' and not configure mail-user-agent
outside of notmuch use (and just require 'notmuch would not set anything...)

Could we have some 'compose-mail' variant (different name, of course;
I had one in mind but then came off-by one problem... >;) which 
configures mail-user-agent just for that use (or something).

Tomi
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: