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.devel Subject: Re: [Emacs-diffs] fix/bug-3133-pcase-doc 1181796 01/13: do =?utf-8?Q?=E2=80=98s=2FUPattern=2FU-pattern=2Fg=E2=80=99=2C_=E2=80=98s=2F?= =?utf-8?Q?QPattern=2FQ-pattern=2Fg=E2=80=99?= Date: Wed, 16 May 2018 21:17:51 +0200 Message-ID: <87in7n5s0w.fsf@gnuvola.org> References: <20180511165048.32157.10695@vcs0.savannah.gnu.org> <20180511165051.022C820545@vcs0.savannah.gnu.org> <874ljb78k6.fsf@gnuvola.org> <87k1s5c4gp.fsf@web.de> Reply-To: emacs-devel@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 1526642517 9823 195.159.176.226 (18 May 2018 11:21:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 May 2018 11:21:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 18 13:21:53 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fJdSK-0002S0-L7 for ged-emacs-devel@m.gmane.org; Fri, 18 May 2018 13:21:52 +0200 Original-Received: from localhost ([::1]:38112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJdUR-0006fY-Oo for ged-emacs-devel@m.gmane.org; Fri, 18 May 2018 07:24:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJdTq-0006fG-Pr for emacs-devel@gnu.org; Fri, 18 May 2018 07:23:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJdTl-000543-VG for emacs-devel@gnu.org; Fri, 18 May 2018 07:23:26 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:32861) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJdTl-00052q-QK for emacs-devel@gnu.org; Fri, 18 May 2018 07:23:21 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.82) (envelope-from ) id 1fJdTh-0001eR-Jg; Fri, 18 May 2018 07:23:17 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1fJ1w5-0003cr-Rl; Wed, 16 May 2018 21:18:05 +0200 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Tue, 15 May 2018 14:29:33 -0400") 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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 67.59.132.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:225397 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Stefan Monnier () Tue, 15 May 2018 14:29:33 -0400 > Now that the result of `pcase--make-docstring' grows longer > and longer, maybe the naive `mapatoms' is not so nice > anyway, it could need some better order/ some structure. Agreed. Please see commit 4cf4faa888. Works for me (light testing). I retained =E2=80=98mapatoms=E2=80=99, but split the processing into two ph= ases, separated by a "yank backquote to head". What could be better than =E2=80=98mapatoms=E2=80=99, i wonder? =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) iEYEARECAAYFAlr8g+YACgkQZwMiJEyAdQIA0QCgj6u7Tcfo4yTP8WtIlIHXii4S J0wAnjcVYdXndsoLCgW3AUzA9G/A5m54 =sOmB -----END PGP SIGNATURE----- --=-=-=--