On Thu, Mar 23, 2006 at 05:16:20PM +0100, Juan Jose Garcia Ripoll wrote:
> On Thu, 2006-03-23 at 10:55 -0500, Larry Clapp wrote:
> > Jim Bailey has linked ECL to Vim (Vim6, so far). Lisp support for
> > Vim is still in the embryo stage (not even infancy yet), but we're
> > working on it. See http://wiki.alu.org:80/Vim_ECL for some
> > general information, including a link to Jim's announcement on the
> > Slimpl mailing list and subsequent discussion. See also
> > http://www.lispniks.com/mailman/listinfo/slim-vim for current
> > discussion.
> Cool! :-D
> From your emails I also noticed that there are some name collisions
> between vim and ECL.
Not yet. Maybe you're talking about here where I said
I had to change a structure definition in Vim from "struct frame"
to "struct vim_frame", since ecl.h uses "struct frame" too.
It turned out that was a problem with using --enable-perlinterp in the
Vim configuration; if you don't try to use Perl and ECL at the same
time (and why would you want to? :), all you have to do is #undef CAR
before including ecl.h, because Vim uses CAR for "carriage return"
(... or something; I forget :).
From Vim's src/if_ecl.h:
No big deal, if you ask me.
Also, Jim uses the "released" version of ecl, which puts ecl.h at (I
think) /usr/local/lib/ecl/ecl.h; I use a recent CVS of ecl, which puts
ecl.h at /usr/local/lib/ecl/ecl/ecl.h; for a while I just didn't
download the Darcs patch that changed my initial
back to Jim's
but eventually I did, and just configured Vim like this:
and that worked for both versions of ecl.
> Perhaps you could list them and I will change the headers
> accordingly (there are many types and functions that must get the
> ecl_ prefix some day).
When we run into any, we'll definitely tell you.