From 94e9795d9dc55bc4f8e68ac6c45150addc6a9b8e Mon Sep 17 00:00:00 2001 From: Marcelo Henrique Cerri Date: Thu, 3 May 2018 08:27:20 -0300 Subject: [PATCH] mu4e: Do not assume orphan messages can't appear in the middle of a thread Do not clear the thread state when an orphan message is found. --- mu4e/mu4e-headers.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index e2700f19..81158705 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -462,7 +462,7 @@ into a string." (last-child (plist-get thread :last-child)) (duplicate (plist-get thread :duplicate))) ;; Do not prefix root messages. - (if (or (= level 0) empty-parent) + (if (= level 0) (setq mu4e~headers-thread-state '())) (if (> level 0) (let* ((length (length mu4e~headers-thread-state))