Re: [Vim-latex-devel] problem!
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2002-12-30 19:41:01
|
Hey Fabio, I have uploaded the "stable" version of dec 13 02 on vim.sf.net. You can get it from: vim-latex.sourceforge.net/download/latexSuite-dec-13-02.tar.gz This uses the "funky" characters like =E4 and =AB etc... Hope it works... But before trying it out, could you answer a quick question: > In fact, I just cannot jump with ctrl-J. > You can see from my prev. message that <++> are both at the end that in > the middle of the parenthesis/brackets. The problem is that IMAP_Jumpfunc() is not able to recognize the <+ and +> characters as placeholders... Which is really bizzare. After starting latex-suite, could you on the latest version, try doing :echo IMAP_GetPlaceHolderStart() :echo IMAP_GetPlaceHolderEnd() and see what it says? It should hopefully say '<+' and '+>'. If it doesn't, then it will be a problem... Also, it will help greatly if you please spend some time on the newer version when you get the time. In particular, if you can: 1. where is your 'encoding', 'fileencoding' etc getting set. Do you set values for these anywhere in your .vimrc or ftplugin/tex.vim or even in a modeline in your .tex file? 2. What is the value of 'encoding' and 'fileencoding'? 3. Have you changed the value of b:Imap_PlaceHolderStart or b:Imap_PlaceHolderEnd or g:Imap_PlaceHolderStart or g:Imap_PlaceHolderEnd anywhere (in your .vimrc or ftplugin/tex.vim file?) The way imaps is designed, this should not create problems, but you never know... If you have changed it, where and to what have you changed it? 4. What system are you working on? Is there some special international character setting? I tried to reproduce this bug on my win xp box and on the vim.sf.net linux shell, but didn't see this problem... This is quite a serious problem and it will help if we can get it solved as quickly as possible... On Mon, 30 Dec 2002, Fabio Spelta wrote: > Error detected while processing function > Tex_pack_all..Tex_pack_one..Tex_pack_check..Tex_p > ack..<SNR>36_GroupPackageMenuItems..Tex_MakeSubmenu..<SNR>36_FilterPackag= eMenuLHS: > line 8: > E121: Undefined variable: s:MenuLHS_enb > E116: Invalid arguments for function substitute > E15: Invalid expression: substitute(s:MenuLHS_{commandType}, > '<+replace+>', commandName, ' > g') > This was a bug in packages/longtable. I have fixed it... In the future, packages.vim will handle these things elegantly. Maybe throw a warning or even just silently ignore things it cannot understand... Srinath |