[slim-vim] Problem with :ecl in Vim-7.x
Larry Clapp
larry at theclapp.org
Wed May 28 07:23:47 CDT 2008
On Tue, May 27, 2008 at 12:56:04PM +0200, Mikael Jansson wrote:
> Running
>
> :ecl (format t "Hello, world!~%")
>
> I get this:
>
> <ed>
> !^A
>
> I've tried extracting the ecl-specific bits out of the
> vim70/async/ecl tree and apply them onto Vim from CVS, so there's a
> high chance I did something wrong. But, before trying to apply it
> all again, I'd like to know if this is something you've encountered
> earlier, and if so, how you solved it?
Doesn't ring a bell. Works in my copy (last compiled circa January
2007):
:ecl (format t "foo~%")
;;; Loading #P"/usr/share/vim/vimcurrent/if_ecl.lisp"
foo
You need to make sure that *standard-output* is bound around any :ecl
call. What you bind it to is an interesting question. For debugging
I'd probably bind it to a global string-stream that I'd print out at
the end of the :ecl call. For production, ideally you'd like a Grey
stream that prints to the vim output area.
Have you compiled the version of vim70+async+ecl from theclapp.org and
verified that it works? That seems like a good debugging step.
-- Larry
More information about the slim-vim
mailing list