From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Replace trivial pcase occurrences in the Emacs sources Date: Tue, 23 Oct 2018 10:57:15 -0400 Message-ID: <7b34ab0d-27a8-322b-fb1e-b213c2b9a936@gmail.com> References: <20151216202605.GA3752@acm.fritz.box> <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> <87h8hc4xw2.fsf_-_@web.de> <87bm7k4t5s.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1540306529 31477 195.159.176.226 (23 Oct 2018 14:55:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2018 14:55:29 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 16:55:24 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 1gEy5c-00086E-Aj for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2018 16:55:24 +0200 Original-Received: from localhost ([::1]:42461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEy7i-0000eK-LB for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2018 10:57:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEy7c-0000eE-C2 for emacs-devel@gnu.org; Tue, 23 Oct 2018 10:57:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEy7a-0007Dh-2I for emacs-devel@gnu.org; Tue, 23 Oct 2018 10:57:27 -0400 Original-Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:41006) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEy7X-00075L-3H for emacs-devel@gnu.org; Tue, 23 Oct 2018 10:57:24 -0400 Original-Received: by mail-qt1-x82c.google.com with SMTP id l41-v6so1797132qtl.8 for ; Tue, 23 Oct 2018 07:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=eV3sgWPSbzw6X7ji1yV0Px4AEZiZrVAzzubmhqHpZqU=; b=KRy6dZlUB3H36e4uvjtFqYoBDC3goLcNSMn+OZRs04KwC7GFegA54aLUpfUNKCmJOf lIQFI2uX5FPQX6oCX8leZYcLA33p229xGwi2nXjhRi1UO4JBYzWyjSSZOD9zsYYYsRof t9qSCRc37VuEYu6o0XrDhgnBGGGvONELlKNcgh8vHR2Li0it8aJhSa/PRhy0qkM8PumO makHiFVESx2M0VnC9UJDwpb0gVoQVCV+yCmn5tXrK8c3LyfZ/rwGUrze7KF1UH3gsQa5 iD/OC1bECIrbzS9eeyjXoXboo/zf7jlu9W55D1J/pcF/VVx/11ThC0QhTFqtiNL2sw3j rIyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=eV3sgWPSbzw6X7ji1yV0Px4AEZiZrVAzzubmhqHpZqU=; b=GxNzmqbMewKioogXSirJh6vm/mf/da7csiBYtl2ooBeqZVVSjq0DXxKDziJtn9oiMF xwyPK/WVb85tUXSSkiRf4eI7TPy+/CxqLeq5eo13/3V4+Tt9ja8ipbee8D+RX1HbycA9 SjdOeFvPT4/nBxBhaCMtoCiO80s96WN2mtj/a5jpHFLO3H14gL6/1ptDjrEd77WgidOk FQImQHvuxtUvfM/E8kq5NN5SIYsTzidGgX1cxWub4SWD9vvfqXO4AULdxvaH0adPJ2r3 gwFLP7VRcVJ9/lZskODW+G5vZ1j8dp6ZnuB9ciRMpc6DZDa7cBHOcuVWVl6+SmyPbiXT mFRA== X-Gm-Message-State: ABuFfoiNjI75jwE/5ANex/uqQy7xAYne/qY/wpsbQu0XfPrvCmisuHM1 KNZakNSroSM54UbljcAZfouehr6z X-Google-Smtp-Source: ACcGV63Cq0awZtT2fo5ntTgVUYsi5RgoZn6yyYWCFwFhZkgkf7oS4zvmr3Dl3fZug9/vIZ9RPc0J4w== X-Received: by 2002:ac8:6616:: with SMTP id c22-v6mr46446619qtp.199.1540306638564; Tue, 23 Oct 2018 07:57:18 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:2db8:c058:834:46a4? ([2601:184:4180:66e7:2db8:c058:834:46a4]) by smtp.gmail.com with ESMTPSA id m61-v6sm951403qte.30.2018.10.23.07.57.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 07:57:18 -0700 (PDT) In-Reply-To: <87bm7k4t5s.fsf@web.de> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82c 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:230586 Archived-At: On 23/10/2018 10.46, Michael Heerdegen wrote: > Clément Pit-Claudel writes: > >> On 23/10/2018 09.04, Michael Heerdegen wrote: >>> In a second step, I also would want to replace the unnecessarily >>> backquoted patterns to use quotes >> >> IIRC, one issue with that is that the quoted form doesn't work in some >> old-but-still-popular Emacsen. > > I'm not sure I understand. I plan to do that only in the Emacs sources > (in master). How can that be problematic for older Emacsen? The first pcase I wrote was adapted from an example in the sources that used quotes; that code broke when a user tried it on an older Emacsen. It's not a huge issue, of course. Clément.