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#13678: 24.2.93; pcase: mention list-like QPatterns in the doc Date: Mon, 11 Feb 2013 14:37:48 +0100 Message-ID: <87fw13dl8z.fsf@web.de> References: <87d2w8xdn6.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360589807 16836 80.91.229.3 (11 Feb 2013 13:36:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 13:36:47 +0000 (UTC) To: 13678@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 14:37:09 2013 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 1U4tZB-0005yt-Vd for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 14:37:06 +0100 Original-Received: from localhost ([::1]:59729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4tYs-00009N-MP for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 08:36:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4tYq-00009F-DC for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 08:36:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4tYp-0008Ak-47 for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 08:36:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4tYp-0008Af-0Q for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 08:36:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U4tZ8-0007iF-9P for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 08:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Feb 2013 13:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13678 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136058980729617 (code B ref -1); Mon, 11 Feb 2013 13:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Feb 2013 13:36:47 +0000 Original-Received: from localhost ([127.0.0.1]:50170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4tYq-0007hY-6T for submit@debbugs.gnu.org; Mon, 11 Feb 2013 08:36:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49459) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U4tYk-0007hL-Ro for submit@debbugs.gnu.org; Mon, 11 Feb 2013 08:36:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4tYL-00084Z-Ll for submit@debbugs.gnu.org; Mon, 11 Feb 2013 08:36:18 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:41061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4tYL-00084T-Ic for submit@debbugs.gnu.org; Mon, 11 Feb 2013 08:36:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4tYK-00006z-IN for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 08:36:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4tYI-00083u-VA for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 08:36:12 -0500 Original-Received: from mout.web.de ([212.227.17.11]:51172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4tYI-00083e-MP for bug-gnu-emacs@gnu.org; Mon, 11 Feb 2013 08:36:10 -0500 Original-Received: from drachen.dragon ([92.74.177.220]) by smtp.web.de (mrweb102) with ESMTPA (Nemesis) id 0MGRZc-1U9F9M35g8-00Dk7k; Mon, 11 Feb 2013 14:36:09 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 10 Feb 2013 20:43:57 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.93 (gnu/linux) X-Provags-ID: V02:K0:JsCY2vrHsumVpVElvc6q5PHy5WUbiP+d3tWcuvuEV/b 3pLK/1zJOMrI0uFnOlRI+c17PPJ+6mgAZrFcxU8mnXqfYdc1Nn FHrlY3h9Hf5IMA5hmU7Wyg+trOP6CmxNLZig8qZ+0yrvH+FUj9 Dw/Q4E6Yl+fKwIx41jjd1yjrFZOPIGYeU/2bSNJpJH4GaKG0S/ A81Go7rTlTYMU9uFPKw2UdrB7BNQ/qrEJv+pAaCLGQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:71053 Archived-At: Hi Stefan, > > Sure, `(QPAT1 . QPAT2)' also matches lists - but `(QPAT1 . QPAT2)' and > > `(QPat1 ...QPatn)' are different forms (expressions) > > Actually, no, they are identical: > > (QPAT1 QPAT2 QPAT3) is indistinguishable from > (QPAT1 . (QPAT2 . (QPAT3 . nil))) > > the equivalence between the two is imposed by the reader, long before we > know that these things will be "patterns in a pcase" rather than > expressions, or data in a quoted thingy, ... Simply right, thanks. I wonder, however, if that's clear for every user. Nonetheless, there are enough examples in (elisp) Pattern matching case statement that use the (QPAT1 QPAT2 QPAT3) syntax. So, I'll close this, thanks. Regards, Michael.