This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Catching errors from scm_run_hook


Greg Badros <gjb@cs.washington.edu> writes:

> Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se> writes:
> 
> > Greg Badros <gjb@cs.washington.edu> writes:
> > 
> > > What is the right, supported way to catch errors when invoking
> > > scm_run_hook?
> > 
> > The right thing would be to use scm_internal_catch.  Is that too
> > complicated?
> 
> Maybe not, if it were well documented.  But, I think it's almost always
> the case that the user will want to run hooks catching errors, so that
> common case should have a simpler facility.

I think you should include such a facility in SCWM.  If enough
application writers require such a facility, we'll include it in a
later release.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]