From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Replace trivial pcase occurrences in the Emacs sources Date: Wed, 31 Oct 2018 18:05:44 +0200 Message-ID: References: <83tvlcsnee.fsf@gnu.org> <86mur137n8.fsf@gmail.com> <20181029130132.GB4195@ACM> <20181029134722.GC4195@ACM> <87lg6gifnb.fsf@web.de> <87muqwxs7m.fsf@ericabrahamsen.net> <83h8h3jlyd.fsf@gnu.org> <8b897e43-679b-d38c-e185-0efe19c09342@yandex.ru> <83y3aei08p.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1541001970 4866 195.159.176.226 (31 Oct 2018 16:06:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2018 16:06:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 17:06:06 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 1gHt0P-0001Ap-Fe for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 17:06:05 +0100 Original-Received: from localhost ([::1]:60457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHt2V-0005Ti-SO for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 12:08:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHt0H-0004iP-SY for emacs-devel@gnu.org; Wed, 31 Oct 2018 12:06:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHt0C-0007Lx-UP for emacs-devel@gnu.org; Wed, 31 Oct 2018 12:05:57 -0400 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:43104) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHt09-0007Jm-O3; Wed, 31 Oct 2018 12:05:51 -0400 Original-Received: by mail-ed1-x52d.google.com with SMTP id y20-v6so14089180eds.10; Wed, 31 Oct 2018 09:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Q1DbdVHon5hdqXKi4qHNXL/+4fim8c3o3V/l6nRrbjc=; b=OUY+67HVehusEIJkWkGKQseEvQAGYJMf+Lew9H83IDXldgdK6Rsl6qqnBEZk2gkBxZ OQY/h9c+PbzGXxYLL3LYDh2iv8oUs1VzKw9ACRAF6yzwDZUUsikrrTbtnXvcBThFf6bs FyzG1lOsndSJNMi8FnexCR+wG6+1DtCYyykJYAYe79UPUqqO3MvpNVlB0EXq9k4ko2XH lNdMB7ajQfFIzwiqC1TAwG6SjtxBWC5DHLJfYz32h7M6AdTyMiKcGhC5nB6sh3B1l9X/ VzXUbjePMnGdEzVuIPsdLgU7u2SdD6TUfF4Ek+zOH2cOhLtAYKJYaZFy7Argw/RZVSA/ AeUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Q1DbdVHon5hdqXKi4qHNXL/+4fim8c3o3V/l6nRrbjc=; b=tPe/k/pWHsfaO7o1Bl1TEsufv0lOMkdqcnpOJP/vz7Q1jE6qZh62kFAODFaXHyoGE6 0zL0Y8pWZfreZaXjxJrd8DerdpNeX9BPHa/dcHXECXAiZu0bgSFbWHw0H6u/m1yTE+Tc +qj9jp8r7pOxWK4B65bSsUNEVXQvxtDA44Rh39WETa+JruONfwDypb4agrKuFcDjNNmn iW6LiKuln/kpzdH0Krxo2a1WUH2K1wzxsTmYRc020hUuqEEG5Ps2phu7YHdQLCx4/5Nk xijcKgd0QyElXwpX1gmWzVHoi1f7Hn5k1iPsmGWQHifa/lwxrKfAbxnyH3IPNchjgM+e 7Ecw== X-Gm-Message-State: AGRZ1gJ6buMG2DNTcruBg9nKOcNtRJu/dvv+BIfQLDeXcarYXNZER+Rz kXNF4rTjKiw1gAmQs/ItcI0WZt8A X-Google-Smtp-Source: AJdET5cU/gdi+OSozjZjDwLMAWec36NukehAEyt0m1zyh/+RwdW+aUIwWrbujmRfxS76BpYG/DQTOg== X-Received: by 2002:a50:f0dc:: with SMTP id a28-v6mr2627043edm.78.1541001946921; Wed, 31 Oct 2018 09:05:46 -0700 (PDT) Original-Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id c11-v6sm4837152ejr.6.2018.10.31.09.05.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 09:05:45 -0700 (PDT) In-Reply-To: <83y3aei08p.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::52d 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:230880 Archived-At: On 31.10.2018 17:50, Eli Zaretskii wrote: >>>>> Couldn't we also say that a pattern with "holes" is a destructuring pattern, >>>>> not matter if it is used in pcase-let, or just pcase? >>>> We could, but the reason why I'm trying to define a new term (which >>>> I called here "destructuring pattern") is to define what happens with >>>> pcase-let, pcase-dolist, pcase-let* where the pattern is assumed >>>> to match. >>> I only meant to say that introducing a term that somebody fairly familiar >>> with the subject might misinterpret without reading its definition in the >>> manual, could be suboptimal. >> >> Agreed. >> >>> But don't mind me, I don't have any alternative proposals anyway. >> >> Neither do I, > > Can someone enlighten me regarding those "holes"? What does that > allude to? I stole the term from Clement here: http://lists.gnu.org/archive/html/emacs-devel/2018-10/msg00590.html