aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/bug-reference.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/bug-reference.el')
-rw-r--r--lisp/progmodes/bug-reference.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el
index fd014a38d95..c6327c1a3f3 100644
--- a/lisp/progmodes/bug-reference.el
+++ b/lisp/progmodes/bug-reference.el
@@ -269,7 +269,7 @@ via the internet it might also be http.")
269;; pull/17 page if 17 is a PR. Explicit user/project#17 links to 269;; pull/17 page if 17 is a PR. Explicit user/project#17 links to
270;; possibly different projects are also supported. 270;; possibly different projects are also supported.
271(cl-defmethod bug-reference--build-forge-setup-entry 271(cl-defmethod bug-reference--build-forge-setup-entry
272 (host-domain (_forge-type (eql github)) protocol) 272 (host-domain (_forge-type (eql 'github)) protocol)
273 `(,(concat "[/@]" host-domain "[/:]\\([.A-Za-z0-9_/-]+\\)\\.git") 273 `(,(concat "[/@]" host-domain "[/:]\\([.A-Za-z0-9_/-]+\\)\\.git")
274 "\\(\\([.A-Za-z0-9_/-]+\\)?\\(?:#\\)\\([0-9]+\\)\\)\\>" 274 "\\(\\([.A-Za-z0-9_/-]+\\)?\\(?:#\\)\\([0-9]+\\)\\)\\>"
275 ,(lambda (groups) 275 ,(lambda (groups)
@@ -284,7 +284,7 @@ via the internet it might also be http.")
284;; namespace/project#18 or namespace/project!17 references to possibly 284;; namespace/project#18 or namespace/project!17 references to possibly
285;; different projects are also supported. 285;; different projects are also supported.
286(cl-defmethod bug-reference--build-forge-setup-entry 286(cl-defmethod bug-reference--build-forge-setup-entry
287 (host-domain (_forge-type (eql gitlab)) protocol) 287 (host-domain (_forge-type (eql 'gitlab)) protocol)
288 `(,(concat "[/@]" (regexp-quote host-domain) 288 `(,(concat "[/@]" (regexp-quote host-domain)
289 "[/:]\\([.A-Za-z0-9_/-]+\\)\\.git") 289 "[/:]\\([.A-Za-z0-9_/-]+\\)\\.git")
290 "\\(\\([.A-Za-z0-9_/-]+\\)?\\([#!]\\)\\([0-9]+\\)\\)\\>" 290 "\\(\\([.A-Za-z0-9_/-]+\\)?\\([#!]\\)\\([0-9]+\\)\\)\\>"
@@ -301,7 +301,7 @@ via the internet it might also be http.")
301 301
302;; Gitea: The systematics is exactly as for Github projects. 302;; Gitea: The systematics is exactly as for Github projects.
303(cl-defmethod bug-reference--build-forge-setup-entry 303(cl-defmethod bug-reference--build-forge-setup-entry
304 (host-domain (_forge-type (eql gitea)) protocol) 304 (host-domain (_forge-type (eql 'gitea)) protocol)
305 `(,(concat "[/@]" (regexp-quote host-domain) 305 `(,(concat "[/@]" (regexp-quote host-domain)
306 "[/:]\\([.A-Za-z0-9_/-]+\\)\\.git") 306 "[/:]\\([.A-Za-z0-9_/-]+\\)\\.git")
307 "\\(\\([.A-Za-z0-9_/-]+\\)?\\(?:#\\)\\([0-9]+\\)\\)\\>" 307 "\\(\\([.A-Za-z0-9_/-]+\\)?\\(?:#\\)\\([0-9]+\\)\\)\\>"
@@ -322,7 +322,7 @@ via the internet it might also be http.")
322;; repo without tracker, or a repo with a tracker using a different 322;; repo without tracker, or a repo with a tracker using a different
323;; name, etc. So we can only try to make a good guess. 323;; name, etc. So we can only try to make a good guess.
324(cl-defmethod bug-reference--build-forge-setup-entry 324(cl-defmethod bug-reference--build-forge-setup-entry
325 (host-domain (_forge-type (eql sourcehut)) protocol) 325 (host-domain (_forge-type (eql 'sourcehut)) protocol)
326 `(,(concat "[/@]\\(?:git\\|hg\\)." (regexp-quote host-domain) 326 `(,(concat "[/@]\\(?:git\\|hg\\)." (regexp-quote host-domain)
327 "[/:]\\(~[.A-Za-z0-9_/-]+\\)") 327 "[/:]\\(~[.A-Za-z0-9_/-]+\\)")
328 "\\(\\(~[.A-Za-z0-9_/-]+\\)?\\(?:#\\)\\([0-9]+\\)\\)\\>" 328 "\\(\\(~[.A-Za-z0-9_/-]+\\)?\\(?:#\\)\\([0-9]+\\)\\)\\>"