GNU bug report logs - #10475
24.0.92; `C-h v' displays `*' indicating user option

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 10 Jan 2012 22:10:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.0.92

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 10475 <at> debbugs.gnu.org
Subject: Re: bug#10475: 24.0.92; `C-h v' displays `*' indicating user option
Date: Thu, 28 Apr 2016 14:01:53 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> (defcustom foo nil
>   "*A foobar function or nil."
>   :type '(choice (const :tag "None" nil) function)
>   :group 'convenience)
>
> Then `C-h v foo'.  The `*' indicating that this is a user variable
> (e.g. usable by `set-variable') is printed as if it were part of the
> doc.  It should be removed.

I don't think so.  Instead we should remove all the superfluous "*"s in
the source code.  I'll submit a bug report.

> In addition, `user-variable-p' is the test used for functions such as
> `set-variable', and it`user-variable-p' recognizes the `*' as defining a
> user variable.  This is correct behavior.  The only problem is that
> `describe-variable' should not treat this `*' as if it were part of the
> doc text.

It no longer does that.  It's now an alias for custom-variable-p.

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




This bug report was last modified 9 years and 29 days ago.

Previous Next


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