From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 14754@debbugs.gnu.org
Subject: bug#14754: 24.3.50; `C-h v' needs to fill wide `pp' lines (493 chars wide?!)
Date: Fri, 07 Feb 2014 22:38:52 -0800 [thread overview]
Message-ID: <8738juyupv.fsf@building.gnus.org> (raw)
In-Reply-To: <22ab55c9-7ec8-4622-8bcd-f67e5a228377@default> (Drew Adams's message of "Sun, 30 Jun 2013 00:10:19 -0700 (PDT)")
Drew Adams <drew.adams@oracle.com> writes:
> The lines in the *Help* buffer should respect `fill-column' as much as
> possible, other things being equal.
>
> emacs -Q
>
> C-h v imagemagick-enabled-types
>
> You see the value printed on a single line that is 493 chars wide!
> That's ridiculous, and it does not play well with code that fits the
> *Help* frame or window to its buffer text etc.
>
> The problem is this part of `describe-variable':
>
> (let ((from (point))
> (line-beg (line-beginning-position))
> (print-rep
> (let ((print-quoted t))
> (prin1-to-string val))))
> (if (< (+ (length print-rep) (point) (- line-beg)) 68)
> (insert print-rep)
> (terpri)
> (pp val)
etc
Is there any reason why it doesn't just pretty-print the values always?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2014-02-08 6:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-30 7:10 bug#14754: 24.3.50; `C-h v' needs to fill wide `pp' lines (493 chars wide?!) Drew Adams
2013-07-01 17:07 ` Drew Adams
2014-02-08 6:38 ` Lars Ingebrigtsen [this message]
2014-02-10 3:56 ` Drew Adams
-- strict thread matches above, loose matches on Subject: below --
2022-06-09 16:36 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
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=8738juyupv.fsf@building.gnus.org \
--to=larsi@gnus.org \
--cc=14754@debbugs.gnu.org \
--cc=drew.adams@oracle.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).