Karsten Hopp 170224
To: vim_dev@googlegroups.com
Karsten Hopp 170224
Subject: Patch 7.3.444
Karsten Hopp 170224
Fcc: outbox
Karsten Hopp 170224
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 170224
Mime-Version: 1.0
Karsten Hopp 170224
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 170224
Content-Transfer-Encoding: 8bit
Karsten Hopp 170224
------------
Karsten Hopp 170224
Karsten Hopp 170224
Patch 7.3.444
Karsten Hopp 170224
Problem:    ":all!" and ":sall!" give error E477, even though the
Karsten Hopp 170224
            documentation says these are valid commands.
Karsten Hopp 170224
Solution:   Support the exclamation mark. (Hirohito Higashi)
Karsten Hopp 170224
Files:      src/ex_cmds.h, src/testdir/test31.in, src/testdir/test31.ok
Karsten Hopp 170224
Karsten Hopp 170224
Karsten Hopp 170224
*** ../vim-7.3.443/src/ex_cmds.h	2011-06-20 05:02:53.000000000 +0200
Karsten Hopp 170224
--- src/ex_cmds.h	2012-02-12 23:53:31.000000000 +0100
Karsten Hopp 170224
***************
Karsten Hopp 170224
*** 102,108 ****
Karsten Hopp 170224
  EX(CMD_aboveleft,	"aboveleft",	ex_wrongmodifier,
Karsten Hopp 170224
  			NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 170224
  EX(CMD_all,		"all",		ex_all,
Karsten Hopp 170224
! 			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 170224
  EX(CMD_amenu,		"amenu",	ex_menu,
Karsten Hopp 170224
  			RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
Karsten Hopp 170224
  EX(CMD_anoremenu,	"anoremenu",	ex_menu,
Karsten Hopp 170224
--- 102,108 ----
Karsten Hopp 170224
  EX(CMD_aboveleft,	"aboveleft",	ex_wrongmodifier,
Karsten Hopp 170224
  			NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 170224
  EX(CMD_all,		"all",		ex_all,
Karsten Hopp 170224
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 170224
  EX(CMD_amenu,		"amenu",	ex_menu,
Karsten Hopp 170224
  			RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
Karsten Hopp 170224
  EX(CMD_anoremenu,	"anoremenu",	ex_menu,
Karsten Hopp 170224
***************
Karsten Hopp 170224
*** 798,804 ****
Karsten Hopp 170224
  EX(CMD_sargument,	"sargument",	ex_argument,
Karsten Hopp 170224
  			BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR),
Karsten Hopp 170224
  EX(CMD_sall,		"sall",		ex_all,
Karsten Hopp 170224
! 			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 170224
  EX(CMD_sandbox,		"sandbox",	ex_wrongmodifier,
Karsten Hopp 170224
  			NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 170224
  EX(CMD_saveas,		"saveas",	ex_write,
Karsten Hopp 170224
--- 798,804 ----
Karsten Hopp 170224
  EX(CMD_sargument,	"sargument",	ex_argument,
Karsten Hopp 170224
  			BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR),
Karsten Hopp 170224
  EX(CMD_sall,		"sall",		ex_all,
Karsten Hopp 170224
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 170224
  EX(CMD_sandbox,		"sandbox",	ex_wrongmodifier,
Karsten Hopp 170224
  			NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 170224
  EX(CMD_saveas,		"saveas",	ex_write,
Karsten Hopp 170224
*** ../vim-7.3.443/src/testdir/test31.in	2010-08-15 21:57:29.000000000 +0200
Karsten Hopp 170224
--- src/testdir/test31.in	2012-02-12 23:57:42.000000000 +0100
Karsten Hopp 170224
***************
Karsten Hopp 170224
*** 63,68 ****
Karsten Hopp 170224
--- 63,74 ----
Karsten Hopp 170224
  :" write "testtext 1"
Karsten Hopp 170224
  A 3?:close!
Karsten Hopp 170224
  :w >>test.out
Karsten Hopp 170224
+ :set nohidden
Karsten Hopp 170224
+ :" test ":all!" hides changed buffer; write "testtext 2 2 2"
Karsten Hopp 170224
+ :sp Xtest4
Karsten Hopp 170224
+ GA 4?:all!
Karsten Hopp 170224
+ :1wincmd w
Karsten Hopp 170224
+ :w >>test.out
Karsten Hopp 170224
  :qa!
Karsten Hopp 170224
  ENDTEST
Karsten Hopp 170224
  
Karsten Hopp 170224
*** ../vim-7.3.443/src/testdir/test31.ok	2010-08-15 21:57:29.000000000 +0200
Karsten Hopp 170224
--- src/testdir/test31.ok	2012-02-13 00:00:13.000000000 +0100
Karsten Hopp 170224
***************
Karsten Hopp 170224
*** 9,11 ****
Karsten Hopp 170224
--- 9,12 ----
Karsten Hopp 170224
  testtext 1
Karsten Hopp 170224
  testtext 3 3 3
Karsten Hopp 170224
  testtext 1
Karsten Hopp 170224
+ testtext 2 2 2
Karsten Hopp 170224
*** ../vim-7.3.443/src/version.c	2012-02-12 23:23:25.000000000 +0100
Karsten Hopp 170224
--- src/version.c	2012-02-12 23:52:47.000000000 +0100
Karsten Hopp 170224
***************
Karsten Hopp 170224
*** 716,717 ****
Karsten Hopp 170224
--- 716,719 ----
Karsten Hopp 170224
  {   /* Add new patch number below this line */
Karsten Hopp 170224
+ /**/
Karsten Hopp 170224
+     444,
Karsten Hopp 170224
  /**/
Karsten Hopp 170224
Karsten Hopp 170224
-- 
Karsten Hopp 170224
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 170224
50. The last girl you picked up was only a jpeg.
Karsten Hopp 170224
Karsten Hopp 170224
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 170224
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 170224
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 170224
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///