summaryrefslogtreecommitdiff
path: root/.gnus
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-21 22:50:08 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-21 22:52:08 +0100
commita8ca1b04d93554358620393781722fe2ab77fb3b (patch)
treeec6f5f98c2f32c3eafaca02bac1c97fd039c1223 /.gnus
parentfb6558af81b9298dfe8002053ee9ea1df239811b (diff)
downloaddotfiles-a8ca1b04d93554358620393781722fe2ab77fb3b.tar.xz
Tweak Gnus window layout
Keep showing group buffer on the left; that should help shove the article away from the edge of the screen. Also add Scandinavian abbreviation for "re:" to patterns to ignore when determining subject changes.
Diffstat (limited to '.gnus')
-rw-r--r--.gnus14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gnus b/.gnus
index 64ed762..c090be5 100644
--- a/.gnus
+++ b/.gnus
@@ -49,10 +49,24 @@
message-subject-re-regexp (rx bol (+ (* space)
(or "re" "Re" "RE"
"aw" "Aw" "AW"
+ "sv" "Sv" "SV"
(seq "bug#" (+ digit))
(seq "[" (+ word) "]"))
(? (* space) (? ":") (* space)))))
+(gnus-add-configuration
+ '(summary
+ (horizontal 1.0
+ (vertical 40 (group 1.0))
+ (vertical 1.0 (summary 1.0 point)))))
+(gnus-add-configuration
+ '(article
+ (horizontal 1.0
+ (vertical 40 (group 1.0))
+ (vertical 1.0
+ (summary 0.25 point)
+ (article 1.0)))))
+
(let* ((initials (mapconcat (lambda (s) (substring s 0 1))
(split-string user-full-name)
nil))