From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind` Date: Thu, 11 Jan 2024 14:13:24 -0800 Message-ID: References: <277dd49a-e96d-4faf-a22e-aca952354a37@protonmail.com> <30f1bf76-1cf1-493e-be4f-38e405d0ecf6@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27346"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Okamsn , 67611@debbugs.gnu.org, Stefan Monnier 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 Thu Jan 11 23:14:32 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 1rO3Jm-0006y9-Tq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Jan 2024 23:14:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rO3JX-0008B1-Ah; Thu, 11 Jan 2024 17:14:15 -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 1rO3JV-0008Ac-Er for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 17:14:13 -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 1rO3JN-0000qp-BW for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 17:14:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rO3JK-0004jx-9g for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 17:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jan 2024 22:14: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.170501121218152 (code B ref 67611); Thu, 11 Jan 2024 22:14:02 +0000 Original-Received: (at 67611) by debbugs.gnu.org; 11 Jan 2024 22:13:32 +0000 Original-Received: from localhost ([127.0.0.1]:34215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO3Iq-0004ii-Fv for submit@debbugs.gnu.org; Thu, 11 Jan 2024 17:13:32 -0500 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:58652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO3In-0004iJ-9C for 67611@debbugs.gnu.org; Thu, 11 Jan 2024 17:13:30 -0500 Original-Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-553ba2f0c8fso6607659a12.1 for <67611@debbugs.gnu.org>; Thu, 11 Jan 2024 14:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705011205; x=1705616005; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=GuqdNOgXopUeJlz5O+Wvjvt1ZV4U8eMe1GZtKHpxTlk=; b=DDi5ne92hRwzhoVG6tvlPSMnYBVfNpeq9xG+OEpweUakG5dmC8uVPoZ5FUIO91oCKF HP6K9/YM2kFGxz0FyTs9j7al5ABdF2TKOshFbW1/1jF0Z23yucQPkDMokugQ+p9IO5E5 ZyCKPaSyfD9tn4MRFouVNRDotsrQExiYWZ6iZAMD9PNTpAyp3sB7hWJBVZgD+2Vc9gA9 i9ln15K7+eP/f28kNFWTmXQkA71uXfE3U64qw9hKD5ZyTCXNLmN2FjQGiBjvr5ZHsR9r YgrT11Y+M/M3PY6R93Vjw0SJSWEZZNkQkbApVpcAZinGaiMrmY3En4nIdDSzCrWNcTvv Sa2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705011205; x=1705616005; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=GuqdNOgXopUeJlz5O+Wvjvt1ZV4U8eMe1GZtKHpxTlk=; b=IhN3cMSNgX0rcOOdkkkvfVeXAP5S5YLML6CzUqKeWk4Xbfyr6kUl0/1q3pe7uaU5xs AkTJ9r+Wslp6xh6H29zFm5Q0ccRyNjmkSRva0NgMmOyMDDSAdZKUPfW0zPahV/LWAAVi 1LDGqDE9Nd/Uug4oQy4JHc888xmJMxu7m9ayOAGiWjGoZnC3NwCuu/2pH6LGpYdE7zPE oRr71KoKjXjS1ihn2VnBDtfeEjugliqVVkX1OH3Vr4psFz/+zFv5JcQnBKQb+0+v6gak br/ZtSP6QRRlFEp6lJscmdj2+ri1Sz8VGgpGPNEYR3kUhcDyxiEOMJUcIOf9H7vH/WyE N6Zw== X-Gm-Message-State: AOJu0YzX/DDP3OTyK37swuns7MzYnKOSy43ImQ/INsA+QMPTxIiGqzbW SWI5w4EjcYbyNlNZ4pp5gGzCTP5awCr4hmlGpneqqDID0Xc= X-Google-Smtp-Source: AGHT+IHUx/5KVU8C/E3Ew1ycTvOPpzfImMyK4oocSfMIcSeDWBNebq56J20UGeAgOhkITJC849jS6skrp96v0R07sPI= X-Received: by 2002:aa7:c602:0:b0:557:8037:dccd with SMTP id h2-20020aa7c602000000b005578037dccdmr83569edq.152.1705011205250; Thu, 11 Jan 2024 14:13:25 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 11 Jan 2024 14:13:24 -0800 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:277967 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > On Thu, Jan 11, 2024 at 9:12=E2=80=AFPM Stefan Kangas wrote: > >> 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. > > 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. > > I wish Okamsn would show one or two simple examples usage > of something you can't do with pcase today, but you would be > able to with the patch. feel free to reopen the bug report if you think it makes sense.