unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: larsi@gnus.org, maurooaranda@gmail.com, 6755@debbugs.gnu.org
Subject: bug#6755: 24.0.50; Customize buffer is too wide. Put doc string on separate line.
Date: Sun, 22 Sep 2019 15:56:04 -0700 (PDT)	[thread overview]
Message-ID: <9fb66923-b2ea-4df9-8d2b-2ecced6b302e@default> (raw)
In-Reply-To: <<83v9tkp8ui.fsf@gnu.org>>

> > It's about :tag lines.  The screenshots and the
> > defcustom provided make that clear, I believe.
> >
> > > Therefore, it makes no sense at all to start that text on a new line.
> >
> > Why do you think that follows logically?  I don't.
> >
> > This bug report / enhancement request is precisely to
> > put that text on its own line.
> 
> And that's exactly what makes no sense: 

I disagree that it makes no sense.  In fact I think it
makes a lot of sense.  Hence this enhancement request.

> we would be artificially separating the value menu
> button from the description of the current value.

Look at the screenshots.  I don't see why anyone would
find it odd, let alone "make no sense") to show the doc
for the current value just below button, on the next line.

But there's no accounting for tastes, as they say.
You have yours; I have mine.

To me it's artificial to show the :tag text to the right
of the button, especially when it is more than a few
chars long.

> So if you insist on doing this, I object to this proposal.

That's what this enhancement request is about.  Does
that count as "insistence"?

> > At least do so when the text would go past the conventional limit
> > (70 chars or whatever) when placed after Customize constructs
> > (boilerplate text, buttons, etc.).
> 
> No.  It is up to the Lisp programmers to make sure the text is short
> enough to not cause this.  Exactly like with doc strings.

Not the same at all.  Why? because Customize sticks
a variable amount of stuff before the :tag text.

1. You know where a doc string will be displayed,
   and it always starts in column 1.

2. But :tag text depends on the stuff that Customize
   adds to the buffer before it.

   In the case of the `Value Menu' button, that
   stuff includes the option (or face) name, which
   varies from option to option.

   That means that the longer the option name, the
   less room for the :tag string.  There should be
   no such relation between their lengths.  (Why
   would there be?)

   The :tag in the screenshot is 55 chars.  Given
   the option name of 34 chars, plus the colon,
   `Value Menu' button, and spaces Customize adds,
   there is only room for a :tag of 30 chars.

3. Imagine if we did something similar for `C-h v':
   Put, say, the first line of the doc string (or
   some other descriptive text, if you don't like
   that hypothetical) to the right of the var name.

   That wouldn't make much sense, would it?  Why?
   Because a long variable name would mean you'd
   have to use a short description.

   There's no reason to impose any relation between
   those lengths.  Doing so "makes no sense", to me.
 
> > The problem is :tag lines.  They should be moved to
> > their own line - at least when combining them with
> > widget artifacts makes the resulting displayed content
> > too wide.
> 
> Disagree.





       reply	other threads:[~2019-09-22 22:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<<CABczVwc9RpGvxYMTX8iSvhFqJ2eBZLvHvaWsZ4n2FZfYh_KZvg@mail.gmail.com>
     [not found] ` <<<871rwgt32h.fsf@gnus.org>
     [not found]   ` <<<CABczVwd85QoEXfyRw-kskvSh_fB4GBdOC7HrTsM=0p8m8_JRnQ@mail.gmail.com>
     [not found]     ` <<<87tv99loqr.fsf@gnus.org>
     [not found]       ` <<<CABczVwe3QoPxeCAzNUdGFUgwE1YLTe6rDk73j-XH-_ppWp6=OA@mail.gmail.com>
     [not found]         ` <<<780890ec-8e55-4829-942f-b9daf3513908@default>
     [not found]           ` <<<CABczVwfyLe4wFKKd7gU-E8jgNEg_pAup=ymdrr1yGWbTZHTzCA@mail.gmail.com>
     [not found]             ` <<<db8fbc61-0816-4750-a04f-62d7a2858849@default>
     [not found]               ` <<<837e60qt1f.fsf@gnu.org>
     [not found]                 ` <<8a2c1a21-5498-4e5d-a28c-88810ad7aa10@default>
     [not found]                   ` <<83v9tkp8ui.fsf@gnu.org>
2019-09-22 22:56                     ` Drew Adams [this message]
     [not found] <<CABczVwc9RpGvxYMTX8iSvhFqJ2eBZLvHvaWsZ4n2FZfYh_KZvg@mail.gmail.com>
     [not found] ` <<871rwgt32h.fsf@gnus.org>
     [not found]   ` <<CABczVwd85QoEXfyRw-kskvSh_fB4GBdOC7HrTsM=0p8m8_JRnQ@mail.gmail.com>
     [not found]     ` <<87tv99loqr.fsf@gnus.org>
     [not found]       ` <<CABczVwe3QoPxeCAzNUdGFUgwE1YLTe6rDk73j-XH-_ppWp6=OA@mail.gmail.com>
     [not found]         ` <<780890ec-8e55-4829-942f-b9daf3513908@default>
     [not found]           ` <<CABczVwfyLe4wFKKd7gU-E8jgNEg_pAup=ymdrr1yGWbTZHTzCA@mail.gmail.com>
     [not found]             ` <<db8fbc61-0816-4750-a04f-62d7a2858849@default>
     [not found]               ` <<837e60qt1f.fsf@gnu.org>
2019-09-22 16:09                 ` bug#6755: 24.0.50; Customize buffer is too wide. Put doc string on separate line Drew Adams
2019-09-22 16:57                   ` Eli Zaretskii
2019-09-23 10:10                     ` Lars Ingebrigtsen
2010-07-29 16:29 Drew Adams
2011-07-03 13:17 ` Lars Magne Ingebrigtsen
2011-07-03 14:13   ` Drew Adams
2011-07-03 14:51     ` Lars Magne Ingebrigtsen
2011-07-03 15:12       ` Drew Adams
2011-07-03 15:19       ` Lars Magne Ingebrigtsen
2011-07-04  4:48         ` Drew Adams
2011-07-04 12:24           ` Lars Magne Ingebrigtsen
2011-07-04 16:21             ` Drew Adams
2011-07-05 13:36               ` Lars Magne Ingebrigtsen
2011-07-03 15:25       ` Lars Magne Ingebrigtsen
2019-09-16 14:54 ` Mauro Aranda
2019-09-16 20:10   ` Lars Ingebrigtsen
2019-09-17 12:04     ` Mauro Aranda
2019-09-18 13:26       ` Lars Ingebrigtsen
2019-09-21 10:53         ` Mauro Aranda
2019-09-21 14:44           ` Drew Adams
2019-09-21 17:04             ` Mauro Aranda
2019-09-21 22:36               ` Drew Adams
2019-09-22 14:55                 ` Eli Zaretskii
2019-09-22 17:24                   ` Mauro Aranda
2019-09-22 19:11                     ` Eli Zaretskii
2019-09-22 12:30           ` Lars Ingebrigtsen

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=9fb66923-b2ea-4df9-8d2b-2ecced6b302e@default \
    --to=drew.adams@oracle.com \
    --cc=6755@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    --cc=maurooaranda@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).