Re: [bug] vim-7.4.2305 crashes in bugIsChanged with NULL buf pointer

2016-09-02 Fir de Conversatie Dominique Pellé
Bram Moolenaar wrote: > Dominique Pellé wrote: > >> The attached script causes vim-7.4.2305 to crash: >> >> $ cat crash.vim >> new >> tabedit >> tabfirst >> au BufUnload tabnext >> q >> >> $ vim -u NONE -S crash.vim >> Vim: Caught deadly signal SEGV >> Vim: Finished. >> Segmentation fault (core

[patch] corrections in runtime/doc/version8.txt

2016-09-02 Fir de Conversatie Dominique Pellé
Hi Attached patch has corrections in runtime/doc/version8.txt. Regards Dominique -- -- 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 --- You received

[bug] vim-7.4.2311 crashes with deleted augroup, regression introduced by vim-7.4.2117

2016-09-02 Fir de Conversatie Dominique Pellé
Hi afl-fuzz found another crash in Vim-7.4.2311 and older: $ cat crash.vim augroup x augroup! x au VimEnter * echo au VimEnter $ vim -u NONE -S crash.vim Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault (core dumped) program received signal SIGSEGV, Segmentation fault.

[bug?][patch] Vim command completion is not performed, when expression register inserted

2016-09-02 Fir de Conversatie h_east
Hi Bram and list, How to reproduce: - Prepare the following vim script file. $ cat sample1.vim function! Sample() return 'autocmd ' endfunction call feedkeys("i\=Sample()\\\") - Run vanilla vim with execute above file. $ vim -Nu NONE -S sample1.vim Expected behavior (I think): Current

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie LCD 47
On 2 September 2016, Bram Moolenaar wrote: > > Lcd wrote: > > > On 1 September 2016, Bram Moolenaar wrote: > > > > > > Patch 7.4.2299 Problem: QuickFixCmdPre and QuickFixCmdPost > > > autocommands are not always triggered. Solution: Also trigger > > >

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie LCD 47
On 2 September 2016, Christian Brabandt wrote: > Hi LCD! > > On Fr, 02 Sep 2016, LCD 47 wrote: > > > On 2 September 2016, Ingo Karkat wrote: > > > On 09/02/2016 09:51 PM, LCD 47 wrote: > > > > On 1 September 2016, Bram Moolenaar

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie Bram Moolenaar
Lcd wrote: > On 1 September 2016, Bram Moolenaar wrote: > > > > Patch 7.4.2299 > > Problem:QuickFixCmdPre and QuickFixCmdPost autocommands are not always > > triggered. > > Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan Lakshmanan) > >

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie LCD 47
On 2 September 2016, LCD 47 wrote: > On 2 September 2016, Ingo Karkat wrote: > > On 09/02/2016 09:51 PM, LCD 47 wrote: > > > On 1 September 2016, Bram Moolenaar wrote: > > >> > > >> Patch 7.4.2299 Problem: QuickFixCmdPre and

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie Christian Brabandt
Hi LCD! On Fr, 02 Sep 2016, LCD 47 wrote: > On 2 September 2016, Ingo Karkat wrote: > > On 09/02/2016 09:51 PM, LCD 47 wrote: > > > On 1 September 2016, Bram Moolenaar wrote: > > >> > > >> Patch 7.4.2299 Problem: QuickFixCmdPre and QuickFixCmdPost > >

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie LCD 47
On 2 September 2016, Ingo Karkat wrote: > On 09/02/2016 09:51 PM, LCD 47 wrote: > > On 1 September 2016, Bram Moolenaar wrote: > >> > >> Patch 7.4.2299 Problem: QuickFixCmdPre and QuickFixCmdPost > >> autocommands are not always triggered. Solution:

Patch 7.4.2311

2016-09-02 Fir de Conversatie Bram Moolenaar
Patch 7.4.2311 Problem:Appveyor 64 bit build still using Python 3.4 Solution: Switch to Python 3.5. (Ken Takata, closes #1032) Files: appveyor.yml, src/appveyor.bat *** ../vim-7.4.2310/appveyor.yml2016-02-24 22:27:01.016713821 +0100 --- appveyor.yml2016-09-02

Re: [patch] fixed use of free memory with timers (bug introduced in Vim-7.4.2304)

2016-09-02 Fir de Conversatie Bram Moolenaar
Dominique Pellé wrote: > Valgrind detects use of free memory in Vim-7.4.2305 > Bug was introduced in Vim-7.4.2304. > > $ valgrind 2> log vim -u NONE -c 'call timer_start(0, "x")' > > ==11797== Memcheck, a memory error detector > ==11797== Copyright (C) 2002-2015, and GNU GPL'd, by Julian

Patch 7.4.2310

2016-09-02 Fir de Conversatie Bram Moolenaar
Patch 7.4.2310 (after 7.4.2304) Problem:Accessing freed memory when a timer does not repeat. Solution: Free after removing it. (Dominique Pelle) Files: src/ex_cmds2.c *** ../vim-7.4.2309/src/ex_cmds2.c 2016-09-01 21:26:16.166308476 +0200 --- src/ex_cmds2.c 2016-09-02

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie Ingo Karkat
On 09/02/2016 09:51 PM, LCD 47 wrote: > On 1 September 2016, Bram Moolenaar wrote: >> >> Patch 7.4.2299 >> Problem:QuickFixCmdPre and QuickFixCmdPost autocommands are not always >> triggered. >> Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie LCD 47
On 1 September 2016, Bram Moolenaar wrote: > > Patch 7.4.2299 > Problem:QuickFixCmdPre and QuickFixCmdPost autocommands are not always > triggered. > Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan Lakshmanan) > Files: src/quickfix.c,

Patch 7.4.2309

2016-09-02 Fir de Conversatie Bram Moolenaar
Patch 7.4.2309 Problem:Crash when doing tabnext in a BufUnload autocmd. (Dominique Pelle) Solution: When detecting that the tab page changed, don't just abort but delete the window where w_buffer is NULL. Files: src/window.c, src/testdir/test_tabpage.vim ***

Re: Screen update issue with incsearch in latest code

2016-09-02 Fir de Conversatie Christian Brabandt
Hi Mike! On Fr, 02 Sep 2016, Mike Williams wrote: > Hi, > > On 02/09/2016 12:22, Christian Brabandt wrote: > >On Mi, 31 Aug 2016, Mike Williams wrote: > > > >>Hi, > >> > >>I pretty much lurk here these days but remember seeing some > >>discussion on changes to do with incremental search. I am

Patch 7.4.2308

2016-09-02 Fir de Conversatie Bram Moolenaar
Patch 7.4.2308 Problem:Old charsearch test still listed in Makefile. Solution: Remove the line. Files: src/testdir/Make_all.mak *** ../vim-7.4.2307/src/testdir/Make_all.mak2016-09-02 19:50:08.432097742 +0200 --- src/testdir/Make_all.mak2016-09-02 20:01:28.602113830 +0200

Re: [bug] vim-7.4.2305 crashes in bugIsChanged with NULL buf pointer

2016-09-02 Fir de Conversatie Bram Moolenaar
Dominique Pellé wrote: > The attached script causes vim-7.4.2305 to crash: > > $ cat crash.vim > new > tabedit > tabfirst > au BufUnload tabnext > q > > $ vim -u NONE -S crash.vim > Vim: Caught deadly signal SEGV > Vim: Finished. > Segmentation fault (core dumped) > > 3518│ int > 3519│

Re: Convert test_marks to a new style test

2016-09-02 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > On Thu, Sep 1, 2016 at 1:10 PM, Bram Moolenaar wrote: > > > > Yegappan wrote: > > > >> >> The attached patch converts the test_marks test from old style to new > >> >> style. > >> > > >> > Thanks, I'll look into it soon. > >> > > >> > >> I have converted a

Patch 7.4.2307

2016-09-02 Fir de Conversatie Bram Moolenaar
Patch 7.4.2307 Problem:Several tests are old style. Solution: Turn them into new style tests. (Yegappan Lakshmanan) Files: src/testdir/Make_all.mak, src/testdir/test102.in, src/testdir/test102.ok, src/testdir/test46.in, src/testdir/test46.ok,

Patch 7.4.2306

2016-09-02 Fir de Conversatie Bram Moolenaar
Patch 7.4.2306 Problem:Default value for 'langremap' is wrong. Solution: Set the right value. (Jürgen Krämer) Add a test. Files: src/option.c, src/testdir/test_mapping.vim *** ../vim-7.4.2305/src/option.c2016-08-29 22:48:12.157106115 +0200 --- src/option.c2016-09-02

Re: Patch 7.4.2236

2016-09-02 Fir de Conversatie Bram Moolenaar
Jürgen Krämer wrote: > Bram Moolenaar schrieb am 21.08.2016 um 17:45: > > > > Patch 7.4.2236 > > Problem:The 'langnoremap' option leads to double negatives. And it does > > not work for the last character of a mapping. > > Solution: Add 'langremap' with the opposite value.

Re: Patch 7.4.2302

2016-09-02 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/9/2 Fri 3:51:35 UTC+9 Bram Moolenaar wrote: > > Patch 7.4.2302 > > Problem:Default interface versions for MS-Windows are outdated. > > Solution: Use Active Perl 5.24, Python 3.5.2. Could only make it work > > with > > Ruby 1.9.2. > > Files:

[bug] vim-7.4.2305 crashes in bugIsChanged with NULL buf pointer

2016-09-02 Fir de Conversatie Dominique Pellé
Hi The attached script causes vim-7.4.2305 to crash: $ cat crash.vim new tabedit tabfirst au BufUnload tabnext q $ vim -u NONE -S crash.vim Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault (core dumped) 3518│ int 3519│ bufIsChanged(buf_T *buf) 3520│ { 3521│ return

Re: Patch 7.4.2302

2016-09-02 Fir de Conversatie Ken Takata
Hi Bram, 2016/9/2 Fri 3:51:35 UTC+9 Bram Moolenaar wrote: > Patch 7.4.2302 > Problem:Default interface versions for MS-Windows are outdated. > Solution: Use Active Perl 5.24, Python 3.5.2. Could only make it work with > Ruby 1.9.2. > Files: src/bigvim.bat, src/bigvim64.bat

Re: [bug] g< does not work with execute()/redir

2016-09-02 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > > > There is a bug when using g< with execute() > > > > > > One cannot capture it's output using execute()/redir: > > > > > > :echo "a\nb\nc\nd\n" > > > (press enter prompt) > > > :norm! g< > > > (shows the echo output again) > > > :let b=execute(':unsilent norm!

Re: Screen update issue with incsearch in latest code

2016-09-02 Fir de Conversatie Mike Williams
Hi, On 02/09/2016 12:22, Christian Brabandt wrote: On Mi, 31 Aug 2016, Mike Williams wrote: Hi, I pretty much lurk here these days but remember seeing some discussion on changes to do with incremental search. I am seeing strange screen jumps with incremental search with the current version

Re: Screen update issue with incsearch in latest code

2016-09-02 Fir de Conversatie Christian Brabandt
On Mi, 31 Aug 2016, Mike Williams wrote: > Hi, > > I pretty much lurk here these days but remember seeing some > discussion on changes to do with incremental search. I am seeing > strange screen jumps with incremental search with the current > version 7.4.2295. This is on on Windows and linux.

Re: Patch 7.4.2299

2016-09-02 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > On Thu, Sep 1, 2016 at 6:46 AM, Bram Moolenaar wrote: > > > > Patch 7.4.2299 > > Problem:QuickFixCmdPre and QuickFixCmdPost autocommands are not always > > triggered. > > Solution: Also trigger on ":expr", ":cbuffer", etc. (Yegappan

Re: [bug] g< does not work with execute()/redir

2016-09-02 Fir de Conversatie Christian Brabandt
On Do, 01 Sep 2016, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > There is a bug when using g< with execute() > > > > One cannot capture it's output using execute()/redir: > > > > :echo "a\nb\nc\nd\n" > > (press enter prompt) > > :norm! g< > > (shows the echo output again) > >

Re: Patch 7.4.2236

2016-09-02 Fir de Conversatie 'Jürgen Krämer' via vim_dev
Hi Bram, Bram Moolenaar schrieb am 21.08.2016 um 17:45: > > Patch 7.4.2236 > Problem:The 'langnoremap' option leads to double negatives. And it does > not work for the last character of a mapping. > Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for >

Re: Of bufnr() and other demons

2016-09-02 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2016-09-02 9:47 GMT+03:00 LCD 47 : > On 2 September 2016, Justin M. Keyes wrote: >> On Thu, Sep 1, 2016 at 4:20 PM, LCD 47 wrote: >> > On 1 September 2016, Nikolay Aleksandrovich Pavlov >> > wrote: >> >> 2016-09-01 15:47

Re: Of bufnr() and other demons

2016-09-02 Fir de Conversatie LCD 47
On 2 September 2016, Justin M. Keyes wrote: > On Thu, Sep 1, 2016 at 4:20 PM, LCD 47 wrote: > > On 1 September 2016, Nikolay Aleksandrovich Pavlov > > wrote: > >> 2016-09-01 15:47 GMT+03:00 LCD 47 : > >> > What is