Re: Patch 7.4.754

2015-07-12 Fir de Conversatie Christian Brabandt
Hi Urtica! On Fr, 10 Jul 2015, Urtica dioica wrote: There was another one I meant to add but forgot. Numbered dot in block and line visual acts on an expanded region instead of changing the number argument. Line visual examples will be complicated by the changing visual area I

Re: Patch 7.4.754

2015-07-12 Fir de Conversatie Christian Brabandt
Hi James! On Fr, 10 Jul 2015, James McCoy wrote: On Sat, Jul 11, 2015 at 12:19:22AM +0200, Christian Brabandt wrote: 7. The entire screen is redrawn every time, even for single-line edits that affect zero or one characters. Not sure what you mean. Since one starts visual mode, one

Re: Patch 7.4.754

2015-07-11 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: Hi Urtica! On Mo, 29 Jun 2015, Urtica dioica wrote: Here is another update, that fixes the problem, that vim_str2nr always checks all available chars for numbers, making it impossible to select less numbers. I'm going from this patch. I've

Re: Patch 7.4.754

2015-07-11 Fir de Conversatie Manuel Ortega
On Fri, Jul 10, 2015 at 11:48 PM, Urtica dioica gaultheria.shal...@gmail.com wrote: I've had some time to play with this patch. 1. Let's crash Vim. snip 2. Visual areas change from dot repeats. gv can confirm the changed areas. I can confirm each of these two cases on OSX. Perhaps the

Re: Patch 7.4.754

2015-07-10 Fir de Conversatie Urtica dioica
I've had some time to play with this patch. 1. Let's crash Vim. 8 --- vC-A.xu Segmentation Fault 2. Visual areas change from dot repeats. gv can confirm the changed areas. 1 1 1 --- VC-A. 3 2 1 --- C-V2$C-A 1323 1323 3. Dot repeat of gC-A does nothing sensible. 0 0 0 0 ---

Re: Patch 7.4.754

2015-07-10 Fir de Conversatie Urtica dioica
There was another one I meant to add but forgot. Numbered dot in block and line visual acts on an expanded region instead of changing the number argument. Line visual examples will be complicated by the changing visual area I mentioned earlier, but you can see what's going on. 1 1 1 1 1 ---

Re: Patch 7.4.754

2015-07-10 Fir de Conversatie Christian Brabandt
Hi Urtica! On Mo, 29 Jun 2015, Urtica dioica wrote: Here is another update, that fixes the problem, that vim_str2nr always checks all available chars for numbers, making it impossible to select less numbers. I'm going from this patch. I've triggered a couple bugs where I couldn't

Re: Patch 7.4.754

2015-06-30 Fir de Conversatie Bram Moolenaar
Urtica Dioica wrote: Here is another update, that fixes the problem, that vim_str2nr always checks all available chars for numbers, making it impossible to select less numbers. I'm going from this patch. I've triggered a couple bugs where I couldn't figure out how to repeat them.

Re: Patch 7.4.754

2015-06-30 Fir de Conversatie Christian Brabandt
Hi Bram! On Di, 30 Jun 2015, Bram Moolenaar wrote: Urtica Dioica wrote: Here is another update, that fixes the problem, that vim_str2nr always checks all available chars for numbers, making it impossible to select less numbers. I'm going from this patch. I've triggered a

Re: Patch 7.4.754

2015-06-29 Fir de Conversatie Christian Brabandt
Hi Urtica! On Do, 25 Jun 2015, Urtica dioica wrote: I've only been playing with this for a few minutes, but there are lots of problems. 1. vgC-A with :se nf=alpha doesn't do letters. a a a --- :se nf=alphaCRVGgC-A b b b That was intentionally, I didn't think this would be useful.

Re: Patch 7.4.754

2015-06-29 Fir de Conversatie Christian Brabandt
Here is another update, that fixes the problem, that vim_str2nr always checks all available chars for numbers, making it impossible to select less numbers. Best, Christian -- Was nun die Menschen gesetzt haben, das will nicht passen, es mag recht oder unrecht sein; was aber die Götter

Re: Patch 7.4.754

2015-06-29 Fir de Conversatie Urtica dioica
Here is another update, that fixes the problem, that vim_str2nr always checks all available chars for numbers, making it impossible to select less numbers. I'm going from this patch. I've triggered a couple bugs where I couldn't figure out how to repeat them. I'll have to keep trying. 1.

Re: Patch 7.4.754

2015-06-28 Fir de Conversatie Taro MURAOKA
2015年6月26日金曜日 0時48分10秒 UTC+9 Bram Moolenaar: It works fine on Linux, what could be different on MS-Windows? It is caused by `initmappings` in getchar.c https://github.com/vim-jp/vim/blob/318083ec08ce7b586ba564deccd0a59256e632d9/src/getchar.c#L5308-L5356 It should be unmapped or disabled for

Re: Patch 7.4.754

2015-06-28 Fir de Conversatie Taro MURAOKA
2015年6月26日金曜日 0時48分10秒 UTC+9 Bram Moolenaar: Ken Takata wrote: 2015/6/25 Thu 20:58:52 UTC+9 Bram Moolenaar wrote: Patch 7.4.754 Problem:Using CTRL-A in Visual mode does not work well. (Gary Johnson) Solution: Make it increment all numbers in the Visual area. (Christian

Re: Patch 7.4.754

2015-06-28 Fir de Conversatie Bram Moolenaar
Taro Muraoka wrote: 2015年6月26日金曜日 0時48分10秒 UTC+9 Bram Moolenaar: Ken Takata wrote: 2015/6/25 Thu 20:58:52 UTC+9 Bram Moolenaar wrote: Patch 7.4.754 Problem:Using CTRL-A in Visual mode does not work well. (Gary Johnson) Solution: Make it increment all numbers

Patch 7.4.754

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.754 Problem:Using CTRL-A in Visual mode does not work well. (Gary Johnson) Solution: Make it increment all numbers in the Visual area. (Christian Brabandt) Files: runtime/doc/change.txt, src/normal.c, src/ops.c, src/proto/ops.pro, src/testdir

Re: Patch 7.4.754

2015-06-25 Fir de Conversatie Bram Moolenaar
Ben Fritz wrote: + For decimals a leading negative sign is considered for incrementing/ + decrementing, for octal and hey values, it won't be considered. Should be for octal and hex values. Also, probably it is useful to mention explicitly: To avoid considering the negative sign,

Re: Patch 7.4.754

2015-06-25 Fir de Conversatie Ken Takata
Hi, 2015/6/25 Thu 20:58:52 UTC+9 Bram Moolenaar wrote: Patch 7.4.754 Problem:Using CTRL-A in Visual mode does not work well. (Gary Johnson) Solution: Make it increment all numbers in the Visual area. (Christian Brabandt) Files: runtime/doc/change.txt, src/normal.c, src

Re: Patch 7.4.754

2015-06-25 Fir de Conversatie Urtica dioica
I've only been playing with this for a few minutes, but there are lots of problems. 1. vgC-A with :se nf=alpha doesn't do letters. a a a --- :se nf=alphaCRVGgC-A b b b 2. Minus signs are never added or removed. 0 --- VC-X 1 Another: -1 --- V3C-A -2 3. Even if multiple columns are selected,

Re: Patch 7.4.754

2015-06-25 Fir de Conversatie Urtica dioica
2015年6月25日木曜日 12時53分53秒 UTC-6 Christian Brabandt: Thanks. I'll fix it. Cool. Here's another funny bug. I ^I's are all normal 8-space tabs: a^I1 aa^I1 aa1 aa^I1 a^I1 --- $C-V4jC-A a^I2 aa^I1 aa2 aa^I1 a^I2 Lines 2 and 4 visually align because of the tabs, but no incrementing occurs. Line 3 is

Re: Patch 7.4.754

2015-06-25 Fir de Conversatie Urtica dioica
Found another one. If the column we're adding to has a line that doesn't extend long enough, every line after that will be ignored. Lines 1-2, 4-5 are indented. The middle line has no character in column 2. The middle line gets incremented despite not being in the visual area, while the lines

Re: Patch 7.4.754

2015-06-25 Fir de Conversatie Christian Brabandt
Hi Ken! On Do, 25 Jun 2015, Ken Takata wrote: Hi, 2015/6/25 Thu 20:58:52 UTC+9 Bram Moolenaar wrote: Patch 7.4.754 Problem:Using CTRL-A in Visual mode does not work well. (Gary Johnson) Solution: Make it increment all numbers in the Visual area. (Christian Brabandt