summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-10-30 09:55:13 +0200
committerThanos Apollo <[email protected]>2024-10-30 09:55:13 +0200
commit7a1f136fda8d75a36a14c0f93380561f7b1cef3f (patch)
tree07bf17825ad85c050a0eac534048e31d01cd46f4 /.config/emacs/init.el
parentcee8b448d4b67a525694b64f3cff3a25c8cf5e54 (diff)
emacs: debbugs: Update config
Diffstat (limited to '.config/emacs/init.el')
-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 ;;;;