From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#400: 23.0.60; C-h v should pick up lispified name in Customize Date: Sun, 6 Sep 2020 10:13:28 -0700 (PDT) Message-ID: References: <<007f01c8cca9$3cbbf770$c2b22382@us.oracle.com>> <<875z8rum4k.fsf@gnus.org>> <<83o8mjnf5n.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31432"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 400@debbugs.gnu.org To: Eli Zaretskii , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 06 19:16:11 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 1kEyGx-00085r-Du for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Sep 2020 19:16:11 +0200 Original-Received: from localhost ([::1]:46150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEyGw-0004vl-GK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Sep 2020 13:16:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEyGo-0004tx-Ss for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 13:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEyGo-000581-JI for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 13:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEyGo-0001L8-Dz for bug-gnu-emacs@gnu.org; Sun, 06 Sep 2020 13:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Sep 2020 17:16: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.15994125395120 (code B ref 400); Sun, 06 Sep 2020 17:16:02 +0000 Original-Received: (at 400) by debbugs.gnu.org; 6 Sep 2020 17:15:39 +0000 Original-Received: from localhost ([127.0.0.1]:47035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEyGR-0001KV-F9 for submit@debbugs.gnu.org; Sun, 06 Sep 2020 13:15:39 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:56890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEyGP-0001KI-Bf for 400@debbugs.gnu.org; Sun, 06 Sep 2020 13:15:38 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 086HFMbk061509; Sun, 6 Sep 2020 17:15:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=+QB+J5z54NgfBPJHKRr1kwWbbk2BQoPT5SKL8279FDo=; b=hdnsZiiktU89WqmsP9XR4pMckh7iY4z1kl0tBjjnK7+wEK3EI9Zo3dKfBRAMC5bn43V+ uLE8MiZXuJn0wjxIdkp7f7FYsmIHdZNBuYiMpdFaIXTGlgGPeMM6GXu1WCx7gUHodWfo W0pmB5vCOVqEgqMGfde2IiTbRHxI0yGbLZ0K18YhVqasu1u2UnBJlFIimfgFKQxd0n3e HCBbnzMgXSiiW1pWGbGKplXKYLpz8OU5gEKg+ZcIW6SIoC437dhKt4FUxzfES/kbIhC1 FoOziIEn6hmlOm+jqGHRdtNXxxDkt1GqDEyODOFIFTolpCUi1aSl9UWecBFzWW4jeHqQ yg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 33c23qkjcr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 06 Sep 2020 17:15:31 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 086HAq3A038600; Sun, 6 Sep 2020 17:13:30 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 33cmjxawwv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 06 Sep 2020 17:13:30 +0000 Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 086HDTmY009712; Sun, 6 Sep 2020 17:13:30 GMT In-Reply-To: <<83o8mjnf5n.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5044.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9736 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009060175 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9736 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 priorityscore=1501 mlxlogscore=999 mlxscore=0 bulkscore=0 suspectscore=0 spamscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009060175 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:187364 Archived-At: > > > 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. >=20 > I don't see how using "C-h v" in that case is a reasonable use case, > since the documentation is displayed right below the name of the > option. >=20 > We could perhaps have a help command that recognized names of > variables in this format, but then it shouldn't be "C-h v", IMO, since > that command talks about _variables_, whereas a name such as "Info > Hide Note References" is not a variable name. I said, "picked up as the default value". Yes, of course the unlispified name is typically not itself a variable name. But it's reasonable in this context to provide the Lisp variable name as a default value here, for `C-h v'. As Kevin pointed out, `C-h v' provides not only the doc string but links. And this bug report is really more general, in the sense that if we give Customize the inverse function (get the Lisp name from the unlispified name) then that can be used for more than just `C-h v' - `describe-face', for instance. The fact that `C-h v' output/behavior is similar to what `customize-option' shows shouldn't get in the way of seeing the utility of providing a way to get the Lisp name from the unlispified name. That can be used beyond `C-h v'.