GNU bug report logs - #65883
[PATCH] .dir-locals.el: Update bug-reference configuration and document it.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Tue, 12 Sep 2023 03:45:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: brian <bjc <at> spork.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 65883 <at> debbugs.gnu.org, ludo <at> gnu.org
Subject: [bug#65883] [PATCH] .dir-locals.el: Update bug-reference configuration and document it.
Date: Tue, 12 Sep 2023 10:34:17 -0400
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> +(setq debbugs-browse-url-regexp
> +      "^https?://\\(debbugs\\|\\(issues\\.guix\\|bugs\\)\\)\\.gnu\\.org/\
> +\\(cgi/bugreport\\.cgi\\?bug=\\)?\\(?3:[[:digit:]]+\\)$")
> +@end lisp

While I'm at it, here's the ‘rx’ form of the above:
--8<---------------cut here---------------start------------->8---
(setq debbugs-browse-url-regexp
      (rx
       line-start
       "http" (zero-or-one "s") "://"
       (or "debbugs" "issues.guix" "bugs")
       ".gnu.org" (one-or-more "/")
       (group (zero-or-one "cgi/bugreport.cgi?bug="))
       (group-n 3 (one-or-more digit))
       line-end))
--8<---------------cut here---------------end--------------->8---

-bjc




This bug report was last modified 1 year and 243 days ago.

Previous Next


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