GNU bug report logs - #61395
28.2; bug-reference warning seems incorrect

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Thu, 9 Feb 2023 19:10:02 UTC

Severity: normal

Found in version 28.2

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tom Tromey <tom <at> tromey.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Tom Tromey <tom <at> tromey.com>, 61395 <at> debbugs.gnu.org
Subject: bug#61395: 28.2; bug-reference warning seems incorrect
Date: Fri, 10 Feb 2023 09:41:19 -0700
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




This bug report was last modified 2 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.