From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#43977: 28.0.50; customize-face, default, checkboxes not aligned with fields Date: Wed, 14 Oct 2020 08:18:09 +0300 Message-ID: <20201014051809.GE30079@protected.rcdrun.com> References: <867druny0h.fsf@protected.rcdrun.com> <87o8l5za1d.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18599"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14.0 (2020-05-02) Cc: 43977@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 14 07:19:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSZBz-0004jn-O4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 07:19:15 +0200 Original-Received: from localhost ([::1]:40132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSZBy-0003pI-QN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 01:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSZBm-0003ot-LC for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 01:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSZBm-00029g-Bj for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 01:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSZBm-0007NS-8C for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 01:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Oct 2020 05:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43977 X-GNU-PR-Package: emacs Original-Received: via spool by 43977-submit@debbugs.gnu.org id=B43977.160265270128306 (code B ref 43977); Wed, 14 Oct 2020 05:19:02 +0000 Original-Received: (at 43977) by debbugs.gnu.org; 14 Oct 2020 05:18:21 +0000 Original-Received: from localhost ([127.0.0.1]:49747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSZB6-0007MU-Na for submit@debbugs.gnu.org; Wed, 14 Oct 2020 01:18:20 -0400 Original-Received: from static.rcdrun.com ([95.85.24.50]:55817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSZB4-0007ME-LV for 43977@debbugs.gnu.org; Wed, 14 Oct 2020 01:18:19 -0400 Original-Received: from localhost ([::ffff:41.202.241.58]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0B38.000000005F868A18.000031AE; Wed, 14 Oct 2020 05:18:16 +0000 Content-Disposition: inline In-Reply-To: <87o8l5za1d.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190476 Archived-At: * Lars Ingebrigtsen [2020-10-14 07:50]: > Jean Louis 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. To me this would look correctly aligned and displayed: [X] Font Family: FreeMono And finally why is there : before the field name, no need for it, it is obvious that the checkbox belongs to the same line, however, it is formatted that field text is not placed on the same line, no logic there. On console emacs -nw it looks same way degraded and confusing to se something like Try doing M-x customize-face RET bold RET You will see Hide Bold face: [sample] State : STANDARD. Basic bold face. [X] : Weight: Value Menu bold Show All Attributes which is simply wrong, neither colon nor new line belongs there. Now if I click on Show All Attributes, I get following list nicely formatted, except the one line not being nicely formatted. Hide Bold face: [sample] State : STANDARD. Basic bold face. [ ] Font Family: -- [ ] Font Foundry: -- [ ] Width: -- [ ] Height: -- [X] : Weight: Value Menu bold [ ] Slant: -- [ ] Underline: -- [ ] Overline: -- [ ] Strike-through: -- [ ] Box around text: -- [ ] Inverse-video: -- [ ] Foreground: -- [ ] Distant Foreground: -- [ ] Background: -- [ ] Stipple: -- [ ] Extend: -- [ ] Inherit: -- Hide Unused Attributes > 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? Cannot you just remove the colon and new line?