Subject: bug#61395: 28.2; bug-reference warning seems incorrect

From: Tom Tromey <[email-masked]>
Date: Fri, 10 Feb 2023 09:27:22 -0700

> I'll have a look later today!

It seems difficult to reproduce.  I can't do it reliably.

My co-worker Kévin suggested that perhaps the problem is here, in
bug-reference-fontify:

      (while (and (< (point) end-line)
                  (re-search-forward bug-reference-bug-regexp end-line 'move))
        (when (or (not bug-reference-prog-mode)
                  ;; This tests for both comment and string syntax.
                  (nth 8 (syntax-ppss)))

... with the question being whether the call to syntax-ppss needs to be
wrapped in save-match-data.

Tom