From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly Date: Mon, 19 Feb 2024 14:59:09 +0200 Message-ID: <86sf1opq3m.fsf@gnu.org> References: <87a5p5l3jm.fsf@localhost> <9bc2bd05-5fdb-9d5a-3d98-c344c7275027@gmail.com> <87sf2xjezi.fsf@localhost> <871q98hiqa.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39096"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, 68509@debbugs.gnu.org To: Ihor Radchenko , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 19 13:59:55 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 1rc3FS-0009zC-NV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Feb 2024 13:59:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rc3FH-0003VP-Go; Mon, 19 Feb 2024 07:59:43 -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 1rc3FF-0003Uz-Vh for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 07:59:42 -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 1rc3FF-0000yi-M3 for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 07:59:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rc3Fa-0004mC-Lx for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2024 08:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Feb 2024 13:00: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.170834758718303 (code B ref 68509); Mon, 19 Feb 2024 13:00:02 +0000 Original-Received: (at 68509) by debbugs.gnu.org; 19 Feb 2024 12:59:47 +0000 Original-Received: from localhost ([127.0.0.1]:40670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc3FJ-0004l7-Lu for submit@debbugs.gnu.org; Mon, 19 Feb 2024 07:59:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rc3FF-0004kp-PK for 68509@debbugs.gnu.org; Mon, 19 Feb 2024 07:59:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rc3En-0000vE-Lu; Mon, 19 Feb 2024 07:59:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jXb2dk+P5wQjbr4buLF9jvXCOtDyChHe7bOMcRThoq0=; b=nFd3HF3A3B6p RWWIvDru4pCcE6+PLM2Fqpxhm5w1h7LfnQzPslGkEEqE41Pc9MA6DFy9r0TIYeDPDhIbHX2e8FejK KUCBqN7xbAPzh/QFH4IkLt+Cg3o6ACESOArg24zlkOPArtA/k/NyiWo+Iuc5uJudTpTGaZB2SVz67 EfaVLubtUXmN7XiLQxbLsu0XX1fQ2EjhKzd9z9y9DLPgjsSYy9wZHZ5zcWVcemSwdV5ncalfamaVN +rr+8Y9Ynvk+DH2rBYZmwW5qROxEG4X89ZSa5ctr/nYmAZ6eDhzrIwuFt7BLVTNsnPj8lQodkGvrc 1NhmylvfLgd9NuTXAA4/0w==; In-Reply-To: <871q98hiqa.fsf@localhost> (message from Ihor Radchenko on Mon, 19 Feb 2024 10:05:33 +0000) 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:280261 Archived-At: > Cc: 68509@debbugs.gnu.org > From: Ihor Radchenko > Date: Mon, 19 Feb 2024 10:05:33 +0000 > > Ihor Radchenko writes: > > > Not sure about pcase-let, but pcase-dolist specifically may be > > simplified not to use pcase-let: > > > > (if (pcase--trivial-upat-p (car spec)) > > `(dolist ,spec ,@body) > > (let ((tmpvar (gensym "x"))) > > `(dolist (,tmpvar ,@(cdr spec)) > > (pcase ,tmpvar (,(car spec) ,@body))))) > > See the attached patch. > If the patch is acceptable, we also need to update the manual. Thanks. Adding Stefan to the discussion.