Re: buftablist()

2006-09-01 Thread Hari Krishna Dara
On Thu, 31 Aug 2006 at 11:37am, Charles E Campbell Jr wrote: > Hello! > > Is there any interest in a >buftablist([optional]) > function which would return a list of tab numbers that the optional > argument, > a buffer number, is in? If no optional argument, then the current > buffer would >

Syntax matching. extend inside normal inside keepend

2006-09-01 Thread Ilya
Hello. I have a question regarding syntax matching. I have some kind of syntax and I have some solution to highlight it, but it does not work the way I expect it to. What I want: match syntax that consists of blocks (enclosed in {}), strings (enclosed in "") and identifiers (starts with ${

Re: Fixing cweb.vim

2006-09-01 Thread Ilya
Benji Fisher wrote: On Fri, Sep 01, 2006 at 09:36:55AM +0300, Ilya wrote: David Brown wrote: [...] However, tex.vim frequently will enclose large sections of the document within a region and the cweb.vim which the webCRegion is not part of. I think I can fix this by adding an appro

Re: [PATCH] russian vimtutor is b0rken in UTF-8 locale

2006-09-01 Thread Alexey I. Froloff
* Bram Moolenaar [060902 00:28]: > > Better solution: keep tutor.ru.utf-8, generate .cp1251 and .koi8 > > From it and detect all encodings in tutor.vim. vimtutor will > > fall back to english in "unsupported" locales (ru_RU.ISO8859-5) > > for example. > I checked the existing Russian tutor files,

Re: session-file problem in presence of 'set acd'

2006-09-01 Thread Yakov Lerner
On 9/1/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > When 'acd' is set, 'vim -S' open files in wrong directory. > To reproduce: > > 1. make your ~/.vimrc 1-liner 'set acd' >(Alternatively, use use "vim -u NONE -c 'set acd'" instead of vim > in commands below). > 2. vim

Re: vim mailing lists

2006-09-01 Thread Bram Moolenaar
Gautam Iyer wrote: > On Wed, Aug 30, 2006 at 10:12:44PM +0200, Bram Moolenaar wrote: > > > > > Apparently the sorbs blacklist mechanism is still being used, causing > > > > trouble for some people. I have asked the mail server maintainer to > > > > remove sorbs a few times now... > > > > > > T

Re: Bad QUOTESED expression in src/Makefile

2006-09-01 Thread Bram Moolenaar
Alexey Froloff wrote: > There is QUOTESED expression for creating auto/pathdef.c: > > QUOTESED = sed -e 's/"/\\"/g' -e 's/\\"/"/' -e 's/\\";$$/";/' > ... > @echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> > $@ > > However: > > gcc -c -I. -Iproto -DHAVE_CONFIG_H

Re: session-file problem in presence of 'set acd'

2006-09-01 Thread Bram Moolenaar
Yakov Lerner wrote: > When 'acd' is set, 'vim -S' open files in wrong directory. > To reproduce: > > 1. make your ~/.vimrc 1-liner 'set acd' >(Alternatively, use use "vim -u NONE -c 'set acd'" instead of vim > in commands below). > 2. vim ~/xxx# or > :he options.txt >

Re: [PATCH] russian vimtutor is b0rken in UTF-8 locale

2006-09-01 Thread Bram Moolenaar
Alexey Froloff wrote: > Quick solution: generate tutor.ru.utf-8 from tutor.ru (KOI8-R). > This will work right now. > > Better solution: keep tutor.ru.utf-8, generate .cp1251 and .koi8 > From it and detect all encodings in tutor.vim. vimtutor will > fall back to english in "unsupported" locales

Vim BOF session

2006-09-01 Thread Bram Moolenaar
Greetings, Vim users. I am hosting a Vim BOF at the upcoming O'Reilly Open Source Convention: Title: Vim 8? Date: Tuesday, 19 September 2006 Time: 20:30 - 21:30 Location: Salon Versailles Summary: Vim 7 was released May 2006. Does it make sense to make an

Re: Fixing cweb.vim

2006-09-01 Thread Benji Fisher
On Fri, Sep 01, 2006 at 09:36:55AM +0300, Ilya wrote: > David Brown wrote: [...] > >However, tex.vim frequently will enclose large sections of the document > >within a region and the cweb.vim which the webCRegion is not part of. > > > >I think I can fix this by adding an appropriate containedin=...

Re: Bad QUOTESED expression in src/Makefile

2006-09-01 Thread Alexey I. Froloff
* Alexey I. Froloff [060831 01:27]: > I think QUOTESED should look like: > QUOTESED = sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$$/";/' Patch attached. -- Regards, Sir Raorn. diff -cdrN ../vim70-orig/src/Makefile src/Makefile *** ../vim70-orig/src/Makefile Fri Sep 1 17:18:36 2006 --- sr

[PATCH] russian vimtutor is b0rken in UTF-8 locale

2006-09-01 Thread Alexey I. Froloff
Quick solution: generate tutor.ru.utf-8 from tutor.ru (KOI8-R). This will work right now. Better solution: keep tutor.ru.utf-8, generate .cp1251 and .koi8 from it and detect all encodings in tutor.vim. vimtutor will fall back to english in "unsupported" locales (ru_RU.ISO8859-5) for example. Att