From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Garreau\, Alexandre" Newsgroups: gmane.emacs.devel Subject: Re: Replace trivial pcase occurrences in the Emacs sources Date: Fri, 26 Oct 2018 17:44:26 +0200 Message-ID: <87pnvwpvad.fsf@portable.galex-713.eu> References: <20151216202605.GA3752@acm.fritz.box> <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> <83tvlcsnee.fsf@gnu.org> <86mur137n8.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540568667 16616 195.159.176.226 (26 Oct 2018 15:44:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2018 15:44:27 +0000 (UTC) User-Agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 17:44:22 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 1gG4He-0004E7-2N for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 17:44:22 +0200 Original-Received: from localhost ([::1]:60720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Jk-0005Ju-8B for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 11:46:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4IC-0003lx-9N for emacs-devel@gnu.org; Fri, 26 Oct 2018 11:44:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG4Ht-0001bu-K1 for emacs-devel@gnu.org; Fri, 26 Oct 2018 11:44:38 -0400 Original-Received: from portable.galex-713.eu ([2a00:5884:8305::1]:57700) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gG4Ho-0001Yq-L6 for emacs-devel@gnu.org; Fri, 26 Oct 2018 11:44:33 -0400 Original-Received: from localhost ([::1] helo=portable.galex-713.eu) by portable.galex-713.eu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gG4Hi-00065g-BT; Fri, 26 Oct 2018 17:44:26 +0200 PGP-FINGERPRINT: E109 9988 4197 D7CB B0BC 5C23 8DEB 24BA 867D 3F7F Accept-Language: fr, en, eo, it, br In-Reply-To: (Stefan Monnier's message of "Fri, 26 Oct 2018 10:59:10 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:5884:8305::1 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:230710 Archived-At: On 2018-10-26 at 10:59, Stefan Monnier wrote: >> Pattern matching is a useful facility, but pcase is woefully hard to use >> correctly, as the existing (mis-)usage shows. Something that is >> significantly easier to read and comprehend is needed. > > I was just pointing out that it is easy to *experiment* with new > syntaxes (in order to find a new syntax so as to solve the current > problems). > > > Stefan "not convinced there's a solution to this problem, tho" I think liking current pcase or not, more or less than cl-case or cond, everybody would like to get pcase improved, anyway.