From a2a4588110eafcfaf20f346d9ce277019f2d0b30 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Thu, 16 Jul 2020 18:38:59 +0200 Subject: [PATCH] Add tramp and orgmode to bug-reference-setup-from-mail-alist. Also add a TODO that I should implement something similar for IRC (rcirc/ERC). * lisp/progmodes/bug-reference.el (bug-reference-setup-from-mail-alist): Auto-setup also with groups matching orgmode and tramp. --- lisp/progmodes/bug-reference.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index 9df51c1242a..b151e87f1c2 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el @@ -229,8 +229,9 @@ and apply it if applicable." url config) (throw 'found t))))))))) +;; TODO: Implement something similar for IRC with rcirc/ERC. (defvar bug-reference-setup-from-mail-alist - `((,(regexp-opt '("emacs" "auctex" "gnus") 'words) + `((,(regexp-opt '("emacs" "auctex" "gnus" "tramp" "orgmode") 'words) ,(regexp-opt '("@debbugs.gnu.org" "-devel@gnu.org" ;; List-Id of Gnus devel mailing list. "ding.gnus.org")) -- 2.39.2