From: Tassilo Horn <tsdh@gnu.org>
Date: Sat, 11 Sep 2021 09:59:06 +0000 (+0200)
Subject: ; Add some TODOs for the bug-reference-<forge>-instances variables
X-Git-Tag: emacs-28.0.90~1068
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=140d722848fda03b193f05e716f00eca93b854a8;p=emacs.git

; Add some TODOs for the bug-reference-<forge>-instances variables
---

diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el
index d0493b32850..e5d77a0a334 100644
--- a/lisp/progmodes/bug-reference.el
+++ b/lisp/progmodes/bug-reference.el
@@ -230,6 +230,9 @@ subexpression 10."
                     (push (match-string i url) groups))
                   (funcall bug-url-fmt (nreverse groups))))))
 
+;; TODO: Change to alist with (HOST PROTOCOL) entries because
+;; self-hosted instances might be accessed with http rather than
+;; https.
 (defvar bug-reference-gitea-instances '("gitea.com"
                                         "codeberg.org")
   "List of Gitea forge instances.
@@ -238,6 +241,9 @@ loaded, and performed an auto-setup, evaluate
 `(bug-reference--setup-from-vc-alist t)' for rebuilding the value
 of `bug-reference--setup-from-vc-alist'.")
 
+;; TODO: Change to alist with (HOST PROTOCOL) entries because
+;; self-hosted instances might be accessed with http rather than
+;; https.
 (defvar bug-reference-gitlab-instances '("gitlab.com"
                                          "salsa.debian.org"
                                          "framagit.org")
@@ -247,6 +253,9 @@ loaded, and performed an auto-setup, evaluate
 `(bug-reference--setup-from-vc-alist t)' for rebuilding the value
 of `bug-reference--setup-from-vc-alist'.")
 
+;; TODO: Change to alist with (HOST PROTOCOL) entries because
+;; self-hosted instances might be accessed with http rather than
+;; https.
 (defvar bug-reference-sourcehut-instances '("sr.ht")
   "List of SourceHut forge instances.
 When the value is changed after bug-reference has already been