Re: Patch for runtime/filetype.vim to detect objcpp in headers

2012-02-15 Fir de Conversatie Bram Moolenaar
Austin Ziegler wrote: > I'm not really sure where to submit this patch, but I noticed that it's not > possible for a header to be recognised as Objective C++; I've included > inline a patch for runtime/filetype.vim that reuses the g:c_syntax_for_h > variable to choose between objc and objcpp f

Re: [patch] Add option to 'cino' to specify indenting of conditions for if(), etc.

2012-02-15 Fir de Conversatie Bram Moolenaar
Lech Lorens wrote: > On 28 November 2011 22:29, Bram Moolenaar wrote: > > > > I wonder if something similar can be done with another 'cino' flag. > > There are so many related flags already, it's confusing the user. > > At least needs an explanation how the "k" flag interacts with the > > others

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Bram Moolenaar
Ben Fritz wrote: > I think we should do the auto-escaping, with shellxquote=(, and > additionally add a help note by :! and system() that "According to the > Microsoft documentation for cmd.exe, you either need to escape (with a > ^ character) any of these characters appearing literally in your >

Patch for runtime/filetype.vim to detect objcpp in headers

2012-02-15 Fir de Conversatie Austin Ziegler
Hi. I'm not really sure where to submit this patch, but I noticed that it's not possible for a header to be recognised as Objective C++; I've included inline a patch for runtime/filetype.vim that reuses the g:c_syntax_for_h variable to choose between objc and objcpp for what I believe to be the

Re: [patch] Add option to 'cino' to specify indenting of conditions for if(), etc.

2012-02-15 Fir de Conversatie Lech Lorens
On 28 November 2011 22:29, Bram Moolenaar wrote: > > I wonder if something similar can be done with another 'cino' flag. > There are so many related flags already, it's confusing the user. > At least needs an explanation how the "k" flag interacts with the > others, such as "u" and "w". Sorry for

Re: does highlighting in colorcolumn's work?

2012-02-15 Fir de Conversatie Christian Brabandt
Hi Ben! On Mi, 15 Feb 2012, Ben Fritz wrote: > > > On Feb 15, 2:31 am, Ingo Karkat wrote: > > I am still in favor of it, though I have addressed my most pressing need for > > this in another way: I use a plugin to highlight multiple searches, and I > > have > > since taken up maintenance of t

Re: Feature request: add optional argument to :jumps to allow replace of

2012-02-15 Fir de Conversatie skeept
Thanks Christian, On Feb 15, 2:01 pm, Christian Brabandt wrote: > Hi skeept! > > On Mi, 15 Feb 2012, skeept wrote: > > > > > > > > > > > Hi all, > > > I have remapped and now does not work as expected. > > I don't use the command very often, but I do use it > > occasionally. > > I asked it th

Purposed addition: Elastic tabstops (revised)

2012-02-15 Fir de Conversatie Yarin
I've revised my previous "clustervtabs" modification. Many (all?) of the previously raised points have been addressed. The new diff be found at http://naqua.net/p/vim I am aware that even _if_ accepted that this wouldn't be added until a later version. Maintainers, please give your input. It would

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Benjamin Fritz
On Wed, Feb 15, 2012 at 1:10 PM, Benjamin Fritz wrote: > Parentheses are still weird :-( > > C:\eclim-git\eclim>cmd /c echo abc) > abc) > I just realized this one is invalid anyway, since MS says you need to escape a literal ) and here the user does not > C:\eclim-git\eclim>cmd /c (echo abc)) >

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Benjamin Fritz
On Wed, Feb 15, 2012 at 12:36 PM, Andy Wokula wrote: > Am 15.02.2012 17:22, schrieb Ben Fritz: > >>> New settings: >>>      shellcmdflag: /c >>>      shellxquote: ( >>> and escape special chars with `^'. >> >> >> So you're saying, we must escape all special characters, INCLUDING >> QUOTES, and sur

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Benjamin Fritz
On Wed, Feb 15, 2012 at 12:36 PM, Andy Wokula wrote: >> So you're saying, we must escape all special characters, INCLUDING >> QUOTES, and surround in parentheses? > > > Yes, including quotes! > >> That's...special. > > > But solves all problems so far. Yes, but that doesn't mean I need to like it

Re: Feature request: add optional argument to :jumps to allow replace of

2012-02-15 Fir de Conversatie Christian Brabandt
Hi skeept! On Mi, 15 Feb 2012, skeept wrote: > Hi all, > > I have remapped and now does not work as expected. > I don't use the command very often, but I do use it > occasionally. > I asked it there was a way of solving this in vim_use and it was > suggested that > I could do something like:

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Andy Wokula
Am 15.02.2012 17:22, schrieb Ben Fritz: New settings: shellcmdflag: /c shellxquote: ( and escape special chars with `^'. So you're saying, we must escape all special characters, INCLUDING QUOTES, and surround in parentheses? Yes, including quotes! That's...special. But solves

Re: Feature request: add optional argument to :jumps to allow replace of

2012-02-15 Fir de Conversatie Marcin Szamotulski
On 07:25 Wed 15 Feb , skeept wrote: > Hi all, > > I have remapped and now does not work as expected. > I don't use the command very often, but I do use it > occasionally. > I asked it there was a way of solving this in vim_use and it was > suggested that > I could do something like: > >

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Ben Fritz
On Feb 15, 8:11 am, Andy Wokula wrote: > > Doesn't work either for `('...`)': >      cmd /c (cat cm.txt > "c&m.txt") > > it creates `c&m.txt)'. > > But `('...`)' works when inner special chars are escaped: >      cmd /c (cat cm.txt ^> ^"c^&m.txt^") >      cmd /c (echo a ^& echo b) >      cmd /c

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

2012-02-15 Fir de Conversatie Ben Fritz
On Feb 15, 8:30 am, "MacDonald, Stuart" wrote: > 64-bit Windows versions (Win 7) contain a bunch of filesystem > redirections so that 32 bit apps can believe they are on a 32 OS and > be happy, and 64 bit apps get the same treatment. What you are seeing > is almost certainly a result of those re

Re: does highlighting in colorcolumn's work?

2012-02-15 Fir de Conversatie Ben Fritz
On Feb 15, 2:31 am, Ingo Karkat wrote: > I am still in favor of it, though I have addressed my most pressing need for > this in another way: I use a plugin to highlight multiple searches, and I have > since taken up maintenance of the Mark plugin > (http://www.vim.org/scripts/script.php?script_i

Feature request: add optional argument to :jumps to allow replace of

2012-02-15 Fir de Conversatie skeept
Hi all, I have remapped and now does not work as expected. I don't use the command very often, but I do use it occasionally. I asked it there was a way of solving this in vim_use and it was suggested that I could do something like: :nnoremap :nnoremap I would prefer to do something

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

2012-02-15 Fir de Conversatie Christian Brabandt
Hi MacDonald,! On Mi, 15 Feb 2012, MacDonald, Stuart wrote: > From: On Behalf Of Christian Brabandt > > On Tue, February 14, 2012 14:53, MacDonald, Stuart wrote: > > > ...and how would one find that? ':he ^L' just goes to the :redraw help > > > and the ':he /' section doesn't appear to talk about

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

2012-02-15 Fir de Conversatie MacDonald, Stuart
From: On Behalf Of Andy Wokula > The very first help page > :help > is a must-read. It says, to find a cmdline-specific key, prepend "c_": > :h c_^L > or > :h c_CTRL-L Ah, thanks. I haven't read the first page in... decades I guess. Even so, it probably would not have occurred to

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

2012-02-15 Fir de Conversatie MacDonald, Stuart
From: On Behalf Of John Little > 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 shows (very > interestingly to me) as well as ctrl-l

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

2012-02-15 Fir de Conversatie MacDonald, Stuart
From: On Behalf Of Christian Brabandt > On Tue, February 14, 2012 14:53, MacDonald, Stuart wrote: > > ...and how would one find that? ':he ^L' just goes to the :redraw help > > and the ':he /' section doesn't appear to talk about 'ctrl-l'. > > > > The help is implemented with tags, and I've often w

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

2012-02-15 Fir de Conversatie MacDonald, Stuart
From: On Behalf Of 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.

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Andy Wokula
Am 15.02.2012 14:38, schrieb RoDo: You can execute cmd /c ("my editor.exe" "my filea.txt" a ^& dir) as well. Surprise -- it indeed executes `dir'. This suggests that special characters within `(' ... `)' should be escaped with `^'. The following works as well: cmd /c (^"my editor.exe^" ^

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie RoDo
You can execute cmd /c ("my editor.exe" "my filea.txt" a ^& dir) as well. If we find a & inside "" like "&", don't touch it. Otherwise, we automatic add ^ before & or wrap entire command with "()". Right? On Feb 15, 8:42 pm, mattn wrote: > > Patch: > > shellcmdflag: /c (not sure if `/s /c' would

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Andy Wokula
Am 15.02.2012 13:42, schrieb mattn: Patch: shellcmdflag: /c (not sure if `/s /c' would make a difference, I'd expect `/c' to always remove outer quotes) shellxquote: "( or maybe: shellxquote: "(,)" (new syntax!) Yeah, this works now (also did without patch 7.3.443): user executes :!echo a& echo

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie mattn
> Patch: > shellcmdflag: /c (not sure if `/s /c' would make a difference, > I'd expect `/c' to always remove outer quotes) > shellxquote: "( > or maybe: > shellxquote: "(,)" (new syntax!) > > Yeah, this works now (also did without patch 7.3.443): > user executes :!echo a & echo b I tried followin

Re: Patch 7.3.443

2012-02-15 Fir de Conversatie Andy Wokula
Am 15.02.2012 04:28, schrieb 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. Summary what I remember so far, and a suggestion at the end. Pl

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

2012-02-15 Fir de Conversatie Andy Wokula
Am 14.02.2012 14:53, schrieb 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

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

2012-02-15 Fir de Conversatie Andrew
Hello, Christian, > Looks familiar¹ and seems to be another regression from patch 7.3.251. > > However, I think, this patch fixes it: You're right, your patch seems to fix the issue for me. Thanks, I'll use that for now and let you know if I find any odd behaviour. Cheers, Andrew -- You receiv

Re: does highlighting in colorcolumn's work?

2012-02-15 Fir de Conversatie Ingo Karkat
On 15-Feb-2012 09:31:04 +0100, Ingo Karkat wrote: > And BTW, the Windows console version of Vim somehow has the priorities > mixed up; I'll submit a defect. Scratch that, it's not a defect, but a peculiarity of the Windows console. The cursorline default highlighting is "cterm=underline", which s

Re: does highlighting in colorcolumn's work?

2012-02-15 Fir de Conversatie Ingo Karkat
On 14-Feb-2012 13:44:56 -0800 (PST), Alexey wrote: > 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 enabl