checker of using python2

2017-01-14 Fir de Conversatie MURAOKA Taro
Hi the list and Bram. I suggest to add checker of using Python 2.x Python 2 will be retire 2020, and it is not so far. https://pythonclock.org/ To stop using Python 2.x suddenly is not easy for Vim users. Because it is difficult to know which scripts are using Python 2. So vim may help to detect

Inconsistency within indent/*.vim built-ins

2017-01-14 Fir de Conversatie yegortimoshenko
Hello! Indent files for some languages (clojure.vim, scala.vim, sml.vim) set default shiftwidth, while others (most, including javascript.vim, ruby.vim) don't. This causes the latter to default to 1 tab per indentation level in Vim, even though e.g. JavaScript and Ruby is typically indented

Re: Patch 8.0.0187

2017-01-14 Fir de Conversatie Ken Takata
Hi, 2017/1/15 Sun 9:52:05 UTC+9 Cesar wrote: > On 14/01/2017 02:12 p.m., Bram Moolenaar wrote: > > > > Patch 8.0.0187 > > Problem:Building with a new Ruby version fails. > > Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf, > > closes #1382) > > Files:

Re: Patch 8.0.0187

2017-01-14 Fir de Conversatie Taro MURAOKA
> I'm building vim on Windows 7 with MinGW. After compiling the latest > pull I get: > > > [...] > gobjZi686/if_ruby.o:if_ruby.c:(.text+0x862): undefined reference to > `ruby_sysinit' > gobjZi686/if_ruby.o:if_ruby.c:(.text+0x23fa): undefined reference to > `ruby_sysinit' >

Re: Patch 8.0.0187

2017-01-14 Fir de Conversatie Cesar Romani
On 14/01/2017 02:12 p.m., Bram Moolenaar wrote: > > Patch 8.0.0187 > Problem:Building with a new Ruby version fails. > Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf, > closes #1382) > Files: src/if_ruby.c > > > *** ../vim-8.0.0186/src/if_ruby.c

Re: Patch 8.0.0181

2017-01-14 Fir de Conversatie Masanori Misono
Hi Bram, 2017年1月14日土曜日 23時21分21秒 UTC+9 Bram Moolenaar: > Hirohito Higashi wrote: > > > Hi Bram, > > > > 2017-1-14(Sat) 22:54:57 UTC+9 Bram Moolenaar: > > > Patch 8.0.0181 > > > Summary:with cursorbind set cursor column highlighting is off > > > Problem:When 'cursorbind' and

Patch 8.0.0187

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0187 Problem:Building with a new Ruby version fails. Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf, closes #1382) Files: src/if_ruby.c *** ../vim-8.0.0186/src/if_ruby.c 2017-01-09 21:10:29.300184895 +0100 --- src/if_ruby.c

Patch 8.0.0186

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0186 Problem:The error message from assert_notequal() is confusing. Solution: Only mention the expected value. Files: src/eval.c, src/testdir/test_assert.vim *** ../vim-8.0.0185/src/eval.c 2017-01-12 20:06:30.148523006 +0100 --- src/eval.c 2017-01-14 18:40:19.035549604

Patch 8.0.0185

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0185 (after 8.0.0184) Problem:The system() test fails on MS-Windows. Solution: Skip the test on MS-Windows. Files: src/testdir/test_system.vim *** ../vim-8.0.0184/src/testdir/test_system.vim 2017-01-14 19:24:48.654828136 +0100 --- src/testdir/test_system.vim 2017-01-14

Patch 8.0.0184

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0184 Summary:when an error is caught Vim still exits with non-zero result Problem:When in Ex mode and an error is caught by try-catch, Vim still exits with a non-zero exit code. Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian

Patch 8.0.0183

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0183 Summary:ubsan warns for unaligned address Problem:Ubsan warns for using a pointer that is not aligned. Solution: First copy the address. (Yegappan Lakshmanan) Files: src/channel.c *** ../vim-8.0.0182/src/channel.c 2017-01-10 15:15:32.882134134 +0100 ---

Re: Patch 8.0.0182

2017-01-14 Fir de Conversatie h_east
Hi Bram, Thanks for the correct fix! -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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

Patch 8.0.0182

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0182 Problem:When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is not, then the cursor line highlighting is not updated. (Hirohito Higashi) Solution: Call redraw_later() with NOT_VALID. Files: src/move.c *** ../vim-8.0.0181/src/move.c

Re: Patch 8.0.0181

2017-01-14 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > Here is a patch. (Attached) Thanks, but that does not appear to solve the problem. Looks like we need to use NOT_VALID for redraw_later(). -- This sentence is not sure that it exists, but if it does, it will certainly consider the possibility that other sentences

Re: Patch 8.0.0181

2017-01-14 Fir de Conversatie h_east
Hi Bram, Here is a patch. (Attached) -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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

Re: Patch 8.0.0181

2017-01-14 Fir de Conversatie h_east
hi Bram, > It works for me. The following setting is no works. (set 'cursorline' without 'cursorcolumn') :set cursorbind cursorline nocursorcolumn -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply

Re: Patch 8.0.0181

2017-01-14 Fir de Conversatie Bram Moolenaar
Hirohito Higashi wrote: > Hi Bram, > > 2017-1-14(Sat) 22:54:57 UTC+9 Bram Moolenaar: > > Patch 8.0.0181 > > Summary:with cursorbind set cursor column highlighting is off > > Problem:When 'cursorbind' and 'cursorcolumn' are both on, the column > > highlignt in non-current

Re: YML formatting inconsistent bug

2017-01-14 Fir de Conversatie Bram Moolenaar
Kay Hendry wrote: > On Thursday, September 8, 2016 at 9:00:02 PM UTC+8, Christian Brabandt wrote: > > For runtime file bugs, it is recommended to contact the maintainer > > first. > > I did, no reply. :( > > Any other ways to track this or push it along? > > Can't believe I'm the only one

Re: Patch 8.0.0181

2017-01-14 Fir de Conversatie h_east
Hi Bram, 2017-1-14(Sat) 22:54:57 UTC+9 Bram Moolenaar: > Patch 8.0.0181 > Summary:with cursorbind set cursor column highlighting is off > Problem:When 'cursorbind' and 'cursorcolumn' are both on, the column > highlignt in non-current windows is wrong. > Solution: Add

Patch 8.0.0181

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0181 Summary:with cursorbind set cursor column highlighting is off Problem:When 'cursorbind' and 'cursorcolumn' are both on, the column highlignt in non-current windows is wrong. Solution: Add validate_cursor(). (Masanori Misono, closes #1372) Files:

Patch 8.0.0180

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0180 Summary:error E937 is used twice Problem:Error E937 is used both for duplicate key in JSON and for trying to delete a buffer that is in use. Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376) Files: src/json.c, src/testdir/test_json.vim

Patch 8.0.0179

2017-01-14 Fir de Conversatie Bram Moolenaar
Patch 8.0.0179 Problem:'formatprg' is a global option but the value may depend on the type of buffer. (Sung Pae) Solution: Make 'formatprg' global-local. (closes #1380) Files: src/structs.h, src/option.h, src/option.c, src/normal.c, runtime/doc/options.txt,