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: Sun, 07 Jan 2024 22:45:50 -0500 Message-ID: References: <87frzuae9n.fsf@posteo.net> <871qbatqc8.fsf@posteo.net> <87wmsz7lzn.fsf@posteo.net> <87edf1m7lq.fsf@localhost> <87cyui76l9.fsf@localhost> <871qauy1io.fsf@localhost> 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="38954"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 08 04:46:51 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 1rMgbD-000A0c-CJ for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Jan 2024 04:46:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMgaK-0008P7-15; Sun, 07 Jan 2024 22:45:56 -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 1rMgaF-0008NR-Fv for emacs-devel@gnu.org; Sun, 07 Jan 2024 22:45:51 -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 1rMgaE-0003T6-RA; Sun, 07 Jan 2024 22:45:50 -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=l3dtW7PoQkOOdc0dr6ar6KHanz0nKQ5pLSMxZpmcVhU=; b=HAgzqRAfkCru je1kZTPtpXscowg5RLWm3k9ko593c4EwDRI0A9rC6MghSfrLU69Ye+QKlUnspfeNc+os30EcHpITt fusMd/NG6zCCWR9LLhGSHIEWWfH7fp4pQMpYxDOXfvyu33T6NRLYzv2YR+mLBnOFnftKYCnRjnYcb U5ltD3TrU6FgWf/aM9Suk9i0Q4uCMtjSvRINA+QX/xqPsTIY4a0xq2qE4y0AuBg91GRTcfWxCyBjf XMUb8GIdFm/vd2t/daFNEoXfusJJ/rIp9WFYbzD9SPV36V5DNox4joVnjhBi79zpamVK/rCa6+SEk mCCj/nsNuRHh6UtY0P2Xvg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rMgaE-000274-6f; Sun, 07 Jan 2024 22:45:50 -0500 In-Reply-To: (message from Drew Adams on Sat, 6 Jan 2024 22:25:06 +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:314726 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. ]]] > Perhaps off-topic, but I think the difficulty > of human-parsing pcase sexps can be reduced > considerably if each variable bound by the > sexp is clearly shown to be just that. After reading the example, I see the point you're making. I suppose the same issue could apply to cond*. Do you think it applies equally to both? The only pertinent difference is that cond* would use match* or bind* around constructs that can make bindings. > Even just following a trivial convention, > such as prefixing each variable name with, > `?', would help. Supposing that cond* could benefit from this idea, how can we make this idea fit the framework of Emacs Lisp? `?' has a different meaning. Of course, it does not _have_ to take the form of `?', but what could it be? -- 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)