From 307ae53dff5c4af5692286ab0ed0d9d7f5344d41 Mon Sep 17 00:00:00 2001 From: Emily Bourke Date: Sat, 24 Dec 2022 13:39:26 +0000 Subject: [PATCH] fix(email): mu4e main view shortcut face MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the leuven theme (and possibly others), the use of `(mode-line-emphasis bold)` results in white text on a white background, making the shortcut keys invisible. The original function mu4e--main-action-string uses mu4e-highlight-face, and changing back to this fixes the problem. I can’t tell from the git history what the reasoning for the face change specifically was: the new function seems to have been made mainly for changing the bullets to unicode versions. Fix: #7010 --- modules/email/mu4e/autoload/advice.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/email/mu4e/autoload/advice.el b/modules/email/mu4e/autoload/advice.el index e76aa0961..c053d83e7 100644 --- a/modules/email/mu4e/autoload/advice.el +++ b/modules/email/mu4e/autoload/advice.el @@ -12,7 +12,7 @@ clicked." "\\[\\(..?\\)\\]" (lambda(m) (format "%s" - (propertize (match-string 1 m) 'face '(mode-line-emphasis bold)))) + (propertize (match-string 1 m) 'face 'mu4e-highlight-face))) (replace-regexp-in-string "\t\\*" (format "\t%s" +mu4e-main-bullet) str))) (map (make-sparse-keymap)) (func (if (functionp func-or-shortcut)