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: Code for cond* - cond*-match, cond*-subpat and backtrack-aliases Date: Wed, 31 Jan 2024 22:51:55 -0500 Message-ID: References: <87FCC950-68F3-4BE1-9ADC-FE1AB6C2BEC9@gmail.com> 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="12405"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, emacs-devel@gnu.org To: JD Smith Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 01 04:52:20 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 1rVO7d-0002uH-45 for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Feb 2024 04:52:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVO7K-00057A-0D; Wed, 31 Jan 2024 22:51:58 -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 1rVO7I-00056y-If for emacs-devel@gnu.org; Wed, 31 Jan 2024 22:51:56 -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 1rVO7I-0003e4-9F; Wed, 31 Jan 2024 22:51:56 -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=7qDHmgIfAuDvqM8EUNgwmGjP/gKhdLT3h3jH0LTcSnk=; b=lO/qfaRgSCgB lWMCwyRVydh1UuoTA+lMepBG/22jBwV+gAEl07fmwRyinDlk6PV6B7anIfiiKMVW9CMsSACPOaevj Ot5hd8A5lWQnaGrLNBOJwGRZz+YjKndIk5+tQZFKDZOsHxaBrAtZVnaF7aTrmSNkll/nTOGbs7Yer D7Jq5RYSHqtsutPSA3EnlzXRB0FSbJdzaQ+SeXnu5dCSUJ6VYLa39iDLMVrJaftKGmb281qVjVhjv JaCp/BXAhJWU5Jcnq8N1nnadA9VNL/xsZ1KBuwfIcA0i2TMutHGvq3feY3MpVsn4aYmJxqjO/XR5Y qq6eSwK0NM77i2MhD7ghgw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rVO7H-0007x7-11; Wed, 31 Jan 2024 22:51:55 -0500 In-Reply-To: <87FCC950-68F3-4BE1-9ADC-FE1AB6C2BEC9@gmail.com> (message from JD Smith on Mon, 29 Jan 2024 07:16:32 -0500) 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:315692 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. ]]] > I wonder why (bind*) evaluates only its first value to determine > if the binding condition is true? We already have macros which > evaluate the "truth of a set of bindings": the members of the > if-let family. And they > "Evaluate each binding in turn, as in ‘let*’, stopping if a > binding value is nil. If all are non-nil return the [final] > value." That does not seem natural to me at all. I don't see that it is better. -- 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)