From 16c75af1f28fd6bf104c8d44264160ef2f3444ed Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Fri, 5 Apr 2024 20:04:24 +0300 Subject: [PATCH] mu4e-view: explicitly scroll after rendering This seems necessary in some cases; for some reason _this week_ that came up a few time, although the code is old. Could repro with a bare emacs. Fixes #2683. --- mu4e/mu4e-view.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index 7bb81376..57af5a28 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -655,7 +655,9 @@ As a side-effect, a message that is being viewed loses its (select-window mu4e~headers-view-win))) (with-current-buffer gnus-article-buffer (let ((inhibit-read-only t)) - (run-hooks 'mu4e-view-rendered-hook)))) + (run-hooks 'mu4e-view-rendered-hook)) + ;; only needed on some setups; #2683 + (goto-char (point-min)))) (defun mu4e-view-message-text (msg) "Return the pristine MSG as a string."