summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el16
1 files changed, 15 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 7b625c6..3b8c967 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -1151,7 +1151,21 @@ By default, returns all jabber related buffers format."
(("s" . 'emms-browser-search-by-names))))
(use-package debbugs
- :ensure nil)
+ :ensure nil
+ :config
+ (require 'bug-reference)
+ (add-hook 'prog-mode-hook #'bug-reference-prog-mode)
+ (add-hook 'gnus-mode-hook #'bug-reference-mode)
+ (add-hook 'erc-mode-hook #'bug-reference-mode)
+ (add-hook 'gnus-summary-mode-hook #'bug-reference-mode)
+ (add-hook 'gnus-article-mode-hook #'bug-reference-mode)
+
+ ;; Change the default when run as 'M-x debbugs-gnu'.
+ (setq debbugs-gnu-default-packages '("emacs"))
+
+ ;; Show feature requests.
+ (setq debbugs-gnu-default-severities
+ '("serious" "important" "normal" "minor" "wishlist")))
;;; Random commands ;;;;