all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jean Louis <bugs@gnu.support>
Cc: 43977@debbugs.gnu.org
Subject: bug#43977: 28.0.50; customize-face, default, checkboxes not aligned with fields
Date: Wed, 14 Oct 2020 06:49:50 +0200	[thread overview]
Message-ID: <87o8l5za1d.fsf@gnus.org> (raw)
In-Reply-To: <867druny0h.fsf@protected.rcdrun.com> (Jean Louis's message of "Tue, 13 Oct 2020 14:52:46 +0300")

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	other threads:[~2020-10-14  4:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-13 11:52 bug#43977: 28.0.50; customize-face, default, checkboxes not aligned with fields Jean Louis
2020-10-14  4:49 ` Lars Ingebrigtsen [this message]
2020-10-14  5:18   ` Jean Louis
2020-10-14  5:31     ` Lars Ingebrigtsen
2020-10-14  5:36       ` Jean Louis
2020-10-14  5:48         ` Lars Ingebrigtsen
2020-10-14  7:41   ` Andreas Schwab
2020-10-14  8:54     ` Eli Zaretskii
2020-10-14 12:00 ` Mauro Aranda
2020-10-14 15:12   ` Eli Zaretskii
2020-10-14 17:55     ` Mauro Aranda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8l5za1d.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=43977@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.