[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pretty-print #:width option

From: Kevin Ryde
Subject: pretty-print #:width option
Date: Fri, 07 Nov 2003 09:52:52 +1000
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Looking at the new #:width option on pretty-print, I noticed

        (use-modules (ice-9 pretty-print))
        (pretty-print (make-list 25 'x) #:width 1000)


        (x x

where I hoped, with such a big width, to get one line

        (x x x ... x)

Nosing around the code I guess max-expr-width is putting a hard limit
of 50 columns on "expressions" like this.

Doesn't seem terribly logical, but perhaps there's some reasoning
behind it.  #:width works to reduce the permitted columns at least.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]