Re: gvim crash when switch to other tabs if NERDTree is opened

2012-03-13 Fir de Conversatie Christian Brabandt
On Tue, March 13, 2012 22:16, Bram Moolenaar wrote: > > Christian Brabandt write: > >> On Sa, 10 Mär 2012, 驼峰 wrote: >> >> > my repro step: >> > 1. run gvim >> > 2. open NERDTree windows >> > 3. create several tabs using 't' shortcut of NERDTree plugin >> > 4. '1gt' >> > 5, maximize gvim >> > 6, '2

Re: gvim crash when switch to other tabs if NERDTree is opened

2012-03-13 Fir de Conversatie Sergey Khorev
> Thanks for the patch.  I have been unable to reproduce the crash, I hope > someone can verify this patch fixes the problem. Have you added autocmd VimEnter,BufNew,BufEnter,BufWritePost,VimResized * redraw? It is an essential part. > I do wonder how "row" can be too big, perhaps there is a probl

Re: [patch] "vim --help" does not describe -E and --echo-wid command line options

2012-03-13 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Dominique Pelle wrote: > >> This is a minor issue: "vim --help" does not describe the >> command line options -E and --echo-wid. >> >> Is this intentional to keep "make help" short? >> If not, attached patch adds them. > > Thanks.  We might want to split up into --help and

Re: Object Oriented Python Interface

2012-03-13 Fir de Conversatie Guy Rutenberg
Hi Jan On Tue, Mar 13, 2012 at 7:45 PM, Jan Christoph Ebersbach < janchristoph.ebersb...@googlemail.com> wrote: > > you can easily build a wrapper yourself. E.g.: > > def expand(expr): >return vim.eval("expand('%s')" % expr) > > Actually that the thing I'm trying to avoid. I got those kind of

Re: gvim crash when switch to other tabs if NERDTree is opened

2012-03-13 Fir de Conversatie Bram Moolenaar
Christian Brabandt write: > On Sa, 10 Mär 2012, 驼峰 wrote: > > > my repro step: > > 1. run gvim > > 2. open NERDTree windows > > 3. create several tabs using 't' shortcut of NERDTree plugin > > 4. '1gt' > > 5, maximize gvim > > 6, '2gt' > > 7, restore the windows size from maximize window to norm

Re: [patch] "vim --help" does not describe -E and --echo-wid command line options

2012-03-13 Fir de Conversatie Bram Moolenaar
Dominique Pelle wrote: > This is a minor issue: "vim --help" does not describe the > command line options -E and --echo-wid. > > Is this intentional to keep "make help" short? > If not, attached patch adds them. Thanks. We might want to split up into --help and "--helpmore" to keep the output

Re: build fail on gcc 4.

2012-03-13 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > if_perl.xs contains global function prototype. But gcc 4.x make this occur > error. > > if_perl.c:1102:1: error: static declaration of 'XS_VIM_Msg' follows > non-static declaration > if_perl.xs:916:1: note: previous declaration of 'XS_VIM_Msg' was here > if_perl.c:1

Re: [PATCH] Syntax higlighting problem with sudoers file

2012-03-13 Fir de Conversatie İsmail Dönmez
Hi; On Tue, Mar 13, 2012 at 6:52 PM, Thilo Six wrote: > Hello İsmail, > > > Excerpt from İsmail Dönmez: > > > Hi; > > > > using vim 7.3 patchlevel 382. > > > > How to reproduce: > > > > 1. visudo -f /etc/sudoers > > 2. Write %user1 see its highlighted > > 3. Add a 1 so it becomes %users1 it beco

Re: [patch] "vim --help" does not describe -E and --echo-wid command line options

2012-03-13 Fir de Conversatie Charles Campbell
Benjamin R. Haskell wrote: On Tue, 13 Mar 2012, Charles Campbell wrote: Dominique Pellé wrote: This is a minor issue: "vim --help" does not describe the command line options -E and --echo-wid. Is this intentional to keep "make help" short? If not, attached patch adds them. I see help for -

Re: [PATCH] Syntax higlighting problem with sudoers file

2012-03-13 Fir de Conversatie Thilo Six
Hello İsmail, Excerpt from İsmail Dönmez: > Hi; > > using vim 7.3 patchlevel 382. > > How to reproduce: > > 1. visudo -f /etc/sudoers > 2. Write %user1 see its highlighted > 3. Add a 1 so it becomes %users1 it becomes unhighlighted > > I checked the SUSv3 spec and there is nothing preventing

Re: Object Oriented Python Interface

2012-03-13 Fir de Conversatie Jan Christoph Ebersbach
Hi Guy, I don't know of any such interface. It would be great to have it but you can easily build a wrapper yourself. E.g.: def expand(expr): return vim.eval("expand('%s')" % expr) Jan Christoph On Feb 17, 11:20 am, Guy Rutenberg wrote: > Hi, > > Currently, if one wants to extend vim's fun

Re: [patch] "vim --help" does not describe -E and --echo-wid command line options

2012-03-13 Fir de Conversatie Benjamin R. Haskell
On Tue, 13 Mar 2012, Charles Campbell wrote: Dominique Pellé wrote: This is a minor issue: "vim --help" does not describe the command line options -E and --echo-wid. Is this intentional to keep "make help" short? If not, attached patch adds them. I see help for -E in "starting.txt", line#26

Re: [patch] "vim --help" does not describe -E and --echo-wid command line options

2012-03-13 Fir de Conversatie Charles Campbell
Dominique Pellé wrote: This is a minor issue: "vim --help" does not describe the command line options -E and --echo-wid. Is this intentional to keep "make help" short? If not, attached patch adds them. I see help for -E in "starting.txt", line#263. I see help for --echo-wid in "starting.txt

[PATCH] Syntax higlighting problem with sudoers file

2012-03-13 Fir de Conversatie İsmail Dönmez
Hi; using vim 7.3 patchlevel 382. How to reproduce: 1. visudo -f /etc/sudoers 2. Write %user1 see its highlighted 3. Add a 1 so it becomes %users1 it becomes unhighlighted I checked the SUSv3 spec and there is nothing preventing group names having a digit in it. I think the attached patch shoul

Re: :global// bug

2012-03-13 Fir de Conversatie Erik Falor
On Mon, Mar 12, 2012 at 09:01:29PM +, Dimitar DIMITROV wrote: > Hi, I don't have the latest version of Vim installed, so this might not be a > real bug. > Please check! I don't think this is a bug, per se. > 1. 60obutterchocolate (120 lines) > 2. qwq > 3. :g/butter/y W > 4. at the -- More --

build fail on gcc 4.

2012-03-13 Fir de Conversatie mattn
Hi. if_perl.xs contains global function prototype. But gcc 4.x make this occur error. if_perl.c:1102:1: error: static declaration of 'XS_VIM_Msg' follows non-static declaration if_perl.xs:916:1: note: previous declaration of 'XS_VIM_Msg' was here if_perl.c:1145:1: error: static declaration of '

Re: Patch 7.3.447

2012-03-13 Fir de Conversatie mattn
Ok, please give me some time to fix. On Friday, February 24, 2012 1:01:25 PM UTC+9, Ben Fritz wrote: > On Feb 23, 8:01 pm, mattn wrote: > > > As you know, ':!start' is imitation of 'start' command in cmd.exe. So I'm > > thinking vim's behavor should be same as cmd's one. > > If typing below in c

Re: Float in some europe locale.

2012-03-13 Fir de Conversatie mattn
Hmm. However, most lightweight language support this locale. On Friday, February 24, 2012 5:10:14 AM UTC+9, Bram Moolenaar wrote: > Yasuhiro Matsumoto wrote: > > > I found bug in string2float(). In some europe locale, it uses comma to > > display floating point value. So str2float('1.2') return