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

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

bug#43977: 28.0.50; customize-face, default, checkboxes not aligned with


From: Lars Ingebrigtsen
Subject: bug#43977: 28.0.50; customize-face, default, checkboxes not aligned with fields
Date: Wed, 14 Oct 2020 06:49:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:

> I can see that check boxes in customize-face -> default, are not aligned
> with fields.

[...]

> Hide Default face: [sample]
>     State : STANDARD.
>    Basic default face.
>    [X] :
>        Font Family: FreeMono

This looks correctly aligned, but I'm guessing you're referring to the
newlines here?  And those do indeed look kinda superfluous.

After digging into the widget code for what seems like hours, I finally
found out what's inserting that newline (by adding a debug-on-entry on
`insert', of course).  It's this:

(define-widget 'group 'default
  "A widget which groups other widgets inside."
  :convert-widget 'widget-types-convert-widget
  :copy 'widget-types-copy
  :format ":\n%v"

But I have no idea how to override that in the context of a face
definition.  Anybody?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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