From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#73853: 31.0.50; Should and-let* become a synonym for when-let*? Date: Sat, 23 Nov 2024 22:34:54 +0800 Message-ID: <87a5dqxbld.fsf@melete.silentflame.com> References: <87a5f2xir8.fsf@web.de> <87froszrs6.fsf@melete.silentflame.com> <87ed48b3er.fsf_-_@melete.silentflame.com> <87a5ew5few.fsf@web.de> <878qud7uj7.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36196"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Michael Heerdegen , Stefan Kangas , 73853@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 23 15:36:15 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tErF7-0009Bv-R9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Nov 2024 15:36:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tErEy-0005lM-NM; Sat, 23 Nov 2024 09:36:04 -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 1tErEw-0005kS-Dv for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 09:36:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tErEv-000072-VK for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 09:36:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=HBh7BRz8qcHLq2cJSBkxP/p78baMT/77GPVQjfChsVM=; b=PF94WXZV9JlyQrpielzCOph0Q2mVmbeY2NGbSQNABaQ+BItd1IixLLCz2hhuccB1IGL6/p+FEUkha9PETOt3W/XMGrHIuwIF9ojT7qABQxGunyRYRedPv6Tyr9mAEsN/oAKgMBlkBaMhfBBRdCliEHgDCXj+IrzOTS7uVfDXhKoj6BcCNslilH/yuIgbipcEVFjkc93MVfuvhQHdPLFNKwFTB3kC5ihboq51CaTIkhou7XDDHrGkUys9Hl/q6uEDIIhvPlbPkEBNSCaOFuxjQayUTLknEjWG5zT8RHJs/CwkDelS2uSuxy1Vr7cVKY8a3y4RuccP8kx2FML2Fwlw8A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tErEv-0001s2-OU for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2024 09:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2024 14:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73853 X-GNU-PR-Package: emacs Original-Received: via spool by 73853-submit@debbugs.gnu.org id=B73853.17323725126836 (code B ref 73853); Sat, 23 Nov 2024 14:36:01 +0000 Original-Received: (at 73853) by debbugs.gnu.org; 23 Nov 2024 14:35:12 +0000 Original-Received: from localhost ([127.0.0.1]:57281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tErE7-0001lx-M9 for submit@debbugs.gnu.org; Sat, 23 Nov 2024 09:35:12 -0500 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:55136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tErE3-0001kz-ES for 73853@debbugs.gnu.org; Sat, 23 Nov 2024 09:35:09 -0500 DKIM-Signature: a=rsa-sha256; b=jYmidRyK3Dym9fMkYgRAGbac0lbeZfyc/htUltWOkZOE6TY9Wq/ulBUq0A0fcszmdJvZt3FBSBtte0XrscPOk/DR8obhLB3aNR7ulz4s6WyM7Tvueb5LFfybky5ZqfPev7szrT5kE68xElQw5lBejrLhGtbT9jEW5jQrQzGlACiC4ZZ63Vv0CixN5tG57G1oyOGbnbklDdFUkDJuN6eYZoUZ/ylhBH46We954pw0CbCViC/tBHtu3nk17e/9iATGrLcMBEdC8d+fjWdMA5o0l80p8R4uQ+uXxhx5CvpaLsqQlgfgEHhmcftdYD9mJS50sjqvmDiLgPHJxa9wOto1Ag==; s=purelymail3; d=spwhitton.name; v=1; bh=rfG6GTM3y0r778K6lO5oewk1giyFUeDsvsOEBfoK8Jg=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=NcmibnW3lSOFSIyzScapt5xfxFwr6FDYa3SsQj8Ex6YHNsA4wGbDVWCBnawJokgtxylX98par7Y3Ql/YThpMexl3XJ65jKW1ces90Q00k1z8ftfp+Sp5h23gsXKoZtihBFBSTs4m9dIs7rpqyxUPf4HFlkEbEnZ7e2LNGwjJ9MOYXiPaCIvlYX5hygtZdMF1NKa/G7mXsoGdFXKiYRCIizApCtHm3C9H8zP9Of1kuUnlddXMQqGyc4CIKpihvX2WXuwRZtm+VSRgDxPEij0of+c4VN6nBfumIGx3oMzqUTBmkUjqjav1Pl3o5tML6rdNe+4o9CPWYpoadSZpe7+q0Q==; s=purelymail3; d=purelymail.com; v=1; bh=rfG6GTM3y0r778K6lO5oewk1giyFUeDsvsOEBfoK8Jg=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 73853@debbugs.gnu.org Original-Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1337527534; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 23 Nov 2024 14:35:00 +0000 (UTC) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 4F5117E1FCA; Sat, 23 Nov 2024 22:34:54 +0800 (CST) In-Reply-To: (Stefan Monnier via's message of "Fri, 22 Nov 2024 14:46:30 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295841 Archived-At: Hello, On Fri 22 Nov 2024 at 02:46pm -05, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: >>>>> - I'd like to go ahead and install a patch marking when-let and if-let >>>>> as obsolete, unless Michael is keen to be the one to do it as the >>>>> initiator of the previous effort > [...] >> Done. > > Beside the use of `make-obsolete` instead of putting the `obsolete` > inside `declare`, I didn't know about this distinction. Can you let me know why it would be better to use a declaration? > I see a more serious problem with this patch. E.g. > > (defun my-foo () (when-let ((x (point))) (goto-char x))) > > gives 2 warnings rather than one: I think this is just inherent to the fact that these macros depend on each other, though it would be nice to fix if we can. -- Sean Whitton