Re: Patch 7.4.759

2015-06-25 Fir de Conversatie KF Leong
On Friday, June 26, 2015 at 12:28:05 AM UTC+8, Bram Moolenaar wrote: Patch 7.4.759 Problem:Building with Lua 5.3 doesn't work, symbols have changed. Solution: Use the new names for the new version. (Felix Schnizlein) Files: src/if_lua.c *** ../vim-7.4.758/src/if_lua.c

Patch 7.4.753

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.753 Problem:Appending in Visual mode with 'linebreak' set does not work properly. Also when 'selection' is exclusive. (Ingo Karkat) Solution: Recalculate virtual columns. (Christian Brabandt) Files: src/normal.c, src/testdir/test_listlbr.in,

Re: [Bug] Hit Enter twice after make

2015-06-25 Fir de Conversatie Carlos Pita
Hi Bram, As a compromise the error is shortened when the cursor moves. When you jump to an error in the same line, then the full error is echoed, so that you can read it. You're assuming there is a long error involved but this also happens when the message is empty! The reported condition is

Re: [patch] extend() does not change an item in a locked dictionary

2015-06-25 Fir de Conversatie Bram Moolenaar
Olaf Dabrunz wrote: This needed more time and work on more realistic tests, and to create a fix that addresses all issues. Sorry for the delay. Summary: - Bug: locks can result in false error reports or missing error reports when the locks are not interpreted in the same way

Re: [Bug] Hit Enter twice after make

2015-06-25 Fir de Conversatie Bram Moolenaar
Carlos Pita wrote: The fact that the hit enter prompt is shown twice sometimes after :make when an error is found by quickfix was asked a number of times in the user list and in stackoverflow, but AFAIK it was just workarounded by making make silent or cmdheight larger. Now I've found a

Re: [patch] extend() does not change an item in a locked dictionary

2015-06-25 Fir de Conversatie Olaf Dabrunz
On 25-Jun-15, Bram Moolenaar wrote: Olaf Dabrunz wrote: This needed more time and work on more realistic tests, and to create a fix that addresses all issues. Sorry for the delay. Summary: - Bug: locks can result in false error reports or missing error reports when

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,

[patch] Add skip composing character flag to strchars()

2015-06-25 Fir de Conversatie h_east
Hi Bram and list, I want to get the number of characters. strchars() is looks best, but composing characters are counted separately. So that I add skip composing characters flag to strchars(). strchars({expr} [, {skipcc}]) strchars() The result

Re: Issue 377 in vim: gvim keeps creating ~/.gnome2/Vim, ignores XDG

2015-06-25 Fir de Conversatie vim
Comment #1 on issue 377 by john.b.l...@gmail.com: gvim keeps creating ~/.gnome2/Vim, ignores XDG https://code.google.com/p/vim/issues/detail?id=377 IIUC this behaviour is not in vim code, so cannot be fixed in vim. It's in the gnome 2 libraries, which were superseded by Gnome 3 about 5

Re: [patch] Fix missing, unnecessary symbol lookups with lua = 5.3

2015-06-25 Fir de Conversatie Pedro Ferrari
On Thursday, June 11, 2015 at 11:36:19 AM UTC-3, Felix S. wrote: Dear vim dev list, With lua 5.3 symbols has changed. To make vim work with lua 5.3, I wrote a patch to remove unnecessary symbol lookups (namely lua_replace) and added new needed functions. I briefly tested the patch with a

Patch 7.4.755

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.755 Problem:It is not easy to count the number of characters. Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken Takata) Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok ***

Patch 7.4.756

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.756 Problem:Can't use strawberry Perl 5.22 x64 on MS-Windows. Solution: Add new defines and #if. (Ken Takata) Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_perl.xs *** ../vim-7.4.755/src/Make_cyg_ming.mak2014-12-13 20:50:01.793994592 +0100 ---

Re: [patch] Add skip composing character flag to strchars()

2015-06-25 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: Hi Bram and list, I want to get the number of characters. strchars() is looks best, but composing characters are counted separately. So that I add skip composing characters flag to strchars(). strchars({expr} [, {skipcc}])

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,

Re: Patch 7.4.757

2015-06-25 Fir de Conversatie Bram Moolenaar
Note that I changed the original patch from Lubomir, but was unable to test it on a terminal that returns the special escape sequence. Lubomir, please check that it actually works. -- hundred-and-one symptoms of being an internet addict: 149. You find your computer sexier than your girlfriend

Patch 7.4.757

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.757 Problem:Cannot detect the background color of a terminal. Solution: Add T_RBG to request the background color if possible. (Lubomir Rintel) Files: src/main.c, src/term.c, src/term.h, src/proto/term.pro *** ../vim-7.4.756/src/main.c 2015-04-17

Patch 7.4.759

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.759 Problem:Building with Lua 5.3 doesn't work, symbols have changed. Solution: Use the new names for the new version. (Felix Schnizlein) Files: src/if_lua.c *** ../vim-7.4.758/src/if_lua.c 2015-02-17 16:28:51.365508352 +0100 --- src/if_lua.c2015-06-25

Patch 7.4.761

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.761 (after 7.4.757) Problem:The request-background termcode implementation is incomplete. Solution: Add the missing pieces. Files: src/option.c, src/term.c *** ../vim-7.4.760/src/option.c 2015-06-20 15:29:57.202600053 +0200 --- src/option.c2015-06-25

Re: Patch 7.4.757

2015-06-25 Fir de Conversatie Kent Sibilev
On Thursday, June 25, 2015 at 12:20:57 PM UTC-4, Kent Sibilev wrote: This patch crashes vim for me when I'm starting it from tmux: $ lldb vim (lldb) target create vim Current executable set to 'vim' (x86_64). (lldb) run Process 16364 launched: '/usr/local/bin/vim' (x86_64) Process 16364

Re: Patch 7.4.757

2015-06-25 Fir de Conversatie Christ van Willegen
On Thu, Jun 25, 2015 at 5:03 PM, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.4.757 Problem:Cannot detect the background color of a terminal. Solution: Add T_RBG to request the background color if possible. (Lubomir Rintel) Files: src/main.c, src/term.c, src/term.h,

Patch 7.4.758

2015-06-25 Fir de Conversatie Bram Moolenaar
Patch 7.4.758 Problem:When 'conceallevel' is 1 and quitting the command-line window with CTRL-C the first character ':' is erased. Solution: Reset 'conceallevel' in the command-line window. (Hirohito Higashi) Files: src/ex_getln.c ***

Re: Patch 7.4.757

2015-06-25 Fir de Conversatie Kent Sibilev
This patch crashes vim for me when I'm starting it from tmux: $ lldb vim (lldb) target create vim Current executable set to 'vim' (x86_64). (lldb) run Process 16364 launched: '/usr/local/bin/vim' (x86_64) Process 16364 stopped * thread #1: tid = 0x4f71ea, 0x000100193d13 vim`may_req_bg_color +

Re: Patch 7.4.757

2015-06-25 Fir de Conversatie Bram Moolenaar
Kent Sibilev wrote: On Thursday, June 25, 2015 at 12:20:57 PM UTC-4, Kent Sibilev wrote: This patch crashes vim for me when I'm starting it from tmux: $ lldb vim (lldb) target create vim Current executable set to 'vim' (x86_64). (lldb) run Process 16364 launched:

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] new optionset autocommand

2015-06-25 Fir de Conversatie Christian Brabandt
Hi Bram! On Fr, 19 Jun 2015, Bram Moolenaar wrote: Christian Brabandt wrote: here is a patch, that implements an OptionSet autocommand. This can be used, to execute certain actions when an option is set. The pattern is matched against the long option name, so one can react to

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.757

2015-06-25 Fir de Conversatie Bram Moolenaar
Christ van Willegen wrote: On Thu, Jun 25, 2015 at 5:03 PM, Bram Moolenaar b...@moolenaar.net wrote: Patch 7.4.757 Problem:Cannot detect the background color of a terminal. Solution: Add T_RBG to request the background color if possible. (Lubomir Rintel) Files:

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)

Ctrl-X and negative numbers in visual mode

2015-06-25 Fir de Conversatie Marius Gedminas
Just built vim 7.5.754 to play with the new C-A/C-X in visual mode. I observe something strange. Given the following text in a buffer: 1. lalala Pressing Ctrl-X twice while on the '1' changes it to '0' then '-1'. However if I undo back to the original state, select the '1' in a visual block

Re: Patch 7.4.755

2015-06-25 Fir de Conversatie h_east
Hi Bram, 2015-6-25(Thu) 23:09:44 UTC+9 Bram Moolenaar: Patch 7.4.755 Problem:It is not easy to count the number of characters. Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken Takata) Files: runtime/doc/eval.txt, src/eval.c,

Re: Patch 7.4.755

2015-06-25 Fir de Conversatie Ken Takata
Hi, 2015/6/26 Fri 7:29:52 UTC+9 h_east wrote: Thanks for include my patch! But part of runtime/doc/eval.txt was missing. The following difference does not reflect. *** 5792,5806 Text after the number is silently ignored. ! strchars({expr})

Re: NFA regex engine bug

2015-06-25 Fir de Conversatie Axel Bender
Unless this is a principal question, a solution working with re=2 is %s/\(^\d\+\)\(.*\)\n\1.*$/\1\2/ -- -- 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 ---