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: simplifying cond* Date: Sun, 29 Dec 2024 23:00:35 -0500 Message-ID: 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="593"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 30 05:01:40 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 1tS6yH-000AU3-J1 for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Dec 2024 05:01:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tS6xP-0003rH-0X; Sun, 29 Dec 2024 23:00: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 1tS6xM-0003qs-N7 for emacs-devel@gnu.org; Sun, 29 Dec 2024 23:00:40 -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 1tS6xL-0001Mi-Lg for emacs-devel@gnu.org; Sun, 29 Dec 2024 23:00:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:Subject:To:From:mime-version:in-reply-to: references; bh=88GP1UzUdfj0Klq/R9hyEkRLR9XOrVMq6XxjFPOzVzQ=; b=mp2zxozaTlcMXs LBRit7hWVOdfnSsC2K99JdbvWhLzO+Fbh5LhBwAjFetQx9DPfRUq6GLY3VKRZ4XAQa1+/izvNTKwS l5JNLpixlIRgpddR49bsQOYntfvXV1XsQJA0hFj23KlRt+VQhzdHLdobeYQCMZWrM1tW28Dl0Y8e7 aXQlIuv3utns5UmjlD5rGq9Es/81CDJ7otgE+fUhbVOcSofIc8h9uF3J7Q4D4+rMzITtUF/e2k2a0 lT9DBPQxWm23AsD5AXfbayThOo7pZLsrrhEVEZ0QKTdiPdlcWgGIfqchuPUEZNMHQfEzbli3HwnOY IlFQzUdibMl0rMmbcYtw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1tS6xH-0003E2-0q; Sun, 29 Dec 2024 23:00:35 -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:327384 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. ]]] In writing text about cond* for the ELisp Reference Manual, I realized that I can simplify its usage conventions with no change in the code. Only the doc-string will change. The change would document that all non-exit clauses are one-element clauses and all one-element clauses are non-exit clauses. That would be true, for all the clauses that will remain documented as acceptable after this change. The doc string would recommend ((progn BODY...)) instead of (t BODY...) and ((when COND BODY...)) instead of (COND BODY... :non-exit) WDYT? Eli, I would like to put this change into version 30. It can't break anything. -- 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)