Karsten Hopp 96c341
To: vim-dev@vim.org
Karsten Hopp 96c341
Subject: Patch 7.2.420
Karsten Hopp 96c341
Fcc: outbox
Karsten Hopp 96c341
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 96c341
Mime-Version: 1.0
Karsten Hopp 96c341
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 96c341
Content-Transfer-Encoding: 8bit
Karsten Hopp 96c341
------------
Karsten Hopp 96c341
Karsten Hopp 96c341
Patch 7.2.420
Karsten Hopp 96c341
Problem:    ":argedit" does not accept "++enc=utf8" as documented. (Dominique
Karsten Hopp 96c341
	    Pelle)
Karsten Hopp 96c341
Solution:   Add the ARGOPT flag to ":argedit".
Karsten Hopp 96c341
Files:	    src/ex_cmds.h
Karsten Hopp 96c341
Karsten Hopp 96c341
Karsten Hopp 96c341
*** ../vim-7.2.419/src/ex_cmds.h	2009-07-09 15:55:34.000000000 +0200
Karsten Hopp 96c341
--- src/ex_cmds.h	2010-05-13 16:18:38.000000000 +0200
Karsten Hopp 96c341
***************
Karsten Hopp 96c341
*** 52,58 ****
Karsten Hopp 96c341
  #define ARGOPT	      0x40000L	/* allow "++opt=val" argument */
Karsten Hopp 96c341
  #define SBOXOK	      0x80000L	/* allowed in the sandbox */
Karsten Hopp 96c341
  #define CMDWIN	     0x100000L	/* allowed in cmdline window */
Karsten Hopp 96c341
! #define MODIFY       0x200000L  /* forbidden in non-'modifiable' buffer */
Karsten Hopp 96c341
  #define EXFLAGS      0x400000L	/* allow flags after count in argument */
Karsten Hopp 96c341
  #define FILES	(XFILE | EXTRA)	/* multiple extra files allowed */
Karsten Hopp 96c341
  #define WORD1	(EXTRA | NOSPC)	/* one extra word allowed */
Karsten Hopp 96c341
--- 52,58 ----
Karsten Hopp 96c341
  #define ARGOPT	      0x40000L	/* allow "++opt=val" argument */
Karsten Hopp 96c341
  #define SBOXOK	      0x80000L	/* allowed in the sandbox */
Karsten Hopp 96c341
  #define CMDWIN	     0x100000L	/* allowed in cmdline window */
Karsten Hopp 96c341
! #define MODIFY       0x200000L	/* forbidden in non-'modifiable' buffer */
Karsten Hopp 96c341
  #define EXFLAGS      0x400000L	/* allow flags after count in argument */
Karsten Hopp 96c341
  #define FILES	(XFILE | EXTRA)	/* multiple extra files allowed */
Karsten Hopp 96c341
  #define WORD1	(EXTRA | NOSPC)	/* one extra word allowed */
Karsten Hopp 96c341
***************
Karsten Hopp 96c341
*** 116,122 ****
Karsten Hopp 96c341
  EX(CMD_argdo,		"argdo",	ex_listdo,
Karsten Hopp 96c341
  			BANG|NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 96c341
  EX(CMD_argedit,		"argedit",	ex_argedit,
Karsten Hopp 96c341
! 			BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|TRLBAR),
Karsten Hopp 96c341
  EX(CMD_argglobal,	"argglobal",	ex_args,
Karsten Hopp 96c341
  			BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
Karsten Hopp 96c341
  EX(CMD_arglocal,	"arglocal",	ex_args,
Karsten Hopp 96c341
--- 116,122 ----
Karsten Hopp 96c341
  EX(CMD_argdo,		"argdo",	ex_listdo,
Karsten Hopp 96c341
  			BANG|NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 96c341
  EX(CMD_argedit,		"argedit",	ex_argedit,
Karsten Hopp 96c341
! 			BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|ARGOPT|TRLBAR),
Karsten Hopp 96c341
  EX(CMD_argglobal,	"argglobal",	ex_args,
Karsten Hopp 96c341
  			BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
Karsten Hopp 96c341
  EX(CMD_arglocal,	"arglocal",	ex_args,
Karsten Hopp 96c341
*** ../vim-7.2.419/src/version.c	2010-05-13 16:31:15.000000000 +0200
Karsten Hopp 96c341
--- src/version.c	2010-05-13 16:43:30.000000000 +0200
Karsten Hopp 96c341
***************
Karsten Hopp 96c341
*** 683,684 ****
Karsten Hopp 96c341
--- 683,686 ----
Karsten Hopp 96c341
  {   /* Add new patch number below this line */
Karsten Hopp 96c341
+ /**/
Karsten Hopp 96c341
+     420,
Karsten Hopp 96c341
  /**/
Karsten Hopp 96c341
Karsten Hopp 96c341
-- 
Karsten Hopp 96c341
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 96c341
33. You name your children Eudora, Mozilla and Dotcom.
Karsten Hopp 96c341
Karsten Hopp 96c341
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 96c341
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 96c341
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 96c341
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///