From 7a1f136fda8d75a36a14c0f93380561f7b1cef3f Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 30 Oct 2024 09:55:13 +0200 Subject: emacs: debbugs: Update config --- .config/emacs/init.el | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to '.config/emacs') 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 ;;;; -- cgit v1.2.3