emacs: gnus: add splitting rule for webmasters{,-comment}@gnu.org
[~bandali/configs] / .emacs.d / init.el
index a0b328e..0d0b352 100644 (file)
@@ -793,6 +793,7 @@ For disabling the behaviour for certain buffers and/or modes."
         (mode . scheme-mode)
         (mode . haskell-mode)
         (mode . lean-mode)
+        (mode . go-mode)
         (mode . alloy-mode)))
       ("tex"
        (or
@@ -947,6 +948,12 @@ For disabling the behaviour for certain buffers and/or modes."
   :hook ((text-mode . indicate-buffer-boundaries-left)
          (text-mode . abbrev-mode)))
 
+(use-feature conf-mode
+  :mode "\\.*rc$")
+
+(use-feature sh-mode
+  :mode "\\.bashrc$")
+
 (use-package company
   :defer 0.6
   :bind
@@ -1168,6 +1175,8 @@ For disabling the behaviour for certain buffers and/or modes."
     :custom
     (font-latex-fontify-sectioning 'color)))
 
+(use-package go-mode)
+
 \f
 ;;; Theme
 
@@ -1551,6 +1560,8 @@ For disabling the behaviour for certain buffers and/or modes."
                                  (list ".*info-guix.gnu.org" "l.gnu.guix.info")
                                  (list ".*www-commits.gnu.org" "l.gnu.www.commits")
                                  (list ".*www-discuss.gnu.org" "l.gnu.www.discuss")
+                                 ;; webmasters
+                                 (from "webmasters\\(-comment\\)?@gnu\\.org" "webmasters")
                                  ;; haskell
                                  (list ".*haskell-art.we.lurk.org" "l.haskell.art")
                                  (list ".*haskell-cafe.haskell.org" "l.haskell.cafe")