unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: brian via Guix-patches via <guix-patches@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 65883@debbugs.gnu.org, ludo@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	[thread overview]
Message-ID: <87v8cfzcie.fsf@spork.org> (raw)
In-Reply-To: <0f74c4468dae139ae2406b8200d0ba6bdc374455.1694490271.git.maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Mon, 11 Sep 2023 23:44:31 -0400")

Maxim Cournoyer <maxim.cournoyer@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




  parent reply	other threads:[~2023-09-12 18:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-12  3:44 [bug#65883] [PATCH] .dir-locals.el: Update bug-reference configuration and document it Maxim Cournoyer
2023-09-12 14:20 ` brian via Guix-patches via
2023-09-12 14:34 ` brian via Guix-patches via [this message]
2023-09-17 20:45   ` bug#65883: " Maxim Cournoyer
2023-09-13 20:31 ` [bug#65883] " Ludovic Courtès
2023-09-14  3:20   ` Maxim Cournoyer
2023-09-19  8:08 ` Simon Tournier
2023-09-20 15:28   ` Maxim Cournoyer
2023-09-20 15:39     ` Simon Tournier
2023-09-25 16:13       ` Maxim Cournoyer
2023-09-25 16:24         ` Simon Tournier
2023-09-25 17:27           ` Maxim Cournoyer

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87v8cfzcie.fsf@spork.org \
    --to=guix-patches@gnu.org \
    --cc=65883@debbugs.gnu.org \
    --cc=bjc@spork.org \
    --cc=ludo@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).