[slim-vim] ECL + Vim, debugging issues
Brad Beveridge
brad.beveridge at gmail.com
Mon Jun 26 19:54:39 CDT 2006
On 26/06/06, Brad Beveridge <brad.beveridge at gmail.com> wrote:
> On 26/06/06, Larry Clapp <larry at theclapp.org> wrote:
> > On Mon, Jun 26, 2006 at 12:50:08PM -0700, Brad Beveridge wrote:
> > > Ok, guess I shouldn't have done it from memory :) But given your
> > > results, I'll bet that my crashes have happened in the listener
> > > callback. Quite a bit of ECL code gets run during a callback now,
> > > which is probably why I didn't immediately realise the problem.
> >
> > You might want to wrap some error checking around the callback, or
> > call vim:safe-eval explicitly, or something like that, and see if
> > anything changes.
> >
> So change if_ecl.c to use safe eval rather than cl_funcall? I thought
> you had problems with that...
>
> Cheers
> Brad
>
Wrapping my callback in a HANDLER-CASE fixes me. At some stage we
ought to seal up the callback into the same safebox as the rest of Vim
ECL code. I'm in no hurry to get to the bottom of that - I have my
quickfix :)
Cheers
Brad
More information about the slim-vim
mailing list