Patch 8.0.0648

2017-06-19 Fir de Conversatie Bram Moolenaar
Patch 8.0.0648 Problem:Possible use of NULL pointer if buflist_new() returns NULL. (Coverity) Solution: Check for NULL pointer in set_bufref(). Files: src/buffer.c *** ../vim-8.0.0647/src/buffer.c2017-06-05 16:01:53.917848222 +0200 --- src/buffer.c

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Bram Moolenaar
Nikolay Pavlov wrote: > 2017-06-19 13:11 GMT+03:00 Nikolay Aleksandrovich Pavlov : > > 2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov > > : > >> 2017-06-19 12:41 GMT+03:00 Björn Linse : > >>> vim --cmd "$(printf 'func!

code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Björn Linse
vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" works fine but vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')" does not. One would expect at least an error about 'trailing characters' as vim does in some similar situations, expect for 'endfunc "comment' (and

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-06-19 12:41 GMT+03:00 Björn Linse : > vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" > works fine but > vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')" > does not. One would expect at least an error about 'trailing characters' as > vim

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov : > 2017-06-19 12:41 GMT+03:00 Björn Linse : >> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" >> works fine but >> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc\ncall XX()')" >>

Re: [vim/vim] :set equalalways not respected anymore. (#1707)

2017-06-19 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-05-16 9:14 GMT+03:00 Christian Brabandt : > I tried Vim 7.3.0, Vim 7.4.0, Vim 8.0 and Vim 8.0.569 and all behave the > same. I have a working vim-7.0.112 at my disposal and it does behave the same as well. > > — > You are receiving this because you are subscribed

Re: code after endfunction is silently ignored (for instance in multiline --cmd)

2017-06-19 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-06-19 13:11 GMT+03:00 Nikolay Aleksandrovich Pavlov : > 2017-06-19 13:08 GMT+03:00 Nikolay Aleksandrovich Pavlov : >> 2017-06-19 12:41 GMT+03:00 Björn Linse : >>> vim --cmd "$(printf 'func! XX()\nechomsg "aa"\nendfunc')" >>> works