bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#37774: 27.0.50; new :extend attribute broke visuals of all themes an


From: Juri Linkov
Subject: bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages
Date: Thu, 12 Dec 2019 01:02:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

0. emacs -Q
1. Eval: (progn (load-library "ldap") (customize-variable 
'ldap-host-parameters-alist))
2. Click the button "INS".
3. Where are the input fields?  I don't see any.  Are they lost?
   These fields were visible in the previous version.
   Ah, this is the :extend fallout in action.

That means this patch is in order:

diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index 94ab938a22..aabb3be197 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -126,15 +126,16 @@ widget-mouse-face
 ;; background, at least on light-background TTYs.
 (defface widget-field '((((type tty))
                         :background "yellow3"
-                        :foreground "black")
+                        :foreground "black"
+                        :extend t)
                        (((class grayscale color)
                          (background light))
-                        :background "gray85")
+                        :background "gray85" :extend t)
                        (((class grayscale color)
                          (background dark))
-                        :background "dim gray")
+                        :background "dim gray" :extend t)
                        (t
-                        :slant italic))
+                        :slant italic :extend t))
   "Face used for editable fields."
   :group 'widget-faces)
 

I wonder how many similar fields shrunk to the size of the cursor
still exist.  Maybe web forms in eww?





reply via email to

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