From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#20759: 25.0.50; pcase doc: (=?UTF-8?Q?=E2=80=98?= QPAT) instead of (` QPAT) Date: Fri, 12 Jun 2015 14:20:35 +0200 Message-ID: <87eglh6ru4.fsf@web.de> References: <874mmjh6f8.fsf@web.de> <5579C761.1070505@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1434111714 8120 80.91.229.3 (12 Jun 2015 12:21:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2015 12:21:54 +0000 (UTC) Cc: 20759@debbugs.gnu.org, Dmitry Gutov To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 12 14:21:41 2015 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 1Z3NxT-0003D1-DN for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 14:21:15 +0200 Original-Received: from localhost ([::1]:50988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3NxS-0002ek-0t for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 08:21:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3NxL-0002Zb-7V for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 08:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3NxH-0006og-7E for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 08:21:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3NxH-0006oV-3s for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 08:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3NxG-0007kq-Py for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 08:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jun 2015 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20759-submit@debbugs.gnu.org id=B20759.143411165329784 (code B ref 20759); Fri, 12 Jun 2015 12:21:02 +0000 Original-Received: (at 20759) by debbugs.gnu.org; 12 Jun 2015 12:20:53 +0000 Original-Received: from localhost ([127.0.0.1]:51352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Nx5-0007kH-IV for submit@debbugs.gnu.org; Fri, 12 Jun 2015 08:20:52 -0400 Original-Received: from mout.web.de ([212.227.15.3]:60320) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Nx2-0007k2-95 for 20759@debbugs.gnu.org; Fri, 12 Jun 2015 08:20:49 -0400 Original-Received: from drachen.dragon ([90.187.252.31]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0M6mQO-1ZHUU91Xca-00wSru; Fri, 12 Jun 2015 14:20:41 +0200 In-Reply-To: <5579C761.1070505@cs.ucla.edu> (Paul Eggert's message of "Thu, 11 Jun 2015 10:37:37 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:FM2gFm1jLbM4y8lhSHmXt9tcI0rXxk4lo0WSbLAOE9hW5LLZr0r Rn3VW1RQZPdzHSJb183ejG/nIb7poJdubUqJL+yZdpagjZOnsC7Hbdfxl7mzOQBUl7e6rNX +C2rUEgip+edWaFrcMhRKdhBlKSy0ATI9u7IC4QUaS/puidUc4tEzsWCiywZ1NjtivgJFw2 77I4UN3LpxGAWKESeEaVg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:103858 Archived-At: Paul Eggert writes: > As the patch mentions, I'm puzzled about the syntax =E2=80=98(` PAT)=E2= =80=99 in the > docstring, since lread.c says that syntax is obsolete and =E2=80=98format= =E2=80=99 > quotes the grave accent. The attached patch causes C-h f to suggest > the syntax =E2=80=98(\` PAT)=E2=80=99 which is "safer" in some sense, I s= uppose. If > it's intended that pcase usage omit the backslash, then I guess that > =E2=80=98format=E2=80=99 and/or lread.c need to be updated accordingly. Thanks for working on that. Thinking again about this, maybe `PAT would be didactically better, in this special case of the pcase doc. People not being aware of backquote being a reader macro should not think (pcase '(1 2) ((\` (1 2)) t)) is the "correct" way to use this (instead of (pcase '(1 2) (`(1 2) t)) ). I know that the doc of pcase is generated automatically, and your (Paul's) patch makes this more consistent. OTOH, we write 'VAL and not (\' VAL) some lines above in the same documentation. Regards, Michael.