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: Sun, 20 May 2018 20:59:58 +0200 Message-ID: <878t8e2lw1.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> <871seh3yw8.fsf@gnuvola.org> <877eo9kmid.fsf@web.de> <87y3gl574j.fsf@gnuvola.org> <87po1xc5lb.fsf@web.de> <87muwz6ftl.fsf@gnuvola.org> <874lj7r5mx.fsf@web.de> 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 1527053292 7349 195.159.176.226 (23 May 2018 05:28:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 May 2018 05:28:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Michael Heerdegen To: 31311@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 23 07:28: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 1fLMJk-0001li-Dx for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 May 2018 07:28:08 +0200 Original-Received: from localhost ([::1]:59305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLMLp-00072V-JJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 May 2018 01:30:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLMLg-00071i-7b for bug-gnu-emacs@gnu.org; Wed, 23 May 2018 01:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLMLb-00046g-By for bug-gnu-emacs@gnu.org; Wed, 23 May 2018 01:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLMLb-00046O-7f for bug-gnu-emacs@gnu.org; Wed, 23 May 2018 01:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fLMLa-0001Wz-Ti for bug-gnu-emacs@gnu.org; Wed, 23 May 2018 01:30: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: Wed, 23 May 2018 05:30: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.15270533635804 (code B ref 31311); Wed, 23 May 2018 05:30:02 +0000 Original-Received: (at 31311) by debbugs.gnu.org; 23 May 2018 05:29:23 +0000 Original-Received: from localhost ([127.0.0.1]:44657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLMKv-0001VV-5I for submit@debbugs.gnu.org; Wed, 23 May 2018 01:29:23 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:41917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLMKt-0001VI-UI for 31311@debbugs.gnu.org; Wed, 23 May 2018 01:29:20 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.82) (envelope-from ) id 1fLMKs-00017y-P0; Wed, 23 May 2018 01:29:18 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1fKTYu-0004EA-Ej; Sun, 20 May 2018 21:00:08 +0200 Mail-Followup-To: 31311@debbugs.gnu.org In-Reply-To: <874lj7r5mx.fsf@web.de> (Michael Heerdegen's message of "Wed, 16 May 2018 17:18:14 +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:146413 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Michael Heerdegen () Wed, 16 May 2018 17:18:14 +0200 Personally I would prefer to have KEYWORD, INTEGER and STRING in one line, like KEYWORD, INTEGER, STRING shorthand for \\=3D'KEYWORD, \\=3D'INTEGER, and \\=3D'STRING so that we have as least different cases as possible in the item list. Yeah, that does seem a bit more pleasant. To achieve that, however, we would need to use =E2=80=98@table @asis=E2=80=99 and then manua= lly add @code around everything, so that the commas are not included in @code. Hmmm, energy seeping away... It's ok for me. I'll have a look at the complete change when the details are done. As of commit 7c68d9f8c7, "the details are done", but for: > commit 5b775cf3fc there is an Issue. WDYT? Yes, the code seems a bit half-baked. I don't recall why these cases are so problematic that they are handled this way. I think Stefan will know. and the other remaining Issue (commit 455f990ce), excerpt here: +@c Issue: Should this be split off into its own node/subsection? +@subheading Backquote-Style Patterns +@cindex backquote-style patterns IMHO, =E2=80=98pcase=E2=80=99 is so complex (compared to most other Emacs L= isp control structures), it deserves to be promoted to @=E2=80=98section=E2=80= =99, between =E2=80=98Conditionals=E2=80=99 and =E2=80=98Constructs for Combinin= g Conditions=E2=80=99. What do people think? =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) iEYEARECAAYFAlsBxbIACgkQZwMiJEyAdQIKmwCfZOhcry2t05vJjdG4r2D+erMS BX0An089M7PY++NiQQBbpD3njQCNLS/e =9QEF -----END PGP SIGNATURE----- --=-=-=--