Marcin Szamotulski wrote: > > Ken Takata wrote: > > > > > 2014/11/28 Fri 0:23:27 UTC+9 Bram Moolenaar wrote: > > > > Patch 7.4.530 > > > > Problem: Many commands take a count or range that is not using line > > > > numbers. > > > > Solution: For each command specify what kind of count it uses. For > > > > windows, > > > > buffers and arguments have "$" and "." have a relevant > > > > meaning. > > > > (Marcin Szamotulski) > > > > Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt, > > > > runtime/doc/windows.txt, src/Makefile, src/ex_cmds.h, > > > > src/ex_docmd.c, src/testdir/Make_amiga.mak > > > > src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, > > > > src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, > > > > src/testdir/Makefile, src/testdir/test_argument_count.in, > > > > src/testdir/test_argument_count.ok, > > > > src/testdir/test_close_count.in, > > > > src/testdir/test_close_count.ok, > > > > src/window.c > > > > > > After this patch, tiny build fails: > > > https://travis-ci.org/vim-jp/vim-ci/jobs/42317489#L568 > > > > I'll make a fix. > > > > I also notice that when the window number is out of range it just uses > > the last window. Now that we have "$" it could be better to give an > > error (if backwards compatible). > > > > > And test on Windows fails: > > > https://ci.appveyor.com/project/k-takata/vim-ci/build/108#L1156 > > > > NMAKE : fatal error U1073: don't know how to make > > > > 'test_argument_count.out' > > > Are the test files missing in the repository? > > > > Yeah, forgot to add them. Done now. > > I found that `:.,$-bdelete` will trigger a segfault. The attached patch > fixes that, and in addition it makes `:%bdelete` and `:%bwipeout` > work as well.
Thanks. Keep an eye open for any other problems. It's a big change. -- Mynd you, m00se bites Kan be pretty nasti ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.