[Top][All Lists]

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

Re: scm_wrong_num_args

From: Marius Vollmer
Subject: Re: scm_wrong_num_args
Date: 30 Mar 2001 22:32:53 +0200
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

"Dale P. Smith" <address@hidden> writes:

> Also, when an error occurs the ports are swapped back so that the
> error handling function's input and output ports were at the time of
> the load call, not at the time of the error.  I'm talking about the
> handler you pass to gh_eval_file_with_catch.  There is no way (that
> I know of) to recover the input port so you can find the line and
> column number of the error.

Yes, more generally: in what context should error handlers execute?  I
think they should execute in the dynamic context of the error (with
the list of active handlers suitably adjusted).  However,
`unwind-protect' handlers should be run in the dynamic context of the
unwind-protect form.

reply via email to

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