From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind` Date: Thu, 11 Jan 2024 22:04:51 -0500 Message-ID: References: <277dd49a-e96d-4faf-a22e-aca952354a37@protonmail.com> <30f1bf76-1cf1-493e-be4f-38e405d0ecf6@protonmail.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22115"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Okamsn , 67611@debbugs.gnu.org, Stefan Kangas To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 12 04:06:21 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 1rO7sC-0005VW-Rd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Jan 2024 04:06:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rO7ry-000203-HD; Thu, 11 Jan 2024 22:06:06 -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 1rO7rx-0001zv-2D for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 22:06:05 -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 1rO7rw-0002mX-QB for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 22:06:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rO7ru-0007K6-GG for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 22:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jan 2024 03:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67611 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix notabug patch Original-Received: via spool by 67611-submit@debbugs.gnu.org id=B67611.170502870828078 (code B ref 67611); Fri, 12 Jan 2024 03:06:02 +0000 Original-Received: (at 67611) by debbugs.gnu.org; 12 Jan 2024 03:05:08 +0000 Original-Received: from localhost ([127.0.0.1]:34489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO7r2-0007In-Ag for submit@debbugs.gnu.org; Thu, 11 Jan 2024 22:05:08 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:48366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO7qz-0007IB-48 for 67611@debbugs.gnu.org; Thu, 11 Jan 2024 22:05:07 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 94A4F100068; Thu, 11 Jan 2024 22:05:00 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1705028699; bh=G0BkGn9qgm0KjlaPdMvGAORGIMzng7MMGNC+QHoIqMA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ZfsJ6jSsp/0M/XIzyIBXWQr5HMrgcPBD+45Eg131HbNSgq0BxSwM/UzBWfUyH/y/9 l7z5mjXS4sxQZDwjqCXNIxlHh9GZRjFVTV4qJsk4KbP+7PUjfWapQ5fblJzMl/emsN AEl3TXxd+iOANuJLB7oKBlLWNmCZL1xneu21AapXLMEZfkFUm3p0sG/+fNzUUyYo0t uc3zzz2AjpZO36jNGHLQF6vMdU7lqq6NnYNoen/pan3af/Ms0NxpcMy41QIPrWXx4x nDNdQXu8iH6XQWYl3I2q7fdnsbG2D6Fr3wMbkT8zA/HHuIxqzJzwQnaOP0MKHnghmE 0qsvbCSbdoZMg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 9834E10004C; Thu, 11 Jan 2024 22:04:59 -0500 (EST) Original-Received: from pastel (65-110-221-238.cpe.pppoe.ca [65.110.221.238]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 202FF1202CB; Thu, 11 Jan 2024 22:04:59 -0500 (EST) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Thu, 11 Jan 2024 21:56:06 +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:277979 Archived-At: >> Thanks for the patch. I can only echo the sentiment already given here, >> that making `pcase' more complex won't do much for its popularity. > This sentiment is not unanimous. If pcase is naturally extensible, > using that ability is not making it more complex. That'd be akin > to saying "defun" is made more complex because too many functions > are popping up. Agreed. > Just wanted register this position. Though I don't know for sure if > the patch is simply adding a new extension to pcase or changing > its core structure. It's a pure extension. The question is not whether the patch is good or bad or whether it makes the existing infrastructure too complex. It's rather where should such a thing live. I don't think there's a clear enough need for it right now in Emacs core to motivate its integration in Emacs proper. Also, because several people have expressed an opinion that leans towards recommending that Emacs's own code should probably better avoid using this functionality. I'd be quite happy to include such a think in GNU ELPA, OTOH. Stefan