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: Re: Replace trivial pcase occurrences in the Emacs sources Date: Tue, 23 Oct 2018 17:24:42 +0200 Message-ID: <87zhv43cud.fsf@web.de> References: <20151216202605.GA3752@acm.fritz.box> <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> <87h8hc4xw2.fsf_-_@web.de> <87bm7k4t5s.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540310760 15774 195.159.176.226 (23 Oct 2018 16:06:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2018 16:06:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel , Emacs developers To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 18:05:55 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 1gEzBo-0003uU-A8 for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2018 18:05:52 +0200 Original-Received: from localhost ([::1]:42997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEzDu-0003ia-Jw for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2018 12:08:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEyhn-0006ks-2X for emacs-devel@gnu.org; Tue, 23 Oct 2018 11:34:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEyY3-0002Aq-Kg for emacs-devel@gnu.org; Tue, 23 Oct 2018 11:24:51 -0400 Original-Received: from mout.web.de ([212.227.17.12]:36965) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEyY3-00029b-BK for emacs-devel@gnu.org; Tue, 23 Oct 2018 11:24:47 -0400 Original-Received: from drachen.dragon ([94.218.210.177]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MNtTz-1gGKFk3XRb-007YPD; Tue, 23 Oct 2018 17:24:43 +0200 Original-Received: from drachen.dragon ([94.218.210.177]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MNtTz-1gGKFk3XRb-007YPD; Tue, 23 Oct 2018 17:24:43 +0200 In-Reply-To: (Noam Postavsky's message of "Tue, 23 Oct 2018 11:07:10 -0400") X-Provags-ID: V03:K1:vH7PfoCj4Fp1DYackM8+QPDmmZYUF8bzKhKb5LN/phq1sUKVJv3 lE+oewxjW75yY0jS76VsdIxw7cPKy4NOUsiKYtKbagPYTSnMhoUGpd92gD6Y54/Y3k4pikC ZxcVvdiFhoZSGdHAS/dyyE/wKH8mD2Gp1hCgt+tPESdqMnmdpLr23Ot3V587bbtN0PNzFwl Zz3TVjpVCYVVqR3f6Cvsg== X-UI-Out-Filterresults: notjunk:1;V01:K0:/EsmAVNa7FE=:R7Gl/fgtBVToJdk4MOJoG8 0nO24w9lETdgj7LkfJmFNVD+2vSK/28Po74Cr/nZ7pEgKdA5IhNtDwz6xMSjWS3SFQmAnqkd9 kpLzuw3UXq7LnDDbFjdJ2KVm9VYKzXSzcFyiBqa0lM+RyBzuT2Epb1y1+RIF7Nt3ima+yhlDm 7AxqH4Hi4eUe+Y2Ct1DutX0lBy34rL7TSq1/bXzx44XUzsBWEkYvNbKja1DcNmbfxS/LvfgB+ MMd04obQ5FkjrdgYiwe9nk1ChrqPi+mXo0qI7IUevV4rdbx+ppMvZFTm74x5kOryJXQSVPMnR lQvrvKuCOgRuvRLRYcnFhu6N2J3kuxDcyXxnnO1IarSDJY8A+zBWruupCUCa3JMmIjLuw1NRl 79h4fDW0+wQkTXSq87enAGx1LikYY863t8zhDtcVKJ5kRWgvqVOl7Hj89X5t+a4AZ8xj0spaD 9N4uwvUz7pE4n4h7PvzJ+assuI/NTwFsA3+T5Oi+UqszczY4WmHqb75T0hXH+anyKLJ3OOAPS UWnnsfgLteB7IqmtWFA6PfPnlUF8+KRtQzqQYKki/aLOGO7k+3CP4mZjrHtr3uuk1qgvtRY6u DN4bJkw1b6/5LuUDRV8uc+c5tk+lLV4cyIb4LrvnLmZ2mp0e1tRNch+JnlFT6MtTInu9RFj9D 4geqQLVRVsps9hmRKACr/Ok8ysBOjjBUlyrWhmql2ODJL85OCXUROH5XZN0qAkohhQW+yXSmu BxuCjWbuQH8sX4WbsEbFdl5u7P/vADSc8zJ/fjqD2yjw1Zd+XRy1oIKMVhLR6Z4UN3IHPbqM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.12 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:230593 Archived-At: Noam Postavsky writes: > There are some files in Emacs master branch that are also distributed > in GNU ELPA for older Emacs, e.g., python.el (I don't know if it has > any pcase instances that you might want to replace, it's just the > first example that came to mind). Ok, I guess I can just leave out these for now. > Another thing to watch out for is that pcase is available earlier than > cl-case in the bootstrap sequence. What does that mean in concrete - should I leave out even more files - which are these? I don't think that replacing such pcase expressions with something different instead - e.g. an equivalent `cond' - would be a real improvement. Michael.