GNU bug report logs - #17679
Wrong :type for `gnus-signature-limit'

Previous Next

Packages: gnus, emacs;

Reported by: Samuel Bronson <naesten <at> gmail.com>

Date: Tue, 3 Jun 2014 17:53:02 UTC

Severity: normal

Tags: fixed

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Samuel Bronson <naesten <at> gmail.com>
Cc: 17679 <at> debbugs.gnu.org
Subject: Re: bug#17679: Wrong :type for `gnus-signature-limit'
Date: Wed, 25 Jan 2017 18:32:03 +0100
Samuel Bronson <naesten <at> gmail.com> writes:

> (defcustom gnus-signature-limit nil
>   "Provide a limit to what is considered a signature.
> If it is a number, no signature may not be longer (in characters) than
> that number.  If it is a floating point number, no signature may be
> longer (in lines) than that number.  If it is a function, the function
> will be called without any parameters, and if it returns nil, there is
> no signature in the buffer.  If it is a string, it will be used as a
> regexp.  If it matches, the text in question is not a signature.
>
> This can also be a list of the above values."
>   :type '(choice (const nil)
> 		 (integer :value 200)
> 		 (number :value 4.0)
> 		 function
> 		 (regexp :value ".*"))
>   :group 'gnus-article-signature)
>
> I can't help but notice that the :type neglects the case "This can also
> be a list of the above values." from the docstring.

OK; fixed in the Emacs master now.

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




This bug report was last modified 8 years and 115 days ago.

Previous Next


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