[slim-vim] ECL Vim FFI, buffer writing bugs

Brad Beveridge brad.beveridge at gmail.com
Tue Aug 8 22:37:47 CDT 2006


On 08/08/06, Larry Clapp <larry at theclapp.org> wrote:
> On Tue, Aug 08, 2006 at 06:12:25PM -0700, Brad Beveridge wrote:
> > There are subtle bugs somewhere in the ECL/Vim interface.
> > I can see them when I
> > 1) Split the screen into 2 buffers, set one to be a lisp file and one
> > to be the --debug-sv-- buffer
> > 2) The lisp file has some functions that are medium size, and I call
> > (disassemble 'func) on them, producing 80 odd notes and quite a bit of
> > output.
> >
> > The Vim buffers go strange, text gets a bit messed up, ie - some
> > text (with its colouring) from the Lisp buffer gets pushed into the
> > --debug-sv-- buffer.
> > Some of the text in each buffer can get "moved around" it looks sort
> > of right, but off by a line or an indent.
>
> I've seen something like this in my usage; a ^L to redraw the screen
> fixed it.  Agree it's a bug, though, regardless.
>
> > ECL/Vim can and will crash with a Segmentation violation.  It
> > crashes to the ECL console most often, so I think something in there
> > is the problem.
>
> Bummer.  Haven't seen that for a while.
Yah, me either - but hopefully some regression tests will find the bugs again.

>
> > Also, I am writing the text out to a buffer from within an ECL
> > callback, so that could be an area of issue.
>
> Could be.  Maybe comment out that part and see what happens, or write
> to a string output buffer instead.
>
> Good luck.  Sorry I've no time.  Working sucks.  :(

No problem, I know how it is!

Cheers
Brad


More information about the slim-vim mailing list