From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Replace trivial pcase occurrences in the Emacs sources (was: The poor state of documentation of pcase like things.) Date: Tue, 23 Oct 2018 15:04:45 +0200 Message-ID: <87h8hc4xw2.fsf_-_@web.de> References: <20151216202605.GA3752@acm.fritz.box> <87bn95m9eg.fsf@fencepost.gnu.org> <5686CDFB.2010105@dancol.org> <83fuygcs5g.fsf@gnu.org> <56886E32.70305@yandex.ru> <83si2f9ve4.fsf@gnu.org> <56889EC3.3040108@yandex.ru> <877fjrkpdf.fsf@fencepost.gnu.org> <56892334.4000106@yandex.ru> <8760zakb7q.fsf@fencepost.gnu.org> <56892BDA.6060103@dancol.org> <871t9yk98g.fsf@fencepost.gnu.org> <568936F0.3060505@yandex.ru> <87wprqitj5.fsf@fencepost.gnu.org> <56893C8C.3060200@yandex.ru> <87oad2irtd.fsf@fencepost.gnu.org> <5689456A.1010601@yandex.ru> <87egdy8tyz.fsf@fencepost.gnu.org> <56895FDE.4060406@yandex.ru> <8760za8r4a.fsf@fencepost.gnu.org> <87h9iunkcg.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540299887 27787 195.159.176.226 (23 Oct 2018 13:04:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2018 13:04:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 15:04:43 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 1gEwMU-00075Z-5K for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2018 15:04:42 +0200 Original-Received: from localhost ([::1]:41201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEwOa-00023Y-CJ for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2018 09:06:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEwN4-0001vS-DV for emacs-devel@gnu.org; Tue, 23 Oct 2018 09:05:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEwMs-00040P-UV for emacs-devel@gnu.org; Tue, 23 Oct 2018 09:05:16 -0400 Original-Received: from mout.web.de ([212.227.15.4]:48583) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEwMi-0003oD-MA; Tue, 23 Oct 2018 09:04:56 -0400 Original-Received: from drachen.dragon ([94.218.210.177]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MTyEL-1g5yBS0RCD-00QhJA; Tue, 23 Oct 2018 15:04:47 +0200 Original-Received: from drachen.dragon ([94.218.210.177]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MTyEL-1g5yBS0RCD-00QhJA; Tue, 23 Oct 2018 15:04:47 +0200 In-Reply-To: <87h9iunkcg.fsf@web.de> (Michael Heerdegen's message of "Mon, 04 Jan 2016 03:34:39 +0100") X-Provags-ID: V03:K1:s+u+shMNgwBvOUxtpu5jHQB65LghYKVenQfdSQ2WNU+NHF0l8Cc ghDSpgNZPvR8wzQTlLE3cX9UU9dncLAzBpyEsZ4edPhO5yPdRuXkxTK3mvVkeJp2ZlyoCEU gjb7io2hBvPbb153Q0y8EfFENVYJV5gReuSCxBTlwusESyHDzwuH0dKsrxa2BeACrCuIoZD xS++6O0yqeqBZiVGQoblw== X-UI-Out-Filterresults: notjunk:1;V01:K0:xffYbjCSs+Y=:a+TxSvHBmO1y5QxjdXRsBL 3ouU0CG71W4E+xDm6HLQxsj2amc7WpDSWwMd8iHghPXzudn0jNesfdITMn9eND7vAIG6Jp9MT Cnk9cqpNevBQRKCPi+xqECHMbusGKafpVS41jqQTxObWkHrUwAankQJHRWyZdPX80qSn9cQjz h0sI7MI9Ib6VorSiQHmu13mV2fSW083OLr3Ny9O+42LcWWqT/vTL3697vOWeaqTRJ2UHbglFE hW9epx/Dne7k+6ipDEyYKXF8qiTbMcxAXr2ZoGPcyqV06S1a6oB7bOPwp32ZnEe1NotpM0DF0 PG2gT6om7VnycQo9wn3RvJBnO+wFOzznBprsPp1QUWGioBaAzDB9hyPjdab/It3SLOTLGKJuX PfqpdUkGcZlm7dS2fp5Wfzum0nAmfhRQmwuHTVHtwwuIF1P0VBlqCIO7JQru6EcMVE4Q8NRLi bDrJ7X9+SSOn2L1hNIr2sxi/wU8wHXfR3TIa5vqrq68ejkrEdTSWwbisOhBqnm27z/EsbM0dE ND9WjjFs2WHIjvHeGJcd2AK+OLNWisGaF05TrJ7iSD1706/MOMleYCXl5P6ZXb3ORZ5XLugGi 4jTt/2GZHUXy+PQMUXddgxYsFByDbKOCASI1LcSq67G9BlmOx/I3dVBn/5VvEp9DoTtICeNrf 9qR3zv2lZye+NQigsHGeJYlKGBN+KhrI+dZmrV3a0gD0cIPR0EYxQfq2MqvEYaenLG0EukRAP 5plJ+LJKR5BWuX6DhCqYf3Ax07PUuCQffRIOhvpXNBzgKkVqpVgOpR6QLWqaEoEEuF4zt03j X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.4 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:230580 Archived-At: Hello, > [pcase] - Occurrences in the sources must be revised. Some time (two years) ago I volunteered to replace lots of the `pcase' occurrences in the Emacs sources (back) to cl-case where possible. Lots of people wanted this because they found understanding pcase expressions hard. I would like to do that now. Stefan, can you live with that (AFAIR you didn't participate in the discussion at that time)? Or has the mood of people changed in the meantime due to the improved documentation of `pcase'? In a second step, I also would want to replace the unnecessarily backquoted patterns to use quotes, i.e. `DOESNT-UNQUOTE -> 'DOESNT-UNQUOTE (the `ATOM patterns go back to a time where the quoted syntax wasn't yet implemented). A question: when I compose the commit message, I can write something like "Change all affected callers in all files" instead of listing all individual changed functions separately, right? Thanks, Michael.