[slim-vim] new patch for vim+ecl; ecl-repl 2.0.0 available
Brad Beveridge
brad.beveridge at gmail.com
Sun Jun 4 23:26:05 CDT 2006
On 6/4/06, Larry Clapp <larry at theclapp.org> wrote:
> Hi, everyone,
>
> I've put a new patch at http://theclapp.org/repos/vim+async+ecl/:
>
> Sun Jun 4 22:47:39 EDT 2006 Larry Clapp <larry at theclapp.org>
> * Lisp->Vim FFI (II)
>
> o Added some more Lisp->Vim FFI bindings.
> o Added several utility macros & functions.
> o changed vim:execute to vim:cmd, to make way for next change
> o added vim:execute -- uses "exec"
> o vim:execute & vim:cmd accept multiple strings & concat them together.
> o changed vim:vim-funcall to just vim:funcall
> o added vim package name (e.g. "vim:funcall") to most Vim-function calls
> o Changed the way def-vim-function uses t & nil
> o added a "point" class -- marks current position
> o New class: point -- used with get-pos / goto-pos
> o New functions (includes generics):
> - find-buffer expand change-to-buffer setq var var-n var-s get-pos goto-pos
> scroll-window position-window multi-line-map normal
> - The various accessors for point: bufnr-of, line-of, col-of, vircol-of,
> winline-of
> o New macros:
> with-buffer get-pos-after with-options
>
> Note the change from vim:execute to vim:cmd!
>
> Many of these changes were to assist & support the re-write of a lot
> of ecl-repl.vim in Lisp. There's now an ecl-repl.vim and an
> ecl-repl.lisp, and a new darcs repository for the ecl-repl files:
> http://theclapp.org/repos/ecl-repl/. I'm not done with the rewrite,
> but it's in pretty good shape.
>
> IMPORTANT: ecl-repl.vim requires a by-hand change (whose necessity
> I'll fix shortly, but I wanted to get this out the door): I hardcoded
> the location of ecl-repl.lisp, which you'll need to update.
>
> Please drop me a line if this works for you (or if it doesn't, of
> course).
>
> -- Larry
>
>
Great stuff. Although I have yet to look at it :)
I think it might be worth while to have a Gray stream class that lets
you write to a stream and have it appear in a vim buffer. There is
already this facility in the ECL-Slime code, but it is probably widely
useful.
Cheers
Brad
More information about the slim-vim
mailing list