From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.devel Subject: Re: Allow underscore in non-binding clauses of `if-let*` and friends Date: Wed, 13 Nov 2024 12:03:22 +0100 Message-ID: <861pzf2y6d.fsf@fastmail.fm> References: <868qto4lr6.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5077"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.7; emacs 29.4 Cc: emacs-devel@gnu.org To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 13 12:03:43 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 1tBB9y-00019o-SG for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Nov 2024 12:03:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBB9l-00024O-Qu; Wed, 13 Nov 2024 06:03:29 -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 1tBB9k-00024G-Qo for emacs-devel@gnu.org; Wed, 13 Nov 2024 06:03:28 -0500 Original-Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBB9j-0006ou-2c; Wed, 13 Nov 2024 06:03:28 -0500 Original-Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.phl.internal (Postfix) with ESMTP id E0A581380274; Wed, 13 Nov 2024 06:03:25 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Wed, 13 Nov 2024 06:03:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1731495805; x=1731582205; bh=14Kyia/i/t WDG3LZN+bDiieeyS91bsUFhkcvPSsxyhA=; b=IEFUIsDKxqPyHWvEy2Yc+AH6ok pJk3WSidY7AYJjwD7G04x6KtIEGnio/4N3EuJyon4XXj6AY1fyg9jvOVTtpUQC13 YqHBk55sUpq7yjRX+mKZXAfCTj6KlfLSUm6JdCajMeX5HCI88VAtHI8S4NqBuzVr reWJXmXJGrMyUGJr74qiQoqMjYNu24AmIm+ptIdNV19Wy4V4bQdH9IcACLatNggq fRIvlDj6arhfChTRTq8MS/G2/kf8RMBjiEC1CVVbD7YO7ma7WHSMJuzX7DI7Efrq 5DL7ffdNAHTOV+XII2W4+aNit5VXzuQ38iOQWOiWFg1ZFXjrVcEjdvjvlVig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1731495805; x=1731582205; bh=14Kyia/i/tWDG3LZN+bDiieeyS91bsUFhkc vPSsxyhA=; b=iig9HCoDcZaicuEwRH7FNMXEu0RjYkUOkQoS9BhlHdi/MDWY2B5 S/KMoQXpxNuXAhSJMOecTtolC3iJ86NVlMSmSkDBPks+F/wchXeQxFsABYVnjw9u eUAnEUxolwrDVQ51vE11jLw2gbAkW0Fd66JUrBtLQHB3dHnN9zjJ9zKHMeKJ2OH3 vZh9gMG3Y7PMYuJXf2meBIeNEp1PJxHcbr3Suxtw8YlK6swAD+zRuEarUCCXjyha mCmqicUbcD4OJSeOWUK1q1eLP7n6gTDt7MPHzYdofi5h+yRR08tgXzLJ9AGDArsh HAsL2Zulhv7nGvwJEJhSAFXVTJwX2YZp8Xw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvddtgddvfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefujg hffgffkfggtgesthdtredttdertdenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcu oehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvg hrnhepfeekjefgffdtgfffjeduueekteehudfhveethffhheeihfeltdfghfegkeeivdeh necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhooh hsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmpdhnsggprhgtphhtthhopedvpdhm ohguvgepshhmthhpohhuthdprhgtphhtthhopegvmhgrtghsqdguvghvvghlsehgnhhurd horhhgpdhrtghpthhtoheprghmshesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Nov 2024 06:03:24 -0500 (EST) In-Reply-To: (Alfred M. Szmidt's message of "Tue, 12 Nov 2024 12:55:25 -0500") Received-SPF: pass client-ip=103.168.172.148; envelope-from=joostkremers@fastmail.fm; helo=fout-a5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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:325444 Archived-At: On Tue, Nov 12 2024, Alfred M. Szmidt wrote: > ``` > (if-let* ((_ (foo (some-computation))) > (_ (bar (some-other-computation))) > (baz (y-or-n-p "Hi? "))) > (message "yes")) > ``` > > Isn't this already allowed? LET* allows for it, or is this another of > those this is not really LET* but something else situation? Yes, it's allowed, it's just that in Emacs 29 (which I'm using), it's flagged by flycheck. That has been fixed in Emacs 30, though. -- Joost Kremers Life has its moments