all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Tom Tromey <tom@tromey.com>, 61395@debbugs.gnu.org
Subject: bug#61395: 28.2; bug-reference warning seems incorrect
Date: Fri, 10 Feb 2023 09:41:19 -0700	[thread overview]
Message-ID: <87sffdiic0.fsf@tromey.com> (raw)
In-Reply-To: <838rh6kjua.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 10 Feb 2023 10:25:49 +0200")

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





      parent reply	other threads:[~2023-02-10 16:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-09 19:08 bug#61395: 28.2; bug-reference warning seems incorrect Tom Tromey
2023-02-10  8:25 ` Eli Zaretskii
2023-02-10 15:02   ` Basil Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-10 15:54     ` Tassilo Horn
2023-02-10 16:27       ` Tom Tromey
2023-02-10 17:21         ` Tassilo Horn
2023-02-10 18:10           ` Tom Tromey
2023-02-10 18:15             ` Tassilo Horn
2023-02-10 18:32               ` Tom Tromey
2023-02-11  9:33               ` Kévin Le Gouguec
2023-02-11 15:56                 ` Tom Tromey
2023-02-10 18:25           ` Tom Tromey
2023-02-10 16:41   ` Tom Tromey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sffdiic0.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=61395@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.