unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Brahimi Saifullah <brahimi.saifullah@gmail.com>
Cc: 52143@debbugs.gnu.org
Subject: bug#52143: 29.0.50; Customize type `group' displays a hanging colon
Date: Mon, 29 Nov 2021 16:53:30 +0100	[thread overview]
Message-ID: <87pmqjufet.fsf@gnus.org> (raw)
In-Reply-To: <84wnkthhh9.fsf@gmail.com> (Brahimi Saifullah's message of "Sat,  27 Nov 2021 10:10:26 -0300")

Brahimi Saifullah <brahimi.saifullah@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@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





      parent reply	other threads:[~2021-11-29 15:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-27 13:10 bug#52143: 29.0.50; Customize type `group' displays a hanging colon Brahimi Saifullah
2021-11-28 16:16 ` martin rudalics
2021-11-29 15:53 ` Lars Ingebrigtsen [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87pmqjufet.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=52143@debbugs.gnu.org \
    --cc=brahimi.saifullah@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).