|
Karsten Hopp |
452e0b |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
452e0b |
Subject: Patch 7.4.588
|
|
Karsten Hopp |
452e0b |
Fcc: outbox
|
|
Karsten Hopp |
452e0b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
452e0b |
Mime-Version: 1.0
|
|
Karsten Hopp |
452e0b |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
452e0b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
452e0b |
------------
|
|
Karsten Hopp |
452e0b |
|
|
Karsten Hopp |
452e0b |
Patch 7.4.588
|
|
Karsten Hopp |
452e0b |
Problem: ":0argedit foo" puts the new argument in the second place instead
|
|
Karsten Hopp |
452e0b |
of the first.
|
|
Karsten Hopp |
452e0b |
Solution: Adjust the range type. (Ingo Karkat)
|
|
Karsten Hopp |
452e0b |
Files: src/ex_cmds.h, src/testdir/Make_amiga.mak,
|
|
Karsten Hopp |
452e0b |
src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
|
|
Karsten Hopp |
452e0b |
src/testdir/Make_os2.mak, src/testdir/Make_vms.mms,
|
|
Karsten Hopp |
452e0b |
src/testdir/Makefile, src/testdir/test_argument_0count.in,
|
|
Karsten Hopp |
452e0b |
src/testdir/test_argument_0count.ok
|
|
Karsten Hopp |
452e0b |
|
|
Karsten Hopp |
452e0b |
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/ex_cmds.h 2015-01-20 13:29:46.397315064 +0100
|
|
Karsten Hopp |
452e0b |
--- src/ex_cmds.h 2015-01-20 19:23:58.901739397 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 136,142 ****
|
|
Karsten Hopp |
452e0b |
BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL,
|
|
Karsten Hopp |
452e0b |
ADDR_ARGUMENTS),
|
|
Karsten Hopp |
452e0b |
EX(CMD_argedit, "argedit", ex_argedit,
|
|
Karsten Hopp |
452e0b |
! BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|ARGOPT|TRLBAR,
|
|
Karsten Hopp |
452e0b |
ADDR_ARGUMENTS),
|
|
Karsten Hopp |
452e0b |
EX(CMD_argglobal, "argglobal", ex_args,
|
|
Karsten Hopp |
452e0b |
BANG|FILES|EDITCMD|ARGOPT|TRLBAR,
|
|
Karsten Hopp |
452e0b |
--- 136,142 ----
|
|
Karsten Hopp |
452e0b |
BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL,
|
|
Karsten Hopp |
452e0b |
ADDR_ARGUMENTS),
|
|
Karsten Hopp |
452e0b |
EX(CMD_argedit, "argedit", ex_argedit,
|
|
Karsten Hopp |
452e0b |
! BANG|NEEDARG|RANGE|NOTADR|ZEROR|FILE1|EDITCMD|ARGOPT|TRLBAR,
|
|
Karsten Hopp |
452e0b |
ADDR_ARGUMENTS),
|
|
Karsten Hopp |
452e0b |
EX(CMD_argglobal, "argglobal", ex_args,
|
|
Karsten Hopp |
452e0b |
BANG|FILES|EDITCMD|ARGOPT|TRLBAR,
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/testdir/Make_amiga.mak 2014-12-13 21:00:52.059036480 +0100
|
|
Karsten Hopp |
452e0b |
--- src/testdir/Make_amiga.mak 2015-01-20 19:22:46.050535656 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 36,41 ****
|
|
Karsten Hopp |
452e0b |
--- 36,42 ----
|
|
Karsten Hopp |
452e0b |
test94.out test95.out test96.out test97.out test98.out \
|
|
Karsten Hopp |
452e0b |
test99.out test100.out test101.out test102.out test103.out \
|
|
Karsten Hopp |
452e0b |
test104.out test105.out test106.out test107.out \
|
|
Karsten Hopp |
452e0b |
+ test_argument_0count.out \
|
|
Karsten Hopp |
452e0b |
test_argument_count.out \
|
|
Karsten Hopp |
452e0b |
test_autoformat_join.out \
|
|
Karsten Hopp |
452e0b |
test_breakindent.out \
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 175,180 ****
|
|
Karsten Hopp |
452e0b |
--- 176,182 ----
|
|
Karsten Hopp |
452e0b |
test105.out: test105.in
|
|
Karsten Hopp |
452e0b |
test106.out: test106.in
|
|
Karsten Hopp |
452e0b |
test107.out: test107.in
|
|
Karsten Hopp |
452e0b |
+ test_argument_0count.out: test_argument_0count.in
|
|
Karsten Hopp |
452e0b |
test_argument_count.out: test_argument_count.in
|
|
Karsten Hopp |
452e0b |
test_autoformat_join.out: test_autoformat_join.in
|
|
Karsten Hopp |
452e0b |
test_breakindent.out: test_breakindent.in
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/testdir/Make_dos.mak 2014-12-13 21:00:52.059036480 +0100
|
|
Karsten Hopp |
452e0b |
--- src/testdir/Make_dos.mak 2015-01-20 19:22:46.050535656 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 35,40 ****
|
|
Karsten Hopp |
452e0b |
--- 35,41 ----
|
|
Karsten Hopp |
452e0b |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
452e0b |
test100.out test101.out test102.out test103.out test104.out \
|
|
Karsten Hopp |
452e0b |
test105.out test106.out test107.out\
|
|
Karsten Hopp |
452e0b |
+ test_argument_0count.out \
|
|
Karsten Hopp |
452e0b |
test_argument_count.out \
|
|
Karsten Hopp |
452e0b |
test_autoformat_join.out \
|
|
Karsten Hopp |
452e0b |
test_breakindent.out \
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/testdir/Make_ming.mak 2014-12-13 21:00:52.059036480 +0100
|
|
Karsten Hopp |
452e0b |
--- src/testdir/Make_ming.mak 2015-01-20 19:22:46.050535656 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 57,62 ****
|
|
Karsten Hopp |
452e0b |
--- 57,63 ----
|
|
Karsten Hopp |
452e0b |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
452e0b |
test100.out test101.out test102.out test103.out test104.out \
|
|
Karsten Hopp |
452e0b |
test105.out test106.out test107.out \
|
|
Karsten Hopp |
452e0b |
+ test_argument_0count.out \
|
|
Karsten Hopp |
452e0b |
test_argument_count.out \
|
|
Karsten Hopp |
452e0b |
test_autoformat_join.out \
|
|
Karsten Hopp |
452e0b |
test_breakindent.out \
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/testdir/Make_os2.mak 2014-12-13 21:00:52.059036480 +0100
|
|
Karsten Hopp |
452e0b |
--- src/testdir/Make_os2.mak 2015-01-20 19:22:46.050535656 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 37,42 ****
|
|
Karsten Hopp |
452e0b |
--- 37,43 ----
|
|
Karsten Hopp |
452e0b |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
452e0b |
test100.out test101.out test102.out test103.out test104.out \
|
|
Karsten Hopp |
452e0b |
test105.out test106.out test107.out \
|
|
Karsten Hopp |
452e0b |
+ test_argument_0count.out \
|
|
Karsten Hopp |
452e0b |
test_argument_count.out \
|
|
Karsten Hopp |
452e0b |
test_autoformat_join.out \
|
|
Karsten Hopp |
452e0b |
test_breakindent.out \
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/testdir/Make_vms.mms 2014-12-13 21:00:52.059036480 +0100
|
|
Karsten Hopp |
452e0b |
--- src/testdir/Make_vms.mms 2015-01-20 19:22:46.050535656 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 96,101 ****
|
|
Karsten Hopp |
452e0b |
--- 96,102 ----
|
|
Karsten Hopp |
452e0b |
test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
452e0b |
test100.out test101.out test103.out test104.out \
|
|
Karsten Hopp |
452e0b |
test105.out test106.out test107.out \
|
|
Karsten Hopp |
452e0b |
+ test_argument_0count.out \
|
|
Karsten Hopp |
452e0b |
test_argument_count.out \
|
|
Karsten Hopp |
452e0b |
test_autoformat_join.out \
|
|
Karsten Hopp |
452e0b |
test_breakindent.out \
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/testdir/Makefile 2014-12-13 21:00:52.059036480 +0100
|
|
Karsten Hopp |
452e0b |
--- src/testdir/Makefile 2015-01-20 19:22:46.050535656 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 33,38 ****
|
|
Karsten Hopp |
452e0b |
--- 33,39 ----
|
|
Karsten Hopp |
452e0b |
test94.out test95.out test96.out test97.out test98.out \
|
|
Karsten Hopp |
452e0b |
test99.out test100.out test101.out test102.out test103.out \
|
|
Karsten Hopp |
452e0b |
test104.out test105.out test106.out test107.out \
|
|
Karsten Hopp |
452e0b |
+ test_argument_0count.out \
|
|
Karsten Hopp |
452e0b |
test_argument_count.out \
|
|
Karsten Hopp |
452e0b |
test_autoformat_join.out \
|
|
Karsten Hopp |
452e0b |
test_breakindent.out \
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/testdir/test_argument_0count.in 2015-01-20 19:30:28.969469550 +0100
|
|
Karsten Hopp |
452e0b |
--- src/testdir/test_argument_0count.in 2015-01-20 19:22:46.050535656 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 0 ****
|
|
Karsten Hopp |
452e0b |
--- 1,28 ----
|
|
Karsten Hopp |
452e0b |
+ Tests for :0argadd and :0argedit vim: set ft=vim :
|
|
Karsten Hopp |
452e0b |
+
|
|
Karsten Hopp |
452e0b |
+ STARTTEST
|
|
Karsten Hopp |
452e0b |
+ :so small.vim
|
|
Karsten Hopp |
452e0b |
+ :let arglists = []
|
|
Karsten Hopp |
452e0b |
+ :%argd
|
|
Karsten Hopp |
452e0b |
+ :arga a b c d
|
|
Karsten Hopp |
452e0b |
+ :2argu
|
|
Karsten Hopp |
452e0b |
+ :0arga added
|
|
Karsten Hopp |
452e0b |
+ :call add(arglists, argv())
|
|
Karsten Hopp |
452e0b |
+ :2argu
|
|
Karsten Hopp |
452e0b |
+ :arga third
|
|
Karsten Hopp |
452e0b |
+ :call add(arglists, argv())
|
|
Karsten Hopp |
452e0b |
+ :%argd
|
|
Karsten Hopp |
452e0b |
+ :arga a b c d
|
|
Karsten Hopp |
452e0b |
+ :2argu
|
|
Karsten Hopp |
452e0b |
+ :0arge edited
|
|
Karsten Hopp |
452e0b |
+ :call add(arglists, argv())
|
|
Karsten Hopp |
452e0b |
+ :2argu
|
|
Karsten Hopp |
452e0b |
+ :arga third
|
|
Karsten Hopp |
452e0b |
+ :call add(arglists, argv())
|
|
Karsten Hopp |
452e0b |
+ :e! test.out
|
|
Karsten Hopp |
452e0b |
+ :call append(0, map(copy(arglists), 'join(v:val, " ")'))
|
|
Karsten Hopp |
452e0b |
+ :w
|
|
Karsten Hopp |
452e0b |
+ :qa!
|
|
Karsten Hopp |
452e0b |
+ ENDTEST
|
|
Karsten Hopp |
452e0b |
+
|
|
Karsten Hopp |
452e0b |
+
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/testdir/test_argument_0count.ok 2015-01-20 19:30:28.973469506 +0100
|
|
Karsten Hopp |
452e0b |
--- src/testdir/test_argument_0count.ok 2015-01-20 19:22:46.050535656 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 0 ****
|
|
Karsten Hopp |
452e0b |
--- 1,5 ----
|
|
Karsten Hopp |
452e0b |
+ added a b c d
|
|
Karsten Hopp |
452e0b |
+ added a third b c d
|
|
Karsten Hopp |
452e0b |
+ edited a b c d
|
|
Karsten Hopp |
452e0b |
+ edited a third b c d
|
|
Karsten Hopp |
452e0b |
+
|
|
Karsten Hopp |
452e0b |
*** ../vim-7.4.587/src/version.c 2015-01-20 19:01:32.384444246 +0100
|
|
Karsten Hopp |
452e0b |
--- src/version.c 2015-01-20 19:21:15.335527208 +0100
|
|
Karsten Hopp |
452e0b |
***************
|
|
Karsten Hopp |
452e0b |
*** 743,744 ****
|
|
Karsten Hopp |
452e0b |
--- 743,746 ----
|
|
Karsten Hopp |
452e0b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
452e0b |
+ /**/
|
|
Karsten Hopp |
452e0b |
+ 588,
|
|
Karsten Hopp |
452e0b |
/**/
|
|
Karsten Hopp |
452e0b |
|
|
Karsten Hopp |
452e0b |
--
|
|
Karsten Hopp |
452e0b |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
452e0b |
94. Now admit it... How many of you have made "modem noises" into
|
|
Karsten Hopp |
452e0b |
the phone just to see if it was possible? :-)
|
|
Karsten Hopp |
452e0b |
|
|
Karsten Hopp |
452e0b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
452e0b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
452e0b |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
452e0b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|