GNU bug report logs - #400
23.0.60; C-h v should pick up lispified name in Customize

Previous Next

Package: emacs;

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

Date: Thu, 12 Jun 2008 16:35:04 UTC

Severity: wishlist

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 400 <at> debbugs.gnu.org
Subject: Re: bug#400: 23.0.60; C-h v should pick up lispified name in Customize
Date: Sun, 06 Sep 2020 14:26:35 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> emacs -Q
> M-x customize-option Info-hide-note-references
>
> Put the cursor on the unlispified option name:
> Info Hide Note References.
>
> C-h v
>
> The option name is not picked up as the default value.

The command just calls variable-at-point, which doesn't have any
machinery to go from the displayed data to the actual symbol (which
info-look has).

It's trivial to fix (now after bug#41905 was fixed), but I'm not sure at
what level to do that.  The least invasive way to do it would be to just
redefine `C-h v' in Customize buffers, but the way `describe-variable'
is defined would require a refactor of that function.

`variable-at-point' could grow some way to allow it to be parameterised,
for instance via a buffer-local variable-at-point-function, which would
be kinda clean and is how many similar things are handled... 

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




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

Previous Next


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