Friday, November 29, 2013

Re: vim slow, Lisp, etc.

Let us examine the specific questions, as suggested by mfid. To make a long story short, I may recommend my friends to stick to emacs/evil, but they must first try vim. However, I need to compile Vim with mzscheme (or any other lisp) so they can keep using specific programs. Since I do not know C, I need your help. Emacs has a program, called flymake.el that shows where are the errors in a C program. I guess that Vim has flymake too, but since I was not able to compile Vim, I used flymake from Emacs. All this was suggested by Juan Francisco Cantero Hurtado. I hope you can help me to fix the problems. Here are the errors from Vim make:

if_mzsch.c: In function 'window_new':
if_mzsch.c:1782:5: error: lvalue required as left operand of assignment
if_mzsch.c: In function 'buffer_new':
if_mzsch.c:2136:5: error: lvalue required as left operand of assignment
make[1]: ** [objects/if_mzsch.o] Erro 1
make[1]: Saindo do diretório `/home/rosa/edt/vim/src'
make: ** [first] Erro 2

When I opene if_mzsch.c, flymake shows the following lines in red:


MZ_GC_CHECK();
BUFFER_REF(buf) = self; <-- This line is red
MZ_GC_CHECK();
self->buf = buf;
self->so.type = mz_buffer_type;


static Scheme_Object *
window_new(win_T *win)
{... etc.

MZ_GC_CHECK();
WINDOW_REF(win) = self; <-- This line is red
MZ_GC_CHECK();
self->win = win;
self->so.type = mz_window_type;


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment