[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Set debug output width in REPL
From: |
Mark H Weaver |
Subject: |
Re: Set debug output width in REPL |
Date: |
Mon, 21 Feb 2011 11:12:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Mike Gran <address@hidden> writes:
> I find that the backtrace output in the REPL is too constrained
> my verbose code. The attached patch would let one set the
> width of the backtrace and locals meta-commands.
> index d4b3e4a..40d720d 100644
> --- a/module/system/repl/command.scm
> +++ b/module/system/repl/command.scm
> @@ -71,6 +71,8 @@
> (define *show-table*
> '((show (warranty w) (copying c) (version v))))
>
> +(define *width* 72)
> +
> (define (group-name g) (car g))
> (define (group-commands g) (cdr g))
> What do you think?
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
<repl> record, no? See "repl-default-options" in repl/common.scm.
Thanks,
Mark