[slim-vim] Slim-vim, future and milestones. (V0.1!!!)
Brad Beveridge
brad.beveridge at gmail.com
Thu Jul 13 17:37:32 CDT 2006
On 13/07/06, Larry Clapp <larry at theclapp.org> wrote:
> On Thu, Jul 13, 2006 at 03:07:40PM -0700, Brad Beveridge wrote:
> > On 13/07/06, Larry Clapp <larry at theclapp.org> wrote:
> > > Are you using the latest vim70+async+ecl tree? When I invoke the
> > > inspector (on a number, if it matters) I get an empty inspector
> > > window and a brief Vim error about "Using List as a String".
> > >
> > > -- Larry
> > >
> > > _______________________________________________
> > > slim-vim mailing list
> > > slim-vim at lispniks.com
> > > http://www.lispniks.com/mailman/listinfo/slim-vim
>
> Just by the way, to you and everybody on the list, please cut the
> header from your reply. VGx should do it in most cases. :)
>
> > No, I'm not actually using the latest vim repo, though I don't think
> > that I am _that_ far out of date. I'll do a pull tonight and fix
> > the bug (unless you feel like fixing it first!). I'm guessing that
> > get-line might return a string in my slightly older version?
>
> I just meant the Vim7 version as opposed to the old Vim6.4 version.
>
> I found the problem, but haven't fixed it yet. In buffer-util.lisp
> you (vim:funcall "tabpagebuflist"), which gives the "Using List as a
> String" error. :echo tabpagebuflist() prints "[1, 4]" (without the
> quotes) which is apparently not a string. It appears to be a
> fundamental problem with vim:funcall'ing a Vim function that returns a
> List.
>
> -- Larry
Which header do you mean? The three lines that are appended at the
end by the mailing list program?
I remember this bug now - the issue is in Vim7. It if_ecl.c there is
a call to eval_to_string, which calls into Vim's eval.c module. If
you look at eval_to_string, you can either get back a Vim List (which
at the moment our FFI can't parse), or a string that uses \n as an
item seperator. I changed if_ecl.c to output the later. I don't have
the code in front of me as a complete unit, so I can't really be more
specific, sorry.
Hope that helps. If it does, can you please check the change in to
the Vim7 repo?
Cheers
Brad
--
Go and see "An Inconvenient Truth"
http://www.climatecrisis.net/
More information about the slim-vim
mailing list