From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly Date: Wed, 21 Feb 2024 11:23:17 +0000 Message-ID: <87y1berrh6.fsf@localhost> References: <87a5p5l3jm.fsf@localhost> <9bc2bd05-5fdb-9d5a-3d98-c344c7275027@gmail.com> <87sf2xjezi.fsf@localhost> <871q98hiqa.fsf@localhost> <8734to8gov.fsf@localhost> <87o7cbz21n.fsf@localhost> <87jzmzyxlv.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jim Porter , 68509@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 21 16:26:10 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rcoU1-0001Qy-Uf for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Feb 2024 16:26:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcoPa-0005Ih-CG; Wed, 21 Feb 2024 10:21:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcoLe-0001hh-Uz for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 10:17:34 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rckeW-00042Z-5c for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 06:20:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rckes-0001rh-BN for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 06:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Feb 2024 11:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68509 X-GNU-PR-Package: emacs Original-Received: via spool by 68509-submit@debbugs.gnu.org id=B68509.17085144077080 (code B ref 68509); Wed, 21 Feb 2024 11:21:02 +0000 Original-Received: (at 68509) by debbugs.gnu.org; 21 Feb 2024 11:20:07 +0000 Original-Received: from localhost ([127.0.0.1]:47948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rckdy-0001q7-J3 for submit@debbugs.gnu.org; Wed, 21 Feb 2024 06:20:07 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:46533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rckdv-0001pV-Lx for 68509@debbugs.gnu.org; Wed, 21 Feb 2024 06:20:05 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BF93C240101 for <68509@debbugs.gnu.org>; Wed, 21 Feb 2024 12:19:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708514375; bh=klRRHEAd9dlNa9Vql8Se347BFZtrNHNAAQn8E8Y2pMU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=AxLGldjx4ZHCZMYogv5xKu2qP0gFhGOEsHEhhHUy6aAAowga46y+lxsn0nGTlzsZa THQAkoS+TQ65NgtwjfI1g03n8peyv4R1wlvG2Ru+Ipxm5jWe4ycU2yGe/fZIDtNLoa mG6BTDEwY4/Dw54Uu1CXKC8LQT2kh9Q3nKFgcIDh5vLXJZI8zc3qIa/Afw+oGBsaVR Ah8yDMuync1EzmUPbQOBCqEjBqlSqWun9GjnJZmaHhhli7wFUVsEMuAGfUmiN6yjxf zFer2VAKiraPifPqgp6A+F1JGnMhoIEhD4TsyiqERrUN/Yay0XJuuWekszf3E/Yq9y VSbXcg9UayCkw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tfv1f5GlKz9rxP; Wed, 21 Feb 2024 12:19:34 +0100 (CET) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280381 Archived-At: Stefan Monnier writes: >>> In the current use of those primitives, it's routine/normal/common for >>> a pattern like `(,a ,b) to encounter lists of different length than 2, >>> so a warning should be emitted only if specifically requested via an >>> option/keyword. >> But isn't it undocumented? > > AFAIK the "best" documentation we have for that is the one in > `pcase-let`, which is indeed unsatisfactory. May you then describe in more details what is the intended behavior when PATTERN does not match VALUE in destructuring? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at