X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/3d36fc1a0227c20c1c6268fdf2c339c05805df4c..bd82e1442a9f3d4cbdb970f4e5128e2d5e68f37d:/.emacs.d/lisp/bandali-gnus.el diff --git a/.emacs.d/lisp/bandali-gnus.el b/.emacs.d/lisp/bandali-gnus.el index febf30f..c2249a2 100644 --- a/.emacs.d/lisp/bandali-gnus.el +++ b/.emacs.d/lisp/bandali-gnus.el @@ -75,6 +75,8 @@ (| ;; (: gnus-registry-split-fancy-with-parent) ;; (: gnus-group-split-fancy "INBOX" t "INBOX") + ;; spam + ("X-Spam_action" "reject" "Junk") ;; keep debbugs emails in INBOX (list ".*<\\(.*\\)\\.debbugs\\.gnu\\.org>.*" "INBOX") ;; list moderation emails @@ -112,8 +114,6 @@ ;; ---------------------------------- ;; legend: (u)nsubscribed | (d)ead ;; ---------------------------------- - ;; spam - ("X-Spam_action" "reject" "Junk") ;; otherwise, leave mail in INBOX "INBOX"))) (nnimap @@ -212,8 +212,8 @@ (add-hook 'gnus-group-mode-hook #'gnus-topic-mode) (add-hook 'gnus-group-mode-hook #'gnus-agent-mode)) ;; global key bindings -(global-set-key (kbd "C-c m") #'gnus-plugged) -(global-set-key (kbd "C-c M") #'gnus-unplugged) +(global-set-key (kbd "C-c g") #'gnus-plugged) +(global-set-key (kbd "C-c G") #'gnus-unplugged) (with-eval-after-load 'gnus-art (setq