From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Question on pcase Date: Sat, 24 Oct 2015 10:36:58 -0700 (PDT) Message-ID: <3df447e9-65d7-4700-a332-f5ab1ba3ff5b@default> References: <871tcngdv2.fsf@gmail.com> <87k2qe1u09.fsf@web.de> <83r3kmrtat.fsf@gnu.org> <87r3kl22zk.fsf@web.de> <837fmdzpf2.fsf@gnu.org> <87oafp659p.fsf@web.de> <831tclzly9.fsf@gnu.org> <87fv115t20.fsf@web.de> <20151024090146.GA1849@acm.fritz.box> <4f8ca905-8222-48d5-b7a2-21c0ee40bfb5@default> <20151024172258.GA2731@acm.fritz.box> 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 1445708249 12529 80.91.229.3 (24 Oct 2015 17:37:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2015 17:37:29 +0000 (UTC) Cc: Michael Heerdegen , Eli Zaretskii , Oleh Krehel , Emacs Development To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 24 19:37:15 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Zq2kk-00048U-A7 for ged-emacs-devel@m.gmane.org; Sat, 24 Oct 2015 19:37:14 +0200 Original-Received: from localhost ([::1]:45118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq2kj-0000bY-HU for ged-emacs-devel@m.gmane.org; Sat, 24 Oct 2015 13:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq2kf-0000bP-MS for emacs-devel@gnu.org; Sat, 24 Oct 2015 13:37:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zq2ke-0001bP-O7 for emacs-devel@gnu.org; Sat, 24 Oct 2015 13:37:09 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:19231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zq2kZ-0001ai-RV; Sat, 24 Oct 2015 13:37:03 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t9OHb0JB027183 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 24 Oct 2015 17:37:01 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t9OHb0V5018973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 24 Oct 2015 17:37:00 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t9OHaxgq000486; Sat, 24 Oct 2015 17:37:00 GMT In-Reply-To: <20151024172258.GA2731@acm.fritz.box> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192563 Archived-At: > > (I did not look at the original, but a guess might be that > > someone reading Info should see PRED here (no quotes), not > > `pred'. >=20 > You're wrong here. :-) `pred' is an actual keyword in the > pcase mechanism. OK. I guessed wrong. > > Another guess, again without consulting the text, is that perhaps you > > don't need both "pattern" and "form": "pattern form".) >=20 > I think they're both meaningful - the "pattern" is a description of what > is being matched, and the "form" is the lisp form which achieves this > matching. I think. OK again. I was (mis)guessing that "form" just referred here to a piece of the pattern - a subpattern. > > And I too thank Michael for helping us (all) understand the > > obtuse creature that is `pcase'. It is comforting (and all > > too rare, it seems) to see such careful interest in helping > > Emacs document itself. Kudos - very helpful. >=20 > Very helpful indeed!