From cefd66159a8a21d91d86328896c1a42432dbf806 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 4 May 2021 17:36:24 +0300 Subject: [PATCH] mu4e-headers: use the mu engine thread-subject Instead of handling in the headers (which were broken). The messages that are hidden are _slightly_ different than before. --- mu4e/mu4e-headers.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index 06950318..e51edac0 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -659,8 +659,7 @@ show the subject of a thread only once, similar to e.g. 'mutt'." (subj (mu4e-msg-field msg :subject))) (concat ;; prefix subject with a thread indicator (mu4e~headers-thread-prefix tinfo) - (if (or (not tinfo) (zerop (plist-get tinfo :level)) - (plist-get tinfo :empty-parent)) + (if (plist-get tinfo :thread-subject) (truncate-string-to-width subj 600) "")))) (defun mu4e~headers-mailing-list (list)