From unknown Tue Jun 17 22:11:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49677: Compiler warnings for bug-reference.el Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2021 07:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 49677@debbugs.gnu.org X-Debbugs-Original-To: emacs-bugs Received: via spool by submit@debbugs.gnu.org id=B.162685193420714 (code B ref -1); Wed, 21 Jul 2021 07:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2021 07:18:54 +0000 Received: from localhost ([127.0.0.1]:36026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m66VJ-0005O2-PO for submit@debbugs.gnu.org; Wed, 21 Jul 2021 03:18:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:41780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m66VH-0005Nt-EN for submit@debbugs.gnu.org; Wed, 21 Jul 2021 03:18:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m66VH-0000R7-8M for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2021 03:18:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40602) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m66VH-0001yX-1k for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2021 03:18:51 -0400 Received: from p4fe3ed60.dip0.t-ipconnect.de ([79.227.237.96]:54604 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m66VG-0001zD-PI for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2021 03:18:50 -0400 From: Arash Esbati Date: Wed, 21 Jul 2021 09:18:28 +0200 Message-ID: <86eebsi18b.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi all, when native compiling bug-reference.el, the compiler says: Compiling path-to/emacs/share/emacs/28.0.50/lisp/progmodes/bug-reference.el... In bug-reference--try-setup-gnus-article: bug-reference.el:350:14: Warning: reference to free variable `bug-reference-mode' In bug-reference-try-setup-from-rmail: bug-reference.el:396:14: Warning: reference to free variable `bug-reference-mode' In bug-reference--run-auto-setup: bug-reference.el:506:13: Warning: reference to free variable `bug-reference-mode' The variable is defined through the minor-mode at the end of the file. I suggest to add the following (defvar bug-reference-mode) in line 100 just before (defvar bug-reference-prog-mode) which should fix the issue. I'm running Emacs 28 repo version 13b247c3c4. Best, Arash From unknown Tue Jun 17 22:11:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49677: Compiler warnings for bug-reference.el Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2021 11:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49677 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Arash Esbati Cc: 49677@debbugs.gnu.org Received: via spool by 49677-submit@debbugs.gnu.org id=B49677.162686614819226 (code B ref 49677); Wed, 21 Jul 2021 11:16:01 +0000 Received: (at 49677) by debbugs.gnu.org; 21 Jul 2021 11:15:48 +0000 Received: from localhost ([127.0.0.1]:36233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6ACa-000501-Fm for submit@debbugs.gnu.org; Wed, 21 Jul 2021 07:15:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6ACZ-0004zl-8E for 49677@debbugs.gnu.org; Wed, 21 Jul 2021 07:15:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=27MQCTma2NOosapCwzAv9fWc5wL/oyoevl8EjnyfB3k=; b=B3v1vTGR23AEDhivgixa4BwwT0 br9GrMYS3mYkuaGvY70G6dpnYLq1SFQjfLM8kRkO9M1FpmXPUm6MwxUL0OJ6vUF9GCsdUSW5nwqRn ttYs2pLGOL26DK/CXOxHa2aEh6xPEtercuA40nM1mIv17e5NkACB2cBgjfCRjdJjaB8s=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6ACR-0005pL-4e; Wed, 21 Jul 2021 13:15:41 +0200 From: Lars Ingebrigtsen References: <86eebsi18b.fsf@gnu.org> X-Now-Playing: Orchestral Manoeuvres in the Dark's _Souvenir (1): The Singles 1979-1987_: "Never Turn Away" Date: Wed, 21 Jul 2021 13:15:38 +0200 In-Reply-To: <86eebsi18b.fsf@gnu.org> (Arash Esbati's message of "Wed, 21 Jul 2021 09:18:28 +0200") Message-ID: <87zguflxyd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: Arash Esbati writes: > The variable is defined through the minor-mode at the end of the file. > I suggest to add the following > > (defvar bug-reference-mode) > > in line 100 just before > > (defvar bug-reference-prog-mod [...] 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: -2.3 (--) 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: -3.3 (---) Arash Esbati writes: > The variable is defined through the minor-mode at the end of the file. > I suggest to add the following > > (defvar bug-reference-mode) > > in line 100 just before > > (defvar bug-reference-prog-mode) > > which should fix the issue. I've now pushed the suggested fix to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 21 07:15:54 2021 Received: (at control) by debbugs.gnu.org; 21 Jul 2021 11:15:55 +0000 Received: from localhost ([127.0.0.1]:36236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6ACg-00050L-OJ for submit@debbugs.gnu.org; Wed, 21 Jul 2021 07:15:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6ACf-000500-2l for control@debbugs.gnu.org; Wed, 21 Jul 2021 07:15:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xe1womfhR53xl530k84nUivb+cZaQL81gvtE6W3EPwM=; b=QgV+pDw1WZGebaO9xdj/D41Ipt 2P93YqSY2q3BbztUJNNVrPobdEje2lr6GVNpScCHMaqFhUE0wLEJ5EIKhUIEmmFA/8rYGKjIwbAvV 2ydH0Z3dxqpiKyQQBUCql/PgRGKBIKBSFDrGkvslH7DARwf15B7wZJQrrAX4OvJbe2l4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6ACX-0005pU-JQ for control@debbugs.gnu.org; Wed, 21 Jul 2021 13:15:47 +0200 Date: Wed, 21 Jul 2021 13:15:45 +0200 Message-Id: <87y29zlxy6.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49677 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: close 49677 28.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: -2.3 (--) 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: -3.3 (---) close 49677 28.1 quit