If I follow a link from an org-mode buffer, it takes me to the message in a mu4e-view buffer, but if I then use the action mu4e-action-show-thread I receive an error
[mu4e] cannot find message in headers buffer.
A crude work around is to quit the view buffer before executing the search by modifying the action to
(defun mu4e-action-show-thread (msg)
"Show all messages that are in the same thread as the message
at point."
(let ((msgid (mu4e-message-field msg :message-id)))
(when msgid
(let ((mu4e-headers-show-threads t)
(mu4e-headers-include-related t))
(mu4e~view-quit-buffer) ;; added this line
(mu4e-headers-search
(format "msgid:%s" msgid))))))
Is there a better way to do this?
Also, is it possible to highlight (by changing the face) the message with the searched for msgid in the resulting mu4e-headers buffer that shows the thread?
Cheers,
Ben