Re: feature request: extend search string from a partial match with right arrow key

2012-02-14 Thread Alexey Muranov
On 14 Feb 2012, at 00:35, Benjamin R. Haskell wrote: > On Tue, 14 Feb 2012, Andy Wokula wrote: > >> Am 13.02.2012 22:54, schrieb Alexey Muranov: >>> Hello, >>> i am new to this group, let me know if feature requests should be discussed >>> somewhere else. >>> Here is feature for which i couldn't

Re: Patch 7.3.443

2012-02-14 Thread RoDo
Good. small patch: --- misc2_org.c 2012-02-14 18:09:38 +0800 +++ misc2.c 2012-02-14 17:51:54 +0800 @@ -3230,7 +3230,13 @@ { STRCPY(ncmd, p_sxq); STRCAT(ncmd, cmd); - STRCAT(ncmd, p_sxq); +if (STRCMP(p_sxq, "(") == 0) +

Re: Patch 7.3.443

2012-02-14 Thread RoDo
echo system('echo a & echo b') fail should escape & echo system('echo a ^& echo b') pass On Feb 14, 6:21 pm, RoDo wrote: > Good. > > small patch: > > --- misc2_org.c 2012-02-14 18:09:38 +0800 > +++ misc2.c     2012-02-14 17:51:54 +0800 > @@ -3230,7 +3230,13 @@ >             { >                 ST

Re: Patch 7.3.443

2012-02-14 Thread Andy Wokula
Am 14.02.2012 11:31, schrieb RoDo: echo system('echo a & echo b') fail should escape & echo system('echo a ^& echo b') pass omg: C:\> echo a & echo b a b C:\> cmd /c ( echo a & echo b ) b ) Looks like a bug with cmd.exe . I guess it's specific to echo . And it's quite an esoteric command li

Re: Patch 7.3.443

2012-02-14 Thread Mike Williams
On 14/02/2012 11:10, Andy Wokula wrote: Am 14.02.2012 11:31, schrieb RoDo: echo system('echo a & echo b') fail should escape & echo system('echo a ^& echo b') pass omg: C:\> echo a & echo b a b C:\> cmd /c ( echo a & echo b ) b ) Looks like a bug with cmd.exe . I guess it's specific to echo

Re: Patch 7.3.443

2012-02-14 Thread mattn
cmd /c "(echo a & echo b)" -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Patch 7.3.443

2012-02-14 Thread Andy Wokula
Am 14.02.2012 13:20, schrieb mattn: cmd /c "(echo a& echo b)" Ok! -- Andy -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Patch 7.3.443

2012-02-14 Thread RoDo
patch update add a os_win32 patch --- os_win32_org.c 2012-02-14 21:18:54 +0800 +++ os_win32.c 2012-02-14 21:24:27 +0800 @@ -3909,6 +3909,7 @@ if (newcmd != NULL) { char_u *cmdbase = (*cmd == '"' ? cmd + 1 : cmd); + cmdbase = (*cmd == '(' ? cmd + 1 : cmd)

RE: feature request: extend search string from a partial match with right arrow key

2012-02-14 Thread MacDonald, Stuart
From: On Behalf Of Andy Wokula > Am 13.02.2012 22:54, schrieb Alexey Muranov: > > When searching (with "/") and a partial match is highlighted, and the > > first partial match is a part of the string one is looking for, it > > would be nice if instead of typing the rest of the search string, one >

RE: feature request: extend search string from a partial match with right arrow key

2012-02-14 Thread Christian Brabandt
On Tue, February 14, 2012 14:53, MacDonald, Stuart wrote: > From: On Behalf Of Andy Wokula >> Am 13.02.2012 22:54, schrieb Alexey Muranov: >> > When searching (with "/") and a partial match is highlighted, and the >> > first partial match is a part of the string one is looking for, it >> > would be

Re: Patch 7.3.443

2012-02-14 Thread Ben Fritz
On Feb 14, 4:31 am, RoDo wrote: > echo system('echo a & echo b') fail > should escape & > echo system('echo a ^& echo b') pass > It looks like most of the use cases pass when using the () patch for shellxquote, I like that option. Since there are still some failures when using an unescaped & m

Re: Patch 7.3.443

2012-02-14 Thread Ben Fritz
On Feb 13, 10:04 pm, Bram Moolenaar wrote: > Ben Fritz wrote: > > Ugh, apparently so. I thought the documentation of cmd.exe was clear > > enough to prevent this sort of thing, but that's apparently irrelevant > > because cmd.exe doesn't follow it. > > Never trust Microsoft documentation, always

Possible bug with text objects and pasting at the end of a file

2012-02-14 Thread Андрей Радев
Hello, I've encountered some odd behaviour with Vim. I have a file containing the following text: one = { two: { three: four; } } // Some text here; I do the following: 1. Go to the first "t" in "three: four;", mark the line in character-wise visual mode (

How about a "compiler plugin" plugin type on vim.org?

2012-02-14 Thread Ben Fritz
I submitted a compiler plugin, but the best I could come up with for "type" was "utility". How about adding a "compiler plugin" category? -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http

Re: Possible bug with text objects and pasting at the end of a file

2012-02-14 Thread Ben Fritz
On Feb 14, 10:48 am, Андрей Радев wrote: > Hello, > > I've encountered some odd behaviour with Vim. I have a file containing > the following text: > >     one = { >       two: { >         three: four; >       } >     } >     // Some text here; > > I do the following: > >   1. Go to the first "t"

Re: Patch 7.3.443

2012-02-14 Thread RoDo
Sorry, my mistake. Previous patch break shellxquote = \" update: --- os_win32_org.c 2012-02-14 21:18:54 +0800 +++ os_win32.c 2012-02-15 02:45:42 +0800 @@ -3909,6 +3909,7 @@ if (newcmd != NULL) { char_u *cmdbase = (*cmd == '"' ? cmd + 1 : cmd); + cmdbase

does highlighting in colorcolumn's work?

2012-02-14 Thread Alexey
Hi, this is me again. I wanted to ask this in user list first, but have not yet received a response to my subscription request. I've found no obvious way to enable highlighting in colorcolumn's. I have set colorcolumn=79,80, and tried to set highlighting of trailing whitespace with syntax match

Re: does highlighting in colorcolumn's work?

2012-02-14 Thread Taylor Hedberg
Alexey, Tue 2012-02-14 @ 12:12:28-0800: > I wanted to ask this in user list first, but have not yet received a > response to my subscription request. > > I've found no obvious way to enable highlighting in colorcolumn's. > > I have set colorcolumn=79,80, and tried to set highlighting of > trailin

Re: Possible bug with text objects and pasting at the end of a file

2012-02-14 Thread Christian Brabandt
Hi Андрей! On Di, 14 Feb 2012, Андрей Радев wrote: > Hello, > > I've encountered some odd behaviour with Vim. I have a file containing > the following text: > > one = { > two: { > three: four; > } > } > // Some text here; > > I do the following: > > 1. Go to

Re: does highlighting in colorcolumn's work?

2012-02-14 Thread Alexey
On Feb 14, 10:12 pm, Taylor Hedberg wrote: > Alexey, Tue 2012-02-14 @ 12:12:28-0800: > > > > > > > > > > > I wanted to ask this in user list first, but have not yet received a > > response to my subscription request. > > > I've found no obvious way to enable highlighting in colorcolumn's. > > > I

Vim cannot see several *.com files in system directory

2012-02-14 Thread Ben Fritz
Any ideas here what might be going on? I was able to get Vim to use chcp.com only by copying it from the System32 directory into $VIMRUNTIME. I think this is NOT a good way to fix the problem. As soon as Vim 7.4 or 8.0 comes out the workaround will stop working. Yes, my $PATH contains the system32

RE: Vim cannot see several *.com files in system directory

2012-02-14 Thread John Beckett
Ben Fritz wrote: > :r !dir C:\WINDOWS\system32\*.com > > Volume in drive C is Local Disk > Volume Serial Number is EA9A-15F2 > > Directory of C:\WINDOWS\system32 > > 02/18/2007 06:00 AM29,696 format.com > 02/18/2007 06:00 AM16,384 more.com > 2 File(s)

Re: feature request: extend search string from a partial match with right arrow key

2012-02-14 Thread John Little
On Feb 14, 9:17 pm, Alexey Muranov wrote: > Thanks a lot, i should have googled better. IMO searching vim's help directly is better than googling. People just like you pour over vim's help and suggest changes and cross references over the years. :help incsearch was what you needed, and that sh

Re: Patch 7.3.443

2012-02-14 Thread Bram Moolenaar
Ben Fritz wrote: > On Feb 14, 4:31 am, RoDo wrote: > > echo system('echo a & echo b') fail > > should escape & > > echo system('echo a ^& echo b') pass > > > > It looks like most of the use cases pass when using the () patch for > shellxquote, I like that option. > > Since there are still some

Re: Patch 7.3.443

2012-02-14 Thread Bram Moolenaar
Rodo wrote: > Good. > > small patch: > > --- misc2_org.c 2012-02-14 18:09:38 +0800 > +++ misc2.c 2012-02-14 17:51:54 +0800 > @@ -3230,7 +3230,13 @@ > { > STRCPY(ncmd, p_sxq); > STRCAT(ncmd, cmd); > - STRCAT(ncmd, p_sxq); > +

Re: Patch 7.3.443

2012-02-14 Thread Bram Moolenaar
Andy Wokula wrote: > Am 14.02.2012 13:20, schrieb mattn: > > cmd /c "(echo a& echo b)" > > Ok! Ehm, thus 'shellxquote' should be "(, and we should turn that into )" for the tail? It's possible, but I wonder where it breaks now. -- hundred-and-one symptoms of being an internet addict: 57. Yo

Re: Patch 7.3.443

2012-02-14 Thread mattn
> Ehm, thus 'shellxquote' should be "(, and we should turn that into )" > for the tail? It's possible, but I wonder where it breaks now. Yes, I wonder: * What is a problem * Why 7.3.443 is needed. -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below

Re: Possible bug with text objects and pasting at the end of a file

2012-02-14 Thread Bram Moolenaar
Christian Brabandt wrote: > On Di, 14 Feb 2012, Андрей Радев wrote: > > > Hello, > > > > I've encountered some odd behaviour with Vim. I have a file containing > > the following text: > > > > one = { > > two: { > > three: four; > > } > > } > > // Some text here;

Re: Patch 7.3.443

2012-02-14 Thread RoDo
Make every command work would be very complicated. Vim need to parse the command and understand it correctly, then escape the special chars. Let's give it back to user and cmd.exe. XD On Feb 15, 11:06 am, Bram Moolenaar wrote: > Ben Fritz wrote: > > On Feb 14, 4:31 am, RoDo wrote: > > > echo sy

Re: Patch 7.3.443

2012-02-14 Thread mattn
Please Please Please note that patch 7.3.443 is breaking original behavior. And just now many vim plugins does not work correctly without avoiding to this change. -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For m