From 6a1213750603894cc11b9b384a2b502a691820d5 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Tue, 26 Mar 2024 21:21:14 -0500 Subject: [PATCH] mu4e--view-render-buffer: Disable Gnus bookmark-make-record-function The function 'gnus-summary-bookmark-make-record' does not work properly with the faux "appeasement" summary buffer, causing undesired changes in the window configuration when the message rendering buffer's bookmark function is called (which some packages, like Activities, Burly, and Dogears do routinely). See . Reported-by: Daniel Goldin --- mu4e/mu4e-view.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index 6755b3a3..10a2bcec 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -731,6 +731,8 @@ determine which browser function to use." (ignore-errors (run-hooks 'gnus-article-decode-hook)) (gnus-article-prepare-display) (mu4e--view-activate-urls) + ;; `gnus-summary-bookmark-make-record' does not work properly when "appeased." + (kill-local-variable 'bookmark-make-record-function) (setq mu4e~gnus-article-mime-handles gnus-article-mime-handles gnus-article-decoded-p gnus-article-decode-hook) (set-buffer-modified-p nil)