From unknown Fri Jun 20 07:16:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29585 <29585@debbugs.gnu.org> To: bug#29585 <29585@debbugs.gnu.org> Subject: Status: 26.0.90; Elint gives spurious warning with condition-case-unless-debug Reply-To: bug#29585 <29585@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:16:24 +0000 retitle 29585 26.0.90; Elint gives spurious warning with condition-case-unl= ess-debug reassign 29585 emacs submitter 29585 "John Wiegley" severity 29585 minor tag 29585 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 05 17:26:28 2017 Received: (at submit) by debbugs.gnu.org; 5 Dec 2017 22:26:28 +0000 Received: from localhost ([127.0.0.1]:48190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMLfY-0007TK-5U for submit@debbugs.gnu.org; Tue, 05 Dec 2017 17:26:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:32823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMLfW-0007T4-5M for submit@debbugs.gnu.org; Tue, 05 Dec 2017 17:26:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMLfQ-0001Qr-24 for submit@debbugs.gnu.org; Tue, 05 Dec 2017 17:26:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eMLfP-0001Qf-Ui for submit@debbugs.gnu.org; Tue, 05 Dec 2017 17:26:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMLfO-0004VM-OA for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2017 17:26:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMLfL-0001Oi-KE for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2017 17:26:18 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMLfL-0001Oe-Gc; Tue, 05 Dec 2017 17:26:15 -0500 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:59891) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1eMLfL-0007sR-7o; Tue, 05 Dec 2017 17:26:15 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id B7B4221EAF; Tue, 5 Dec 2017 17:26:14 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 05 Dec 2017 17:26:14 -0500 X-ME-Sender: Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 4BEE47F992; Tue, 5 Dec 2017 17:26:14 -0500 (EST) From: "John Wiegley" To: bug-gnu-emacs@gnu.org Subject: 26.0.90; Elint gives spurious warning with condition-case-unless-debug Date: Tue, 05 Dec 2017 14:26:08 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (darwin) Mail-Followup-To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Wherever condition-case-unless-debug is used, elint will complain with: use-package-core.el:1292:Warning: Not an error symbol in error handler: debug This is due to the definition of condition-case-unless-debug: --8<---------------cut here---------------start------------->8--- (defmacro condition-case-unless-debug (var bodyform &rest handlers) "Like `condition-case' except that it does not prevent debugging. More specifically if `debug-on-error' is set then the debugger will be invoked even if this catches the signal." (declare (debug condition-case) (indent 2)) `(condition-case ,var ,bodyform ,@(mapcar (lambda (handler) `((debug ,@(if (listp (car handler)) (car handler) (list (car handler)))) ,@(cdr handler))) handlers))) --8<---------------cut here---------------end--------------->8--- Maybe elint needs to be taught about this case? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 14 14:25:05 2019 Received: (at 29585) by debbugs.gnu.org; 14 Jul 2019 18:25:05 +0000 Received: from localhost ([127.0.0.1]:45940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmjBH-0001CG-JW for submit@debbugs.gnu.org; Sun, 14 Jul 2019 14:25:04 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmjBF-0001Bk-QI for 29585@debbugs.gnu.org; Sun, 14 Jul 2019 14:25:02 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmjBC-0004o3-Bp for 29585@debbugs.gnu.org; Sun, 14 Jul 2019 20:25:00 +0200 From: Lars Ingebrigtsen To: 29585@debbugs.gnu.org Subject: Re: bug#29585: 26.0.90; Elint gives spurious warning with condition-case-unless-debug References: Date: Sun, 14 Jul 2019 20:24:57 +0200 In-Reply-To: (John Wiegley's message of "Tue, 05 Dec 2017 14:26:08 -0800") Message-ID: <87muhgwk1y.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "John Wiegley" writes: > Wherever condition-case-unless-debug is used, elint will complain with: > > use-package-core.el:1292:Warning: Not an error symbol in error handler: debug > > This is due to the definition of conditi [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29585 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "John Wiegley" writes: > Wherever condition-case-unless-debug is used, elint will complain with: > > use-package-core.el:1292:Warning: Not an error symbol in error handler: debug > > This is due to the definition of condition-case-unless-debug: I've now added the macro to the elint definitions. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 14 14:25:08 2019 Received: (at control) by debbugs.gnu.org; 14 Jul 2019 18:25:08 +0000 Received: from localhost ([127.0.0.1]:45943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmjBM-0001Cc-1Z for submit@debbugs.gnu.org; Sun, 14 Jul 2019 14:25:08 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmjBK-0001CR-Jf for control@debbugs.gnu.org; Sun, 14 Jul 2019 14:25:06 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmjBI-0004oC-37 for control@debbugs.gnu.org; Sun, 14 Jul 2019 20:25:06 +0200 Date: Sun, 14 Jul 2019 20:25:03 +0200 Message-Id: <87lfx0wk1s.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #29585 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 29585 fixed close 29585 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 29585 fixed close 29585 27.1 quit From unknown Fri Jun 20 07:16:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Aug 2019 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator