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: Sat, 12 May 2018 13:18:47 +0200 Message-ID: <871seh3yw8.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> <83zi1kqynx.fsf@gnu.org> Reply-To: 31311@debbugs.gnu.org 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 1526124067 6927 195.159.176.226 (12 May 2018 11:21:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 May 2018 11:21:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 31311@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 12 13:21:03 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 1fHSaF-0001ib-1t for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 May 2018 13:21:03 +0200 Original-Received: from localhost ([::1]:38313 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHScM-0003TD-2H for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 May 2018 07:23:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHScF-0003Ka-Ki for bug-gnu-emacs@gnu.org; Sat, 12 May 2018 07:23:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHScC-0001aC-Ez for bug-gnu-emacs@gnu.org; Sat, 12 May 2018 07:23:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHScC-0001a3-BF for bug-gnu-emacs@gnu.org; Sat, 12 May 2018 07:23:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fHScC-0001T2-0p for bug-gnu-emacs@gnu.org; Sat, 12 May 2018 07:23:04 -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: Sat, 12 May 2018 11:23: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.15261241595595 (code B ref 31311); Sat, 12 May 2018 11:23:02 +0000 Original-Received: (at 31311) by debbugs.gnu.org; 12 May 2018 11:22:39 +0000 Original-Received: from localhost ([127.0.0.1]:58984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fHSbm-0001SB-S4 for submit@debbugs.gnu.org; Sat, 12 May 2018 07:22:39 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:38330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fHSbl-0001S4-Nw for 31311@debbugs.gnu.org; Sat, 12 May 2018 07:22:37 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.82) (envelope-from ) id 1fHSbl-00087c-6V; Sat, 12 May 2018 07:22:37 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1fHSYM-0007pC-TZ; Sat, 12 May 2018 13:19:07 +0200 Mail-Followup-To: 31311@debbugs.gnu.org In-Reply-To: <83zi1kqynx.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Apr 2018 22:31:14 +0300") 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:146134 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Eli Zaretskii () Mon, 30 Apr 2018 22:31:14 +0300 Thanks! Trundling along, so far so good. I wish to call attention to (i.e., explicitly request input for) these two recent commits: * c6e9b975f add some Issue comments; nfc This first set of ponderables revolves around the precise semantics of the SYMBOL let-binding feature. * b93c07ef0 (docstring) add inline Issue re sub-patterns of structural pat= terns This is a writing question, mostly, i think. Additionally, related to SYMBOL binding, i see (in *scratch*): a. (pcase t ('t 'true)) =3D> true b. (pcase nil ('nil 'false)) =3D> false c. (pcase t (t 'true)) =3D> true d. (pcase nil (nil 'false)) |=3D ERROR: Unknown pattern =E2=80=98nil=E2= =80=99 and wonder if/how to approach this corner case in the docs. I suppose before anything, i'd like to confirm that c. and d. are correct and intended (i believe a. and b. to be correct and intended, but maybe i'm missing something there, too!). For anyone just joining, these commits are on the branch =E2=80=98fix/bug-31311-pcase-doc=E2=80=99 (off of =E2=80=98emacs-26=E2=80= =99). Feedback on anything there is most welcome! =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) iEYEARECAAYFAlr2zaMACgkQZwMiJEyAdQJarwCdG8o9N3A+Jy0iBhF7nRYKO5Z/ tbEAn2UqXRNOAsHFkEW9ZOIE0Dq935TC =wIsr -----END PGP SIGNATURE----- --=-=-=--