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


Message #22 received at 65883-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: brian <bjc <at> spork.org>
Cc: ludo <at> gnu.org, 65883-done <at> debbugs.gnu.org
Subject: Re: [bug#65883] [PATCH] .dir-locals.el: Update bug-reference
 configuration and document it.
Date: Sun, 17 Sep 2023 16:45:22 -0400
Hi,

brian <bjc <at> spork.org> writes:

> 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:
>
> (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))

Installed with your changes!

-- 
Thanks,
Maxim




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

Previous Next


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