unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: BT Templeton <bpt@hcoop.net>
To: guile-devel@gnu.org
Subject: [PATCH] set width for `,trace' command
Date: Fri, 22 Jul 2011 11:35:30 -0400	[thread overview]
Message-ID: <87livq8h19.fsf@olor.terpri.org> (raw)

* module/system/repl/command.scm (trace): Set trace width to terminal
  width by default.
---
 module/system/repl/command.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/module/system/repl/command.scm b/module/system/repl/command.scm
index a2f2a6f..98325cb 100644
--- a/module/system/repl/command.scm
+++ b/module/system/repl/command.scm
@@ -514,7 +514,7 @@ Trace execution."
   ;; FIXME: doc options, or somehow deal with them better
   (apply call-with-trace
          (repl-prepare-eval-thunk repl (repl-parse repl form))
-         opts))
+         (cons* #:width (terminal-width) opts)))
 
 \f
 ;;;
-- 
1.7.5.4




             reply	other threads:[~2011-07-22 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22 15:35 BT Templeton [this message]
2011-10-22 10:52 ` [PATCH] set width for `,trace' command Ludovic Courtès

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/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87livq8h19.fsf@olor.terpri.org \
    --to=bpt@hcoop.net \
    --cc=guile-devel@gnu.org \
    /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.
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).