From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: pretty-print #:width option Date: Fri, 07 Nov 2003 09:52:52 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87k76dqckr.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068162850 8554 80.91.224.253 (6 Nov 2003 23:54:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2003 23:54:10 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Nov 07 00:54:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AHtx1-0005U2-00 for ; Fri, 07 Nov 2003 00:54:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AHtwj-0007pu-DZ for guile-devel@m.gmane.org; Thu, 06 Nov 2003 18:53:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AHtwZ-0007jj-Vj for guile-devel@gnu.org; Thu, 06 Nov 2003 18:53:39 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AHtvy-0007NJ-3f for guile-devel@gnu.org; Thu, 06 Nov 2003 18:53:34 -0500 Original-Received: from [61.8.0.36] (helo=snoopy.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AHtvx-0007LB-8p for guile-devel@gnu.org; Thu, 06 Nov 2003 18:53:01 -0500 Original-Received: from mongrel.pacific.net.au (mongrel.pacific.net.au [61.8.0.107]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id hA6NqwV0006792 for ; Fri, 7 Nov 2003 10:52:58 +1100 Original-Received: from localhost (ppp99.dyn228.pacific.net.au [203.143.228.99]) by mongrel.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id hA6NqADJ024929 for ; Fri, 7 Nov 2003 10:52:11 +1100 Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 1AHtvo-0002v2-00; Fri, 07 Nov 2003 09:52:52 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2979 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2979 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) gives (x x 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. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel