Re: bug#50460: 27.1; defcustom for mail-user-agent is too strict?

Subject: Re: bug#50460: 27.1; defcustom for mail-user-agent is too strict?

Date: Wed, 08 Sep 2021 10:54:16 +0200

To: 50460@debbugs.gnu.org, notmuch@notmuchmail.org

Cc:

From: Gregor Zattler


Hi David, Lars,
* Lars Ingebrigtsen <larsi@gnus.org> [2021-09-08; 08:56]:
> David Bremner <david@tethera.net> writes:
>
>> The defcustom for mail-user-agent looks like
>>
>> :type '(radio (function-item :tag "Message package"
>> 			       :format "%t\n"
>> 			       message-user-agent)
>> ;; [...] snip
>> 		(function-item :tag "Message with full Gnus features"
>> 			       :format "%t\n"
>> 			       gnus-user-agent)
>> 		(function :tag "Other"))
>>
>> This means that a symbol without a function definition cannot be set
>> (using customize) as mail-user-agent. This seem inconsistent with the
>> docstring of define-mail-user-agent,
>
> Yup.  Now fixed in Emacs 28.

thanks for the fast bug report and fixing.  I confirm it is
now possible to customize `mail-user-agent' to
`notmuch-user-agent' via `customize-variable'.


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

Thread: