From fef48ab085db3504eaa228e2a01583e1a4a726ed Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 13 Feb 2026 18:23:13 -0500 Subject: [PATCH] tweak(mu4e): remove +mu4e-headers-frame-maybe Changing the size of the frame is a mote more intrusive than I'd like any Doom module to be. Fix: #5870 Close: #8674 --- modules/email/mu4e/config.el | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index bffd5c9ac..9040a1517 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -190,9 +190,6 @@ is non-nil." nerd-icons-yellow) "Faces to use when coloring folders and account stripes.") - (defvar +mu4e-min-header-frame-width 120 - "Minimum reasonable with for the header view.") - ;; Add a column to display what email account the email belongs to, ;; and an account color stripe column (defvar +mu4e-header--maildir-colors nil) @@ -263,20 +260,6 @@ is non-nil." (insert (read-string "Subject (optional): ")) (message "Sending...")))))) - ;; The header view needs a certain amount of horizontal space to actually show - ;; you all the information you want to see so if the header view is entered - ;; from a narrow frame, it's probably worth trying to expand it - (defvar +mu4e-min-header-frame-width 120 - "Minimum reasonable with for the header view.") - (add-hook! 'mu4e-headers-mode-hook - (defun +mu4e-widen-frame-maybe () - "Expand the mu4e-headers containing frame's width to `+mu4e-min-header-frame-width'." - (dolist (frame (frame-list)) - (when (and (string= (buffer-name (window-buffer (frame-selected-window frame))) - mu4e-headers-buffer-name) - (< (frame-width) +mu4e-min-header-frame-width)) - (set-frame-width frame +mu4e-min-header-frame-width))))) - ;; Fix columns misalignment in Headers buffers (add-hook! 'mu4e-headers-mode-hook (defun +mu4e-headers-fix-alignment-h ()