From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#400: 23.0.60; C-h v should pick up lispified name in Customize Date: Sun, 06 Sep 2020 14:26:35 +0200 Message-ID: <875z8rum4k.fsf@gnus.org> References: <007f01c8cca9$3cbbf770$c2b22382@us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1371"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 400@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 06 14:27:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEtlF-0000Bc-Fq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Sep 2020 14:27:09 +0200 Original-Received: from localhost ([::1]:58934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEtlE-0008Vc-IY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Sep 2020 08:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEtl8-0008VU-Es for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 08:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEtl8-0005HY-6I for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 08:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEtl8-0001yE-2R for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 08:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Sep 2020 12:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 400 X-GNU-PR-Package: emacs Original-Received: via spool by 400-submit@debbugs.gnu.org id=B400.15993952107557 (code B ref 400); Sun, 06 Sep 2020 12:27:02 +0000 Original-Received: (at 400) by debbugs.gnu.org; 6 Sep 2020 12:26:50 +0000 Original-Received: from localhost ([127.0.0.1]:45000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEtkw-0001xo-5J for submit@debbugs.gnu.org; Sun, 06 Sep 2020 08:26:50 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:44430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEtkv-0001xa-06 for 400@debbugs.gnu.org; Sun, 06 Sep 2020 08:26:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=s/Iep/LBB1oItRpw3ccUqMchitMqijRkkTQiguhFNNg=; b=RgNPYUFbJ+7OHZ3S8XjHtKGhMY nPcDhusibiNvILb7vQDb1LU0vKshLp9er/WQoqp7AzYFLS7PwLOFqfydJBzlXTMGaSCo9CwlUg4Pn cdz1DEQv9bx6zUndS65VafgzapLzXH+Ho31l/nBaLv6ybRKdLJHSVfS5d5Af0NWCVHa8=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEtkj-0005AY-0Y; Sun, 06 Sep 2020 14:26:42 +0200 X-Now-Playing: Delroy Edwards & Dean Blunt's _Desert Sessions_: "(untitled)" In-Reply-To: <007f01c8cca9$3cbbf770$c2b22382@us.oracle.com> (Drew Adams's message of "Thu, 12 Jun 2008 09:27:41 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187325 Archived-At: "Drew Adams" 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