From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: simplifying cond* Date: Mon, 30 Dec 2024 15:27:07 +0200 Message-ID: <868qrxpahg.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19809"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 30 14:28:30 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 1tSFor-00052I-TQ for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Dec 2024 14:28:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSFo2-0002N9-9e; Mon, 30 Dec 2024 08:27:38 -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 1tSFnz-0002Mw-NI for emacs-devel@gnu.org; Mon, 30 Dec 2024 08:27:35 -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 1tSFnx-0003PH-RK for emacs-devel@gnu.org; Mon, 30 Dec 2024 08:27:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LHjHDqW0jZwjQmWXWqxI3Eply7msiAp0L+aOYGXO5Uo=; b=bl7zibxBQ8a7 3yXqepy/ytaR2TDBNmaRrDiEvJqV/Bijyp/6/MRneRgfQzWMe1AvTis8/X3H6uARpKMvsm+SAsDuH U3Zx/Y1wqLHyzT8FEHyj1LyA8eJLp8nT7g0F9DG71+uMRSVmHmK/aRVdCl4nMAxLpYJyjt4fiy/zI tV1PCF58ewx3KCHSpB1+KT1BQ0XdMXS64sjzjVDQsgqc9lcXGan5Fmx60Jnq2VzdQDzT35NtqBb+U F07qqT1xbDecKBuR5YqLe1V0+ugNIM/JqBaxtBdDO9o3x1kf0FcCwe1wCt0wucX/EZmNN0gG62OSF bUlQKLyYxdmkeW61fcZXwQ==; In-Reply-To: (message from Richard Stallman on 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:327418 Archived-At: > From: Richard Stallman > Date: Sun, 29 Dec 2024 23:00:35 -0500 > > 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. Documentation changes are always okay on the release branch. However, in this case, cond* is not in Emacs 30, only in Emacs 31. So you can install any changes for it on the master branch without limitations, but there's no cond* documentation to fix on the emacs-30 release branch.