From 9961661f9166cb6cdc617240951b2b091cc99d12 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 3 May 2018 13:32:06 +0100 Subject: [PATCH] dot/gnus.el: Add dummy root for loose threads. Gnus has a long-standing bug with `%B'-ish tree views and loose threads: subsequent article trees are attached to the last article in the previous tree, rather than to the original root, resulting in the tree display marching off the right-hand side of the screen. This doesn't seem to happen with the `dummy' strategy, which introduces somewhat ugly false root nodes, but is otherwise fine. --- dot/gnus.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dot/gnus.el b/dot/gnus.el index 2aa71d3..6c6f4c5 100644 --- a/dot/gnus.el +++ b/dot/gnus.el @@ -36,7 +36,9 @@ ;; Display a slrn-like tree view in the summary window. (setq gnus-use-trees nil) -(setq gnus-summary-line-format "%U%R%z%4L %(%[%-16,16f%]%): %B %s\n") +(setq gnus-summary-make-false-root 'dummy) +(setq gnus-summary-line-format "%U%R%z%4L %(%[%-16,16f%]%): %B %s\n" + gnus-summary-dummy-line-format " %(%[----------------%]%): * %S\n") (setq gnus-sum-thread-tree-root ">" gnus-sum-thread-tree-false-root ">" gnus-sum-thread-tree-single-indent "=" -- 2.11.0