From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: cond* Date: Fri, 05 Jan 2024 23:31:38 -0500 Message-ID: References: <87frzuae9n.fsf@posteo.net> <871qbatqc8.fsf@posteo.net> <87wmsz7lzn.fsf@posteo.net> <87edf1m7lq.fsf@localhost> <87il4a76zw.fsf@localhost> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 06 05:32:15 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rLyM2-0003fs-QQ for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Jan 2024 05:32:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLyLX-0003Bp-FU; Fri, 05 Jan 2024 23:31: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 1rLyLT-0003Ax-KS for emacs-devel@gnu.org; Fri, 05 Jan 2024 23:31:39 -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 1rLyLT-0001lT-Bo; Fri, 05 Jan 2024 23:31:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=Z1ENLCmKMH2qHlqxrXbQcXbx2Bh2sc1WYnIdt3a6l2Y=; b=m9nHtMmWV/26 U3atdvGMjET0PhXqebZD3+wx5dZzptT2yJe9rmAmbDlQrQRUiVVVd1x5i34EiYIB+GQH8KDIaHyWq HB98hy10MK0VkUZPkxSgns4O/aDFPLyHXNHoaFGTKB8Kn+cArbLaaDcVkoaZBr3u9JxmNLdHgSKph PPntS7Sf1/h79I/krycyi/UJvGxEzNdTRO6EVadjLKtNznksm/KeC9IUAyOd8INSrgTRaWxHXqP9Q 8rlXiTPkCziRWXKtOQRODo23JU1gQJsdOEmgp8F8D3V79hhWnOphgxLGWzfzCVugZ3VodUZAcP7oq 25zjRrCEWUdUd99sooxiHw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rLyLS-0000dR-OW; Fri, 05 Jan 2024 23:31:38 -0500 In-Reply-To: <87il4a76zw.fsf@localhost> (message from Ihor Radchenko on Wed, 03 Jan 2024 15:48:35 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314581 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Now I understand what (let REF RX-EXPR...) does, Thanks. It seems like a gratuitous complexity for this aspect of `rx' to be different between use in pcase and use as a Lisp function. What Emacs really implements in search is numbered groups. So that was the easiest thing to implement in `rx'. But if it is possible to implement the named variables for thisin pcase, surely they can be implemented in `rx' too. How about if we add them to `rx'? WDYT? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)