[Top][All Lists]

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

Re: Line/column numbers in user supplied exception handlers

From: Neil Jerram
Subject: Re: Line/column numbers in user supplied exception handlers
Date: 06 Jul 2001 19:18:11 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

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

    Dale> Neil Jerram wrote:
    >>  I'd like to experiment with this; what I have in mind is,
    >> before `scm_ithrow (key, arg_list, 1);' in scm_error:
    >> scm_c_run_hook (scm_error_hook, scm_cons (key, arg_list));
    >> Then, just as you say, one of the hook procedures can exit
    >> non-locally if it wants to; but if none of them do, the
    >> scm_ithrow will happen.

    Dale> I was going to suggest this also.

    Dale> What if the hook is empty?  Should there be a default
    Dale> procedure that runs, or should the startup code add the
    Dale> default to the hook?

Well, in my suggestion, the default is the existing scm_ithrow, so
it's fine for the hook to be empty.  But I think Marius has a more
wide-ranging change in mind ...


reply via email to

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