From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Instead of pcase Date: Fri, 01 Dec 2023 09:03:16 +0100 Message-ID: <87bkbabb97.fsf@ledu-giraud.fr> References: <87fs169mjj.fsf@posteo.net> <093f11a1-57c2-5e56-d39b-26fef1c67cbb@gutov.dev> <25942.25061.217864.329049@retriever.mtv.corp.google.com> <87zfzdcz6z.fsf@posteo.net> <87zfza2aq2.fsf@web.de> <7nmsv9zq6u.fsf@ecube.ecubist.org> <7nv89x5tsi.fsf@ecube.ecubist.org> <87o7focuf5.fsf@web.de> <834jh2bd70.fsf@gnu.org> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22884"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov , rms@gnu.org, michael_heerdegen@web.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 01 09:03:50 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 1r8yV3-0005dG-96 for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Dec 2023 09:03:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8yUg-0003QV-3P; Fri, 01 Dec 2023 03:03:26 -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 1r8yUe-0003QK-NT for emacs-devel@gnu.org; Fri, 01 Dec 2023 03:03:24 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8yUc-0001yu-Hl; Fri, 01 Dec 2023 03:03:24 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=htVBqoj/ Fi2yQYyid1HgV1zNjsCyzr7DIjabArijhq4=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=an4PZ11THA8TOHWi6ZXwUSFfe7f5UO NnTEWsqK/15y3Ab+/O6DzjJz4i+FYS3ipzh1BcITsDVFwL9YTunc77DA== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=htVBqoj/Fi2yQYyi d1HgV1zNjsCyzr7DIjabArijhq4=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=E+yBM6F2+FTQxce+nMSoBg0tR1UZbMwkT1DNpE 6FoF4qyOUOxyFe4RJh/4YUpC2N4TLCT0/08KgnvkwQy+KRXAKThmp2HZlTwdG/Dggw2Gs5 ojHyMZ0uSLig9siYtm/SeH4jAUd/fBmCMUmS5/kENDj+pT4tcOMF3cNak93R3Y6/Kt2Il9 RH7uU1BxisvOFx7Q0++PKJS94ZOhN8ET3A0fws7ZTpDf93699d88EnUXPeHzio3QKRAdB/ FSX8Y/H0avfLRv0yruHxTdlt9hz2KFp7yyeSlOmG34KRq+sTYHP3of/5eY6tmBf9dBMbld wHmpudKc5wEaAR1reP16tzaw== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id b852a75e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 1 Dec 2023 09:03:17 +0100 (CET) In-Reply-To: <834jh2bd70.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 Dec 2023 09:21:23 +0200") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:313424 Archived-At: Eli Zaretskii writes: [...] > For example, constructs such as the many with-SOMETHING macros we have > in Emacs are also higher-level than the actual code they expand into, > but code using these macros is very easy to understand because the > syntax is normative and the names of the macros are descriptive enough > to be mnemonically helpful. Yes but the with-SOMETHING macros also exist in Common Lisp and are also easy to understand. Most of the time, it reads as =C2=AB=C2=A0execute this= body with this resource taken/opened/locked and eventually do some house-keeping said resource=C2=A0=C2=BB. A pattern matching construct will= , of course, be more complex. --=20 Manuel Giraud