GNU bug report logs - #50460
27.1; defcustom for mail-user-agent is too strict?

Previous Next

Package: emacs;

Reported by: David Bremner <david <at> tethera.net>

Date: Tue, 7 Sep 2021 17:59:01 UTC

Severity: normal

Found in version 27.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 50460 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Bremner <david <at> tethera.net>
Cc: 50460 <at> debbugs.gnu.org, notmuch <at> notmuchmail.org
Subject: Re: bug#50460: 27.1; defcustom for mail-user-agent is too strict?
Date: Wed, 08 Sep 2021 08:56:19 +0200
David Bremner <david <at> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.