From: Drew Adams <drew.adams@oracle.com>
To: Mauro Aranda <maurooaranda@gmail.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 6755@debbugs.gnu.org
Subject: bug#6755: 24.0.50; Customize buffer is too wide. Put doc string on separate line.
Date: Sat, 21 Sep 2019 22:36:23 +0000 (UTC) [thread overview]
Message-ID: <db8fbc61-0816-4750-a04f-62d7a2858849@default> (raw)
In-Reply-To: <CABczVwfyLe4wFKKd7gU-E8jgNEg_pAup=ymdrr1yGWbTZHTzCA@mail.gmail.com>
>> FWIW, this enhancement request (or bug report)
>> did not ask for the doc string to be filled. It
>> asked for it to be moved to its own line. Those
>> are not at all the same thing.
>
> I see. When I read the bug report, I thought it was just a suggestion to
> fix the problem of the customize buffer getting too wide. Perhaps I was
> wrong.
The bug report just asks that the first line of a doc
string be put on its own line, and likewise for :tag
lines.
>> But that's not a fulfillment of _this_ enhancement
>> request (or bug fix). What's needed for this report
>> is to move the doc string to its own line. Can that
>> please be done, or at least considered?
>
> May I ask you then, what is the :format option missing for this situation?
>
> For example, if one of the const types of the defcustom you provided
> had the following format-string:
> (const
> :tag
> "Update `*Completions*' incrementally if already displayed"
> :format "\n%t\n%d"
> t)
>
> then the tag would go to its own line. And that avoids making the
> customize buffer too wide.
Maybe so, but defcustom writers should not need to worry
about that. See above.
Imagine if when you do `C-h f' the *Help* buffer stuffed
a bunch of stuff in front of the first docstring line.
That's just obstruction; it just gets in the way. And
it's not necessary.
Customize should just assume that a docstring has the
honor of being shown starting in column 1. And the same
for a :tag line.
>> And if you _also_ want to consider filling the doc
>> string (that should be a separate enhancement
>> request), please do _not_ do so systematically. Let
>> users choose to do that (opt in), with a user option.
>
> I take all the points you raised about the filling option, but I think
> it might be better to at least postpone that discussion.
Filling is not part of this enhancement request (bug
report). Please don't fill docstrings or :tag lines,
at least not for this bug. If someone wants to consider
doing that, and open a discussion about it, please file
a separate enhancement request.
When I spoke of authors carefully "formatting" doc strings
I meant that they manually adjust the text and its line
lengths, to fit the convention. That includes, e.g.,
taking `\\[...]', `\\<...>' and `\\{...}' into account.
Whatever an author implements as the source for a doc
string should be respected. Likewise, for a :tag line.
If an author wants to use `:format' in this context
she can do so. She should not be forced to do that
systematically, just to get a docstring or :tag line
to start in column 1, i.e., on its own line.
next prev parent reply other threads:[~2019-09-21 22:36 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 16:29 bug#6755: 24.0.50; Customize buffer is too wide. Put doc string on separate line 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 [this message]
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
[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 ` Drew Adams
2019-09-22 16:57 ` Eli Zaretskii
2019-09-23 10:10 ` Lars Ingebrigtsen
[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
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=db8fbc61-0816-4750-a04f-62d7a2858849@default \
--to=drew.adams@oracle.com \
--cc=6755@debbugs.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 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.