Mike Gran <spk...@yahoo.com> 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

Reply via email to