From 9557ba43a01521a0aa7a89beb70c87d090103d45 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 9ad0e350..815bf7d5 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -657,7 +657,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 rendered MSG as a string."