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.bugs Subject: bug#69108: false-positive warning "variable =?UTF-8?Q?=E2=80=98=5F=E2=80=99?= not left unused" in if-let* and if-let Date: Sun, 25 Feb 2024 09:42:07 +0200 Message-ID: <86a5npxa5s.fsf@gnu.org> References: <87il2ryi30.fsf@web.de> <87mss09bnc.fsf@web.de> <86eddbv7no.fsf@gnu.org> <874je6agww.fsf@web.de> <86o7ces1ou.fsf@gnu.org> <87a5npux4z.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10157"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69108-done@debbugs.gnu.org, Hi-Angel@yandex.ru To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 25 09:00:13 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 1re9Qi-0002S8-FT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Feb 2024 09:00:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1re9QC-0006wS-W5; Sun, 25 Feb 2024 02:59:41 -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 1re9QB-0006v9-Fl for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 02:59:39 -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 1re9QB-0006Rh-7t for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 02:59:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1re9QZ-0001mS-NN for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 03:00:03 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Feb 2024 08:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 69108 X-GNU-PR-Package: emacs Mail-Followup-To: 69108@debbugs.gnu.org, eliz@gnu.org, Hi-Angel@yandex.ru Original-Received: via spool by 69108-done@debbugs.gnu.org id=D69108.17088479566686 (code D ref 69108); Sun, 25 Feb 2024 08:00:03 +0000 Original-Received: (at 69108-done) by debbugs.gnu.org; 25 Feb 2024 07:59:16 +0000 Original-Received: from localhost ([127.0.0.1]:51615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re9Pl-0001jZ-0n for submit@debbugs.gnu.org; Sun, 25 Feb 2024 02:59:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re9Pi-0001jC-NQ for 69108-done@debbugs.gnu.org; Sun, 25 Feb 2024 02:59:11 -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 1re99I-0003ay-31; Sun, 25 Feb 2024 02:42:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=rsH480Dkv5S6l1+k1lL6MTkShK6m8JFkh91YQA4tfYs=; b=BS8JlA6/OTF14e4gwWHu gtG4mx4IsQgCWukgPNyWDp7x9894VJqsjtWnh7pSJA8UygYY1ZKO4mliw3yNHZXK03iCSy2neMbuZ bAOLiqxksjCeclyWcQLfAgNEthqXYowSYy3YWpLHIjO2ifquNqbdgU13iHsTVH/Lxg0EVFPtKgUnw eB3QwvV8DakrF1EPaMDPt6cpW5iu+6fG3/1UTddFbTWlh7NwOeqyzKrhYcy6q1/5Qgrj8LEOY+dwH Dy/PJC49ZCCCCVFeqLCqWUUq7u6dtI5vapndp1PN+jlLs+SePpsu2VYzVr0BUwygXSty9XQ8ZKVzV 7YLbJPgxzkAsBQ==; In-Reply-To: <87a5npux4z.fsf@web.de> (message from Michael Heerdegen on Sun, 25 Feb 2024 02:54:04 +0100) 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:280601 Archived-At: > From: Michael Heerdegen > Cc: 69108@debbugs.gnu.org, Hi-Angel@yandex.ru > Date: Sun, 25 Feb 2024 02:54:04 +0100 > > Eli Zaretskii writes: > > > > [...] repeating a test. Is this what you prefer? > > > > Yes, I think so. And you could perhaps avoid repetition of > > (cdr binding) by saving the result of (null (cdr binding)) in > > a local variable. > > I went with a separate `cond' branch added instead, I think this is even > simpler. Ok? Yes, thanks. > > > {My unsuccessful doc tweaks} > > > > [...] I'd prefer to separate it. > > Done. Feel free to tune it to your likes. Or send me an "ok", then > I'll just commit this version. I installed them both, thanks. Closing the bug.