mu4e-view: select next unread message in view buffer
Previously, the behavior of mu4e-view-headers-next-unread was that the cursor moved in the headers view but did not change the highlight nor the message in the view buffer. This patch updates the function to also select the message in the view buffer which appears to also highlight the message correctly in the header view.
This commit is contained in:
@ -866,9 +866,9 @@ message view. If this succeeds, return the new docid. Otherwise,
|
|||||||
return nil."
|
return nil."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(mu4e~view-in-headers-context
|
(mu4e~view-in-headers-context
|
||||||
(mu4e-headers-next-unread backwards)))
|
(mu4e-headers-next-unread backwards))
|
||||||
;; NOTE perhaps nice to have it also _select_ the found message;
|
(mu4e-select-other-view)
|
||||||
;; but it seems emacs gets a bit confused when we try that.
|
(mu4e-headers-view-message))
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|||||||
Reference in New Issue
Block a user