GNU bug report logs -
#14754
24.3.50; `C-h v' needs to fill wide `pp' lines (493 chars wide?!)
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sun, 30 Jun 2013 07:11:02 UTC
Severity: wishlist
Merged with 11934,
14764
Found in versions 24.1, 24.3.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Drew Adams <drew.adams <at> 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/
This bug report was last modified 2 years and 342 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.