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 1.0

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 mattn...@gmail.com 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

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: :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. 60obuttercrchocolateesc (120 lines) 2. qwq 3. :g/butter/y W 4. at the -- More --

[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

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 guyrutenb...@gmail.com wrote: Hi, Currently, if one wants

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 group

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 -E

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 t@gmx.de 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 becomes

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:1145:1:

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 normal window. 8,

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: 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 snippets

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 --helpmore to

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 problem