Hi,

Editing C code i'm seeing this problem a lot I had to stop using vim 7 for 6 
because of it.

Sometimes it happens just from arrowing up sometimes it happents jumping from 
closing -> open brace.

Sometimes it completely locks up vim, sometimes it can recover. I saw this in 
the b release also fyi.

The error is:

Error detected while processing function <SNR>10_Highlight_Matching_Pair:
line   41:
E121: Undefined variable: c_lnu

complete lockup have to kill -9 vim

Error detected while processing function <SNR>10_Highlight_Matching_Pair:
line   49:
E121: Undefined variable: c_lnu
Press ENTER or type command to continue
Error detected while processing function <SNR>10_Highlight_Matching_Pair:
line   49:
E15: Invalid expression: c_lnu - 100
Press ENTER or type command to continue


resumes normal operation after


I'm using latest vim compiled as:


VIM - Vi IMproved 7.0c03 BETA (2006 Mar 29, compiled Apr 11 2006 08:16:42)
Compiled by [EMAIL PROTECTED]
Huge version with GTK2 GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent 
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic 
+emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path
+folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist 
+keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu
+mksession +modify_fname +mouse +mouseshape +mouse_dec -mouse_gpm 
-mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang -mzscheme
+netbeans_intg -osfiletype +path_extra +perl +postscript +printer +profile 
-python +quickfix +rightleft -ruby +scrollbind +signs +smartindent -sniff
+statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white 
-tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands
+vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore 
+wildmenu +windows +writebackup +X11 -xfontset +xim +xsmp_interact
+xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/vimcvs7/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo
 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
  -g -O2  -I/usr/X11R6/include   -pipe -Wdeclaration-after-statement -I/usr/l
ocal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I/opt/perl-5.8.8/lib/5.8.8/i686-linux/CORE
Linking: gcc  -L/usr/X11R6/lib   -Wl,-E   -L/usr/local/lib -o vim   
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 
-lfontconfig -lXi
nerama -lXi -lXrandr -lXext -lXcursor -lXfixes -lpango-1.0 -lcairo -lXrender 
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lXt -lncurses -Wl,-E  -L/usr/local/lib
 /opt/perl-5.8.8/lib/5.8.8/i686-linux/auto/DynaLoader/DynaLoader.a 
-L/opt/perl-5.8.8/lib/5.8.8/i686-linux/CORE -lperl -lm -lcrypt -lutil -lc


Output from mkvimrc:


version 6.0
if &cp | set nocp | endif
nnoremap m :call MaximizeToggle ()
map ,C :s/\/\/\(.*\)/\/\* \1 \*\//
map ,c :s/\(.*\)[/][*]\([^*]*\)[*][/]$/\1\/\/\2/g
map ,cd :exe 'cd ' . expand ("%:p:h")
nnoremap <silent> ,O :exe "normal O"
nnoremap <silent> ,o :exe "normal o"
let s:cpo_save=&cpo
set cpo&vim
map! &#155;[65~ <S-MouseUp>
map! &#155;[64~ <S-MouseDown>
map! &#155;[63~ <MouseUp>
map! &#155;[62~ <MouseDown>
nmap gx <Plug>NetrwBrowseX
noremap <F3> :call PerlBuffer()

noremap <F2> :bd %

noremap <F1> :make
nnoremap <silent> <Plug>NetrwBrowseX :call 
netrw#NetBrowseX(expand("<cWORD>"),0)
inoremap   x
map &#155;[65~ <S-MouseUp>
map &#155;[64~ <S-MouseDown>
map &#155;[63~ <MouseUp>
map &#155;[62~ <MouseDown>
inoremap ^L ^X^L
inoremap ^D ^X^D
inoremap ^F ^X^F
inoremap ^] ^X^]
let &cpo=s:cpo_save
unlet s:cpo_save
set background=dark
set backspace=indent,start
set cindent
set clipboard=unnamed
set comments=s1:/*,mb:*,elx:*/
set dictionary=/usr/share/dict/words
set expandtab
set fileencodings=ucs-bom,utf-8,default,latin1
set formatoptions=cqlr
set helplang=en
set hidden
set history=300
set ignorecase
set incsearch
set isfname=@,48-57,/,.,-,_,+,,,#,$,%,~,=,:
set keywordprg=man\ -s
set laststatus=2
set mouse=n
set path=.,/usr/include,,,.,..
set sessionoptions=sesdir,unix
set shiftwidth=2
set splitbelow
set splitright
set suffixes=*.txt,*.bak,*.orig
set tabstop=2
set tags=./.pltags,.pltags,./.tags,.tags,tags
set viminfo='250,f1,\"500,:300,@300,/100,\"1000,h
set visualbell
set 
wildignore=*.o,*.so,*.a,*.gif,*.jpg,*.jpeg,*.bmp,*.png,*.doc,*.rtf,*.xls,*.gz,*.bz2,*.zip,*.tar,*.tgz,*.rpm,*.srpm
set winwidth=1
set nowrapscan
" vim: set ft=vim :

-- 
_______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

Reply via email to