[slim-vim] ECL + Vim, debugging issues
Larry Clapp
larry at theclapp.org
Tue Jun 27 05:02:54 CDT 2006
On Mon, Jun 26, 2006 at 09:56:10PM -0400, Larry Clapp wrote:
> On Mon, Jun 26, 2006 at 03:54:07PM -0700, Brad Beveridge 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...
>
> No, that was a red herring. safe-eval is safe. :)
Ack, I read that too quickly. Don't change *all* callbacks to use
safe-eval, just change *your* callback to use safe-eval.
Or do what you actually did. That's fine too. :)
-- L
More information about the slim-vim
mailing list