[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Consistent face for keys in *Help* and `substitute-command-keys'

From: Stefan Kangas
Subject: Re: Consistent face for keys in *Help* and `substitute-command-keys'
Date: Sat, 13 Mar 2021 08:27:05 -0600

Eli Zaretskii <eliz@gnu.org> writes:

>> Is it annoying enough to avoid :box completely?
> IMO, it depends on the frequency of the occurrence.  It was enough for
> me to customize eldoc face to use :underline instead of :bold, because
> the latter would cause a similar effect.  But that's my level of
> annoyance; others might feel differently.  So perhaps advertise the
> way to avoid that by customizing the face, and then let's see how many
> complaints we get from users who track the master branch.

I was able to avoid any vertical resizing using the advice from Stefan M.
So I pushed the following change to master:

modified   lisp/faces.el
@@ -2816,8 +2816,12 @@ help-argument-name
   :group 'help)

 (defface help-key-binding
-  '((((class color) (min-colors 88) (background light)) :background "grey90")
-    (((class color) (min-colors 88) (background dark)) :background "grey25")
+  '((((class color) (min-colors 88) (background light))
+     :background "grey92" :foreground "DarkBlue"
+     :box (:line-width (1 . -1) :color "grey80"))
+    (((class color) (min-colors 88) (background dark))
+     :background "grey23" :foreground "LightBlue"
+     :box (:line-width (1 . -1) :color "grey35"))
     (((class color grayscale) (background light)) :background "grey90")
     (((class color grayscale) (background dark)) :background "grey25")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]