From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.bugs Subject: bug#31311: 27.0; doc of `pcase' Date: Tue, 01 May 2018 11:41:09 +0200 Message-ID: <87bmdz67d6.fsf@gnuvola.org> References: <83wowqrmp8.fsf@gnu.org> <87efixlv8g.fsf@web.de> <83muxlsvfm.fsf@gnu.org> <871sexlqvw.fsf@web.de> <83k1sps9n3.fsf@gnu.org> <87wowpndoo.fsf@gmail.com> <87fu3c6cm3.fsf@gnuvola.org> <874ljso9k3.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1525167493 22749 195.159.176.226 (1 May 2018 09:38:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 May 2018 09:38:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 31311@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 01 11:38:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDRjc-0005pE-IG for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 May 2018 11:38:08 +0200 Original-Received: from localhost ([::1]:41557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDRlh-0007Nj-Q1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 May 2018 05:40:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDRlW-0007N0-0g for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 05:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDRlS-0004B9-TR for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 05:40:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36802) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDRlS-0004Ax-PO for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 05:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fDRlS-0003b1-IW for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 05:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thien-Thi Nguyen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 May 2018 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31311 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31311-submit@debbugs.gnu.org id=B31311.152516756713755 (code B ref 31311); Tue, 01 May 2018 09:40:02 +0000 Original-Received: (at 31311) by debbugs.gnu.org; 1 May 2018 09:39:27 +0000 Original-Received: from localhost ([127.0.0.1]:44695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDRkt-0003Zn-Kp for submit@debbugs.gnu.org; Tue, 01 May 2018 05:39:27 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:48003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDRkr-0003Zf-Iz for 31311@debbugs.gnu.org; Tue, 01 May 2018 05:39:25 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.82) (envelope-from ) id 1fDRkr-0008RX-29; Tue, 01 May 2018 05:39:25 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1fDRmg-0003p9-KT; Tue, 01 May 2018 11:41:18 +0200 In-Reply-To: <874ljso9k3.fsf@web.de> (Michael Heerdegen's message of "Mon, 30 Apr 2018 20:04:12 +0200") X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ttn@gnuvola.org X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false 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" Xref: news.gmane.org gmane.emacs.bugs:145889 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Michael Heerdegen () Mon, 30 Apr 2018 20:04:12 +0200 Not all numbers are allowed; only integers - for example (pcase .9 (.9 t)) |-- Unknown pattern `0.9' [...] `pcase--self-quoting-p', it's intentional. Thanks. I've made the change. Doing so, i realized i've already foolishly goofed by branching off of =E2=80=98master=E2=80=99 inste= ad of =E2=80=98emacs-26=E2=80=99. So, apologies for the confusion to anyone who = might have already pulled =E2=80=98fix/bug-31311-pcase-doc=E2=80=99. I've deleted that branch and recreated it, this time from =E2=80=98emacs-26=E2=80=99. H= ere are the current list of commits: 46d58247f1 add blank line before each @item in @table 32eee97a74 rewrite @item @var{atom} f870e5e766 move UPattern and QPattern tables outside of @defmac pcase 702131a8b2 add blank line before each @item in @table 892995705f explode first =E2=80=98@def pcase=E2=80=99 para e8dd2a7724 s/number/integer/ per feedback from Michael Heerdegen <874ljso= 9k3.fsf@web.de> Note that commit 892995705f includes some stylized comments. I invite interested people to include discussion of those in this thread. =2D-=20 Thien-Thi Nguyen ----------------------------------------------- (defun responsep (query) (pcase (context query) (`(technical ,ml) (correctp ml)) ...)) 748E A0E8 1CB8 A748 9BFA =2D-------------------------------------- 6CE4 6703 2224 4C80 7502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlroNjcACgkQZwMiJEyAdQLSQwCfcBRyc35ZtWUcKHIQexabnavX z/YAn3NOcyagjYXm3fed6qDe2SwG1S4n =wgih -----END PGP SIGNATURE----- --=-=-=--