From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: Set debug output width in REPL Date: Mon, 21 Feb 2011 11:36:36 -0500 Message-ID: <87wrktxs2z.fsf@netris.org> References: <475017.40217.qm@web37908.mail.mud.yahoo.com> <871v31z7rr.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1298306227 7114 80.91.229.12 (21 Feb 2011 16:37:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2011 16:37:07 +0000 (UTC) Cc: guile-devel To: Mike Gran Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Feb 21 17:37:03 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PrYkt-0008H0-T3 for guile-devel@m.gmane.org; Mon, 21 Feb 2011 17:37:00 +0100 Original-Received: from localhost ([127.0.0.1]:56719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrYks-0004sS-V6 for guile-devel@m.gmane.org; Mon, 21 Feb 2011 11:36:59 -0500 Original-Received: from [140.186.70.92] (port=43584 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrYkf-0004qG-0b for guile-devel@gnu.org; Mon, 21 Feb 2011 11:36:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrYke-0004t5-2B for guile-devel@gnu.org; Mon, 21 Feb 2011 11:36:44 -0500 Original-Received: from world.peace.net ([216.204.32.208]:59214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrYkd-0004sr-VT for guile-devel@gnu.org; Mon, 21 Feb 2011 11:36:44 -0500 Original-Received: from ip68-9-118-38.ri.ri.cox.net ([68.9.118.38] helo=freedomincluded) by world.peace.net with esmtpa (Exim 4.69) (envelope-from ) id 1PrYkY-0000W5-NS; Mon, 21 Feb 2011 11:36:38 -0500 Original-Received: from mhw by freedomincluded with local (Exim 4.69) (envelope-from ) id 1PrYkX-0003a6-DC; Mon, 21 Feb 2011 11:36:37 -0500 In-Reply-To: <871v31z7rr.fsf@netris.org> (Mark H. Weaver's message of "Mon, 21 Feb 2011 11:12:24 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 216.204.32.208 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11670 Archived-At: I wrote: > It seems to me that *width* should not be a global variable, but rather > a per-repl setting. It probably belongs in the options field of the > record, no? See "repl-default-options" in repl/common.scm. Better yet, maybe it should be an optional attribute of the output port, which would allow pretty-print and truncated-print to use it as well. Output ports attached to terminals could determine the terminal width from the OS, on systems that support it. What do you think? Mark