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* Date: Sat, 24 Feb 2024 22:14:15 -0500 Message-ID: References: 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="30630"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 25 04:15:14 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 1re4yv-0007kb-JP for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Feb 2024 04:15:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1re4y2-0005iF-I2; Sat, 24 Feb 2024 22:14:18 -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 1re4y0-0005hq-TV for emacs-devel@gnu.org; Sat, 24 Feb 2024 22:14:16 -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 1re4y0-00020E-Aq; Sat, 24 Feb 2024 22:14:16 -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=Dl9v91U+NI2ePO7yfJmiph1PtOqAU3ve32SxFigD4Ys=; b=PkhGcAHtjA9c JDw9/AO9fqWFsRA4m2we69IhnwN+PjcRZCI6NfORHGUrlSvo6Q43I50116F26p/N2VGNfUpREIebb UIBytLy1UjM5uXU56aYnAs5P7XmlmB8lOkEndrsMgegGtowQWj7dYrbP6UKPsupFHwL3KqJP1QFv8 MSSc1iI0YIml2p8oXJUhffD5MjVKW2gf7y1z2w7KUpN/aXayzUQ1UzU3TAif4izn1U47FGDmZUG8v hgyqxYFotYqi4yMvJ5h1MM94XKQcZ/keWZIhjXKph3RMDvLw0R6E5VEEoQEMstbypKR4fh/o4UOXI sDCSwiZmd3shINazDHy4tw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1re4xz-0003kQ-Se; Sat, 24 Feb 2024 22:14:15 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 21 Feb 2024 23:08:20 -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:316501 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 think there's no right or wrong, there are just a variety of options > whose adequacy depends on the circumstances, so some are more often > useful and others less so. That is what I think too about this point. > I think claiming that you have "the right meaning" is weird, because By "the right meaning" I mean the right choice, judged on the practical criteria. If what you want is to ignore the last cdr of one specific list, it is hard to find anything simpler than `. ,_'. But that approach becomes messy when you need to put it at the end of many lists in one pattern. One of the first pcase examples I saw needed to do that. So I added a way to change the default locally for whether to check the last cdr or not. -- 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)