[slim-vim] Carbon GUI + ECL
Brad Beveridge
brad.beveridge at gmail.com
Mon Sep 11 12:08:21 CDT 2006
On 11/09/06, Richard Newman <rnewman at tellme.com> wrote:
> > That makes sense. ECL-REPL creates that buffer. We could change it
> > in ecl-slime.vim to modify its filetype I guess. Patch anybody? :)
>
> ... from what I can see:
>
> ecl-repl.vim:
>
> function! s:New_tmp_lisp_buffer( name, modifiable )
> silent exec "vert new" a:name
> let bufnr = bufnr( "%" )
> silent setlocal bufhidden=hide buftype=nofile filetype=lisp
> noswapfile
> let &l:modifiable = a:modifiable
> close
> return bufnr
> endfunction
>
> ...
>
> let s:repl_buffer_nr = s:New_tmp_lisp_buffer( s:lisp_output, 0 )
> let s:lisp_buffer_nr = s:New_tmp_lisp_buffer( s:lisp_input, 1 )
> ecl (defparameter ecl-repl::*repl-buffer-nr* (1- (vim:var
> "s:repl_buffer_nr")))
> ecl (defparameter ecl-repl::*lisp-buffer-nr* (1- (vim:var
> "s:lisp_buffer_nr")))
> ecl (setf ecl-repl::*s-lisp-output* (vim:var "s:lisp_output"))
>
>
> It looks like that's not the problem at all... unless I'm confused,
> which I might be (I'm not used to vimscript).
I wonder if the autocmd stuff from Slim-vim isn't effecting that
buffer? I don't know enough about that aspect of Vim really.
Cheers
Brad
More information about the slim-vim
mailing list