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.
This commit is contained in:
Dirk-Jan C. Binnema 2021-05-04 17:36:24 +03:00
parent 473d3998ce
commit cefd66159a
1 changed files with 1 additions and 2 deletions

View File

@ -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)