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 15:41:30 +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> 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 1540993933 12027 195.159.176.226 (31 Oct 2018 13:52:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2018 13:52:13 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0 To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 14:52:09 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 1gHquj-0002uM-1L for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 14:52:05 +0100 Original-Received: from localhost ([::1]:59662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHqwp-0004RL-I9 for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 09:54:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHqkz-0001iU-Hx for emacs-devel@gnu.org; Wed, 31 Oct 2018 09:42:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHqkw-0004O0-Bl for emacs-devel@gnu.org; Wed, 31 Oct 2018 09:42:01 -0400 Original-Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:38732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHqku-0004Df-16 for emacs-devel@gnu.org; Wed, 31 Oct 2018 09:41:56 -0400 Original-Received: by mail-ed1-x52e.google.com with SMTP id c1-v6so13648835ede.5 for ; Wed, 31 Oct 2018 06:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YvL3hKwiHb6Q7ilbMgzwnRA6APuYn377EkfdIx8WSAI=; b=Y+/l3fg3FhCCJwp8BHUOJj2e4e8imqkQiPGWD7zvhQOFlXpItIAEFdCiUci+4dx700 ZWDeQEjeZJ8DEQ17EGQs7+gOqgIUzIR5ZvWnvvUanLkgfyEiFw2tzd0ZxqvbGBZZj5QB C7baemjQ3sGnlXex9j9euxuBak0zD+FI/ty6pvVznYw9UvuwwasG67D2wMqY3faAywFC VbaDSjLSV45NwfVOl9efRR3tKUrtavEv0MdlKl3R2k8hDCqn6RZUzyti0ch9GtvWWjxI QtB3dS8ixWKaouPfZITAGFQWVPi9EhvoZ2aaankDZnR0dUTckhM4aOUVbFhkYAZUV147 t9qQ== 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:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YvL3hKwiHb6Q7ilbMgzwnRA6APuYn377EkfdIx8WSAI=; b=s/3xQ+uh8gf0qWL7kQJpCXxuD/ZOfTdnNEjUxRVRI5JdsP5Np/qGExKl3FuIq6q50i nux4ym1BQLJU5Z2kHbT0/AYQV5rstrup2fLY8p6uwoaFHTD7nRZDYR7ebKM8LhM+Anm4 qY1A3WF2Z6DYFE8p9PLK56hOOQmWGj/Gqf+YIn6MSl0rkzHcVl4O7Uz8GOkzFdoouHvT ACRCi9SqQ9O/1PUTFvggJfKVkqcxipHLME9WQWEeEMw5+vP9hzQI4VMFBkEsmu/RG1i8 dc0qUIt9Osan2SGXxuVg1zfBlzSDuc1u1EZJd+xuzBAZPPcCpR64WdE4Qu0BaZP37POJ zWlQ== X-Gm-Message-State: AGRZ1gJw+by4AB4visDY+LUyZtTbDg4NOgjJR+mYtkVYNp+gjJ7/CtWf /vxwphUQHsatG/NlEt6cUeCXfC3b X-Google-Smtp-Source: AJdET5c0e1R2ZHtBS1JUVRrY4KWiDi/D5ffG7wNwma/nAz7SLvFAC9KPCokvYiIqpCGGh877ViTo2w== X-Received: by 2002:a17:906:e287:: with SMTP id gg7-v6mr1633665ejb.128.1540993294246; Wed, 31 Oct 2018 06:41:34 -0700 (PDT) Original-Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id r31-v6sm752030edd.59.2018.10.31.06.41.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 06:41:32 -0700 (PDT) In-Reply-To: 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::52e 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:230874 Archived-At: On 30.10.2018 22:46, Stefan Monnier 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. But don't mind me, I don't have any alternative proposals anyway.