From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#61395: 28.2; bug-reference warning seems incorrect Date: Fri, 10 Feb 2023 09:41:19 -0700 Message-ID: <87sffdiic0.fsf@tromey.com> References: <87pmailkqw.fsf@tromey.com> <838rh6kjua.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19436"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: Tom Tromey , 61395@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 10 17:42:35 2023 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 1pQWTr-0004uy-4M for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Feb 2023 17:42:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQWTh-0003j7-QR; Fri, 10 Feb 2023 11:42:25 -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 1pQWTM-0003eq-I9 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 11:42:10 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQWTJ-000193-W0 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 11:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQWTJ-00010S-Rb for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2023 11:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tom Tromey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2023 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61395 X-GNU-PR-Package: emacs Original-Received: via spool by 61395-submit@debbugs.gnu.org id=B61395.16760472943835 (code B ref 61395); Fri, 10 Feb 2023 16:42:01 +0000 Original-Received: (at 61395) by debbugs.gnu.org; 10 Feb 2023 16:41:34 +0000 Original-Received: from localhost ([127.0.0.1]:37974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQWSs-0000zl-BH for submit@debbugs.gnu.org; Fri, 10 Feb 2023 11:41:34 -0500 Original-Received: from gproxy3-pub.mail.unifiedlayer.com ([69.89.30.42]:44008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQWSo-0000zW-FC for 61395@debbugs.gnu.org; Fri, 10 Feb 2023 11:41:33 -0500 Original-Received: from cmgw15.mail.unifiedlayer.com (unknown [10.0.90.130]) by progateway5.mail.pro1.eigbox.com (Postfix) with ESMTP id ED58010041C86 for <61395@debbugs.gnu.org>; Fri, 10 Feb 2023 16:41:23 +0000 (UTC) Original-Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTP id QWShpMMrONEzMQWShptw8q; Fri, 10 Feb 2023 16:41:23 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=LsVXdlRc c=1 sm=1 tr=0 ts=63e673b3 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=m04uMKEZRckA:10:nop_rcvd_month_year a=Qbun_eYptAEA:10:endurance_base64_authed_username_1 a=Z69AZ_f99fNrRFwruCAA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; 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=oX8dj8wKNmggMAfmpTKSok+7+Dnd4gA7YSNlp+mrEjk=; b=MGjCwrJFOolokTYib3VqMmyw0a BgFa7P9w0Ca9wXMm84DshgRhvY5Myg5n2ayvmVYJXJVBi3KUW58Qb5o6yq0tqQyCQHKi+IJ1w0Ddr oeSVLd6ts9sEhv/nWNjRrX0SF; Original-Received: from 75-166-130-93.hlrn.qwest.net ([75.166.130.93]:54906 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pQWSh-000M0h-KX; Fri, 10 Feb 2023 09:41:23 -0700 X-Attribution: Tom In-Reply-To: <838rh6kjua.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 10 Feb 2023 10:25:49 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.130.93 X-Source-L: No X-Exim-ID: 1pQWSh-000M0h-KX X-Source-Sender: 75-166-130-93.hlrn.qwest.net (prentzel) [75.166.130.93]:54906 X-Source-Auth: tom+tromey.com X-Email-Count: 14 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes 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:255293 Archived-At: Eli> Thanks, but could you perhaps post a recipe for reproducing the Eli> warning? Based on your description, I couldn't understand how to Eli> reproduce it: which variables to change (with the single exception of Eli> bug-reference-url-format), and what should be the buffer text to Eli> trigger the warning. Could you help me reproducing the problem, so I Eli> could investigate it and see how to fix it? I tried reproducing it by visiting various .exp files in gdb, but I can't see the warning again. Is a given warning only issued once per emacs session? Anyway, nothing too special was required. Check out gdb and search for "PR" underneath gdb/testsuite/. gdb has a .dir-locals.el that sets the appropriate variable. Make sure bug-reference-prog-mode is enabled. See my other note for a theory of the bug. This theory would also explain why it's "intermittent" -- it depends on how much of the buffer has already been scanned. Tom