[slim-vim] ECL's gray streams working, or me misunderstanding?
Mikael Jansson
mail at mikael.jansson.be
Sun Jun 22 15:16:33 CDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Heya,
Replying to myself here...
>
> From what I understand, the point of that is to have everything written
> to *s-o* dumped in a Vim buffer, so I executed the following:
>
> :e Lisp "to get a buffer named Lisp
> :ecl << EOF
> (setf (vim::buffer vim::*vim-buf-stream* (vim:current-buffer)))
> (format t "Hello, world.")
> EOF
>
Once again, I seem to have jumped to conclusions a bit too quick.
I successfully get a "U^A" in the current vim buffer (that's good), but
I don't get "Hello, world." (that's bad.)
Even if I, to be on the safe side, do this after rebinding
vim::*vim-buf-stream*::
(format vim::*vim-buf-stream* "Hello, world")
there's still no difference - only the "^U^A" and nothing else ends up
in the buffer.
I know that $VIMRUNTIME/if_ecl.lisp has been read in, as there's code
automatically loading it first time you execute an :ecl command. (and
the fact that safe-eval works, which is used internally).
Any ideas?
- --
Mikael Jansson | http://mikael.jansson.be | GPG Key 0x88986608
Limp: The Vim Lisp IDE - http://mikael.jansson.be/hacking/limp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIXrMhs8liwIiYZggRAhAyAJwLllhHvNsQWKH9H1ZLB4eCK6Ri8gCgwQFO
ASsG1VCbBZOC+pHlXEcVXPo=
=0JGI
-----END PGP SIGNATURE-----
More information about the slim-vim
mailing list