guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add new debug meta-command ,error


From: Andy Wingo
Subject: Re: [PATCH] Add new debug meta-command ,error
Date: Mon, 30 Aug 2010 08:01:32 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi,

Thanks for the patch. Only one small comment; feel free to commit when
you're happy with it (I think you have access).

On Sun 29 Aug 2010 21:52, "Jose A. Ortega Ruiz" <address@hidden> writes:

> +(define-meta-command (error repl)
> +  "error
> +Display the original error message."
> +  (let ((debug (repl-debug repl)))
> +     (format #t "~a~%" (if debug (debug-error-message debug) ""))))
> +

Perhaps use define-stack-command to handle the no-debug case. In any
case if there is no debug, we need a better message.

Thanks,

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]