[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65883] [PATCH] .dir-locals.el: Update bug-reference configuration a
From: |
Simon Tournier |
Subject: |
[bug#65883] [PATCH] .dir-locals.el: Update bug-reference configuration and document it. |
Date: |
Tue, 19 Sep 2023 10:08:38 +0200 |
Hi Maxim,
Sorry to be late to the party.
On Mon, 11 Sep 2023 at 23:44, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
> - ;; For use with 'bug-reference-prog-mode'.
> + ;; For use with 'bug-reference-prog-mode'. Extra bug-reference
> + ;; configuration should be done in your Emacs user configuration file;
> + ;; refer to (info (guix) The Perfect Setup).
> (bug-reference-bug-regexp
> . "\\(<https?://\\bugs\\.gnu\\.org/\\([0-9]+\\)>\\)")
> - (bug-reference-url-format . "https://bugs.gnu.org/%s")
> + (bug-reference-url-format . "https://issues.guix.gnu.org/%s")
Just to point that in addition, this:
https://issues.guix.gnu.org/issue/12345
is also valid.
> +(setq bug-reference-url-format "https://bugs.gnu.org/%s")
> +;; The following allows Emacs Debbugs user to open the issue directly within
> +;; Emacs.
> +(setq debbugs-browse-url-regexp
> + "^https?://\\(debbugs\\|\\(issues\\.guix\\|bugs\\)\\)\\.gnu\\.org/\
> +\\(cgi/bugreport\\.cgi\\?bug=\\)?\\(?3:[[:digit:]]+\\)$")
> +@end lisp
Idem here.
Cheers,
simon