GNU bug report logs - #52143
29.0.50; Customize type `group' displays a hanging colon

Previous Next

Package: emacs;

Reported by: Brahimi Saifullah <brahimi.saifullah <at> gmail.com>

Date: Sat, 27 Nov 2021 13:11:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 52143 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Brahimi Saifullah <brahimi.saifullah <at> gmail.com>
Cc: 52143 <at> debbugs.gnu.org
Subject: Re: bug#52143: 29.0.50; Customize type `group' displays a hanging
 colon
Date: Mon, 29 Nov 2021 16:53:30 +0100
Brahimi Saifullah <brahimi.saifullah <at> gmail.com> writes:

> Or with a newline:
>
>     :format (concat (propertize ":" 'display "") "\n%v")

I think that looks pretty good, so I've pushed it to Emacs 29.

martin rudalics <rudalics <at> gmx.at> writes:

>>>From what I gather: a colon is necessary, for whatever reason.  So having a
>> tag-less type, as `group' claims to be, is not possible through normal means.
>
> I don't know why 'group' should be "tag-less" (whatever that incurs)
> and thus would simply use
>
> (define-widget 'group 'default
>   "A widget which groups other widgets inside."
>   :convert-widget 'widget-types-convert-widget
>   :copy 'widget-types-copy
>   :tag "Group"
>   :format "%{%t%}:\n%v"
>   ...
>
> But maybe there is a reason for the current specification.

I'm guessing the reason is that they wanted to have the display less
cluttered?

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




This bug report was last modified 3 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.