unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] set width for `,trace' command
@ 2011-07-22 15:35 BT Templeton
  2011-10-22 10:52 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: BT Templeton @ 2011-07-22 15:35 UTC (permalink / raw)
  To: guile-devel

* 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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] set width for `,trace' command
  2011-07-22 15:35 [PATCH] set width for `,trace' command BT Templeton
@ 2011-10-22 10:52 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2011-10-22 10:52 UTC (permalink / raw)
  To: guile-devel

Thanks, applied.

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-22 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 15:35 [PATCH] set width for `,trace' command BT Templeton
2011-10-22 10:52 ` Ludovic Courtès

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).