From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#23130: 25.1.50; `C-h f' etc.: escaping in symbol names Date: Mon, 28 Mar 2016 07:48:38 -0700 (PDT) Message-ID: References: <5f0de05c-33e6-4855-8603-19c0bd0c4c4e@default> <87vb47gkdx.fsf@linux-m68k.org> <3e3ee3f1-41ba-4429-bfdc-c795c62844c0@default> <87h9fqhe5l.fsf@linux-m68k.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1459176570 306 80.91.229.3 (28 Mar 2016 14:49:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2016 14:49:30 +0000 (UTC) Cc: 23130@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 28 16:49:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1akYTi-0001jW-RW for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Mar 2016 16:49:15 +0200 Original-Received: from localhost ([::1]:41173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYTe-0000W9-Kj for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Mar 2016 10:49:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYTa-0000W2-MN for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 10:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akYTW-0004qf-Mk for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 10:49:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYTW-0004qU-Ie for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 10:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akYTW-0002Hu-8p for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 10:49: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: Mon, 28 Mar 2016 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23130 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23130-submit@debbugs.gnu.org id=B23130.14591765288772 (code B ref 23130); Mon, 28 Mar 2016 14:49:02 +0000 Original-Received: (at 23130) by debbugs.gnu.org; 28 Mar 2016 14:48:48 +0000 Original-Received: from localhost ([127.0.0.1]:42152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akYTH-0002HQ-Ub for submit@debbugs.gnu.org; Mon, 28 Mar 2016 10:48:48 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:29240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akYTG-0002HC-2J for 23130@debbugs.gnu.org; Mon, 28 Mar 2016 10:48:46 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u2SEmd7S010752 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 28 Mar 2016 14:48:40 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u2SEmd0c032302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 Mar 2016 14:48:39 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u2SEmd6q014106; Mon, 28 Mar 2016 14:48:39 GMT In-Reply-To: <87h9fqhe5l.fsf@linux-m68k.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115643 Archived-At: > >> > The name of the symbol is "foo.", not "foo\.". > >> > >> Both refer to the same symbol, as does "\foo.". > > > > Not as `symbol-name' values, they don't. >=20 > It's showing a symbol, not the result of calling symbol-name on it. Yes, we know. > > The point is to show the symbol _name_, and to do so in a > > way that is clear to anyone. >=20 > The point is to show a symbol, unambigously. The point of this bug report is that the symbol's name should be shown clearly. The symbol is already printed using prin1 in the signature: (foo\.) Show it as Lisp when showing Lisp. Show it as a symbol name, as is the Emacs convention, in help text. And in that case, show it enclosed in `...'. > >> > Or better yet, to remove all ambiguity, even for characters > >> > such as SPC in the function name, enclose the name in `...': > >> > >> The name as printed is already unambigous. > > > > "bar\ is a Lisp function." is not only unclear; it is incorrect. >=20 > Of course it's incorrect, but describe-function will never generate > that. Why don't you read the bug report and try the recipe for yourself, starting with `emacs -Q'? That's exactly what `describe-funcction' "generates": (defun bar\ () (message "BARRRR")) `C-h f RET' with point on "bar\ ": bar\ is a Lisp function. (bar\ ) Not documented.