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: [External] : Re: cond* Date: Wed, 20 Dec 2023 23:22:06 -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="15793"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 21 05:22:26 2023 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 1rGAZl-0003rZ-1O for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Dec 2023 05:22:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGAZV-0006dN-RT; Wed, 20 Dec 2023 23:22:09 -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 1rGAZT-0006cn-IQ for emacs-devel@gnu.org; Wed, 20 Dec 2023 23:22:07 -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 1rGAZT-0005tL-7E; Wed, 20 Dec 2023 23:22:07 -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=jj9KfFu113tVr7E0aLJysYKTe0cmZJW+2rVSwBk+fzY=; b=IS2vi6CkT+b4 62LtlBThNKB37Vul/NMOCEQ4bSlMvMF4D+VNvv9YAvdOjivhKWZPI7LlAx9MFtNsrA6EV9rc9flO8 hds82e/aBf7+5OqDpbfrOwLCEB4IrhdS48IHhTddNji74iX9NKK8sgf1S5t2SRjPzASH7zu9WrsZn I+EF/uPZ4UoBBJeFNGoIoob4CkLDgGAwZdeP4YPh6kjGPDbAk9jyUSQJpWup6jdvVXRMAiyX1tlq/ CJlk1/vuvc7KQ2f9w9RYdPlcNS7o66/tyo9gGcBv70cUywczssQG8PC6/oMaGPZZK8QfgjtaL+pWz BOcsaKaLLy+6F6C83pWE9w==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rGAZS-0007Pg-Ql; Wed, 20 Dec 2023 23:22:06 -0500 In-Reply-To: (message from Drew Adams on Tue, 19 Dec 2023 15:53:47 +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:314029 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. ]]] > > Note that this change in rules would make no change > > in the interpretation of a final clause that starts with t. > Yes, and that's a source of confusion. That makes no sense. There is no possible confusion there. Non-final clauses in cond never start with t, so no one will expect tham to do anything other than what this definition says. So I think you are concerned about a non-problem. Compared with all the complexity people have to get used to in pcase, this is almost nothing. > You'd have this: > ((:match ...) CONDITION . ACTIONS) This syntax is not coherent and won't be an improvement. It does not make sense to attach a fall-through clause to the following clause. The fall-through clause's bindings affect all the rest of the cond*, NOT just the following clause. Getting used to a special meaning for t as the first element of a cond* clause will be EASIER than getting used to a special meaning for (:match ...) there. So I will not accept that suggestion. It creates a problem where currentlly there is none. I've decided no to use keywords in cond* any more. You've put the keywod :match that cond* previous used together with the syntax I've adopted for the newer replacement, which is match*. That combination is not coherent. -- 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)