Karsten Hopp 13479f
To: vim_dev@googlegroups.com
Karsten Hopp 13479f
Subject: Patch 7.4.450
Karsten Hopp 13479f
Fcc: outbox
Karsten Hopp 13479f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 13479f
Mime-Version: 1.0
Karsten Hopp 13479f
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 13479f
Content-Transfer-Encoding: 8bit
Karsten Hopp 13479f
------------
Karsten Hopp 13479f
Karsten Hopp 13479f
Patch 7.4.450
Karsten Hopp 13479f
Problem:    Not all commands that edit another buffer support the +cmd
Karsten Hopp 13479f
	    argument.
Karsten Hopp 13479f
Solution:   Add the +cmd argument to relevant commands. (Marcin Szamotulski)
Karsten Hopp 13479f
Files:	    runtime/doc/windows.txt, src/ex_cmds.h, src/ex_docmd.c
Karsten Hopp 13479f
Karsten Hopp 13479f
Karsten Hopp 13479f
*** ../vim-7.4.449/runtime/doc/windows.txt	2014-03-25 13:03:44.929793765 +0100
Karsten Hopp 13479f
--- runtime/doc/windows.txt	2014-09-19 19:53:55.618447914 +0200
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 1042,1077 ****
Karsten Hopp 13479f
  		a number).  Insert a backslash before a space in a buffer
Karsten Hopp 13479f
  		name.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]b[uffer][!] [N]			*:b* *:bu* *:buf* *:buffer* *E86*
Karsten Hopp 13479f
  		Edit buffer [N] from the buffer list.  If [N] is not given,
Karsten Hopp 13479f
  		the current buffer remains being edited.  See |:buffer-!| for
Karsten Hopp 13479f
  		[!].  This will also edit a buffer that is not in the buffer
Karsten Hopp 13479f
  		list, without setting the 'buflisted' flag.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]b[uffer][!] {bufname}
Karsten Hopp 13479f
  		Edit buffer for {bufname} from the buffer list.  See
Karsten Hopp 13479f
  		|:buffer-!| for [!].  This will also edit a buffer that is not
Karsten Hopp 13479f
  		in the buffer list, without setting the 'buflisted' flag.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]sb[uffer] [N]					*:sb* *:sbuffer*
Karsten Hopp 13479f
  		Split window and edit buffer [N] from the buffer list.  If [N]
Karsten Hopp 13479f
  		is not given, the current buffer is edited.  Respects the
Karsten Hopp 13479f
  		"useopen" setting of 'switchbuf' when splitting.  This will
Karsten Hopp 13479f
  		also edit a buffer that is not in the buffer list, without
Karsten Hopp 13479f
  		setting the 'buflisted' flag.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]sb[uffer] {bufname}
Karsten Hopp 13479f
  		Split window and edit buffer for {bufname} from the buffer
Karsten Hopp 13479f
  		list.  This will also edit a buffer that is not in the buffer
Karsten Hopp 13479f
  		list, without setting the 'buflisted' flag.
Karsten Hopp 13479f
  		Note: If what you want to do is split the buffer, make a copy
Karsten Hopp 13479f
  		under another name, you can do it this way: >
Karsten Hopp 13479f
  			:w foobar | sp #
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]bn[ext][!] [N]					*:bn* *:bnext* *E87*
Karsten Hopp 13479f
  		Go to [N]th next buffer in buffer list.  [N] defaults to one.
Karsten Hopp 13479f
  		Wraps around the end of the buffer list.
Karsten Hopp 13479f
  		See |:buffer-!| for [!].
Karsten Hopp 13479f
  		If you are in a help buffer, this takes you to the next help
Karsten Hopp 13479f
  		buffer (if there is one).  Similarly, if you are in a normal
Karsten Hopp 13479f
  		(non-help) buffer, this takes you to the next normal buffer.
Karsten Hopp 13479f
--- 1042,1082 ----
Karsten Hopp 13479f
  		a number).  Insert a backslash before a space in a buffer
Karsten Hopp 13479f
  		name.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]b[uffer][!] [+cmd] [N]		*:b* *:bu* *:buf* *:buffer* *E86*
Karsten Hopp 13479f
  		Edit buffer [N] from the buffer list.  If [N] is not given,
Karsten Hopp 13479f
  		the current buffer remains being edited.  See |:buffer-!| for
Karsten Hopp 13479f
  		[!].  This will also edit a buffer that is not in the buffer
Karsten Hopp 13479f
  		list, without setting the 'buflisted' flag.
Karsten Hopp 13479f
+ 		Also see ||+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]b[uffer][!] [+cmd] {bufname}
Karsten Hopp 13479f
  		Edit buffer for {bufname} from the buffer list.  See
Karsten Hopp 13479f
  		|:buffer-!| for [!].  This will also edit a buffer that is not
Karsten Hopp 13479f
  		in the buffer list, without setting the 'buflisted' flag.
Karsten Hopp 13479f
+ 		Also see ||+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]sb[uffer] [+cmd] [N]				*:sb* *:sbuffer*
Karsten Hopp 13479f
  		Split window and edit buffer [N] from the buffer list.  If [N]
Karsten Hopp 13479f
  		is not given, the current buffer is edited.  Respects the
Karsten Hopp 13479f
  		"useopen" setting of 'switchbuf' when splitting.  This will
Karsten Hopp 13479f
  		also edit a buffer that is not in the buffer list, without
Karsten Hopp 13479f
  		setting the 'buflisted' flag.
Karsten Hopp 13479f
+ 		Also see ||+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]sb[uffer] [+cmd] {bufname}
Karsten Hopp 13479f
  		Split window and edit buffer for {bufname} from the buffer
Karsten Hopp 13479f
  		list.  This will also edit a buffer that is not in the buffer
Karsten Hopp 13479f
  		list, without setting the 'buflisted' flag.
Karsten Hopp 13479f
  		Note: If what you want to do is split the buffer, make a copy
Karsten Hopp 13479f
  		under another name, you can do it this way: >
Karsten Hopp 13479f
  			:w foobar | sp #
Karsten Hopp 13479f
+ <		Also see ||+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]bn[ext][!] [+cmd] [N]				*:bn* *:bnext* *E87*
Karsten Hopp 13479f
  		Go to [N]th next buffer in buffer list.  [N] defaults to one.
Karsten Hopp 13479f
  		Wraps around the end of the buffer list.
Karsten Hopp 13479f
  		See |:buffer-!| for [!].
Karsten Hopp 13479f
+ 		Also see ||+cmd|.
Karsten Hopp 13479f
  		If you are in a help buffer, this takes you to the next help
Karsten Hopp 13479f
  		buffer (if there is one).  Similarly, if you are in a normal
Karsten Hopp 13479f
  		(non-help) buffer, this takes you to the next normal buffer.
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 1079,1133 ****
Karsten Hopp 13479f
  		the way when you're browsing code/text buffers.  The next three
Karsten Hopp 13479f
  		commands also work like this.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
  							*:sbn* *:sbnext*
Karsten Hopp 13479f
! :[N]sbn[ext] [N]
Karsten Hopp 13479f
  		Split window and go to [N]th next buffer in buffer list.
Karsten Hopp 13479f
  		Wraps around the end of the buffer list.  Uses 'switchbuf'
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]bN[ext][!] [N]			*:bN* *:bNext* *:bp* *:bprevious* *E88*
Karsten Hopp 13479f
! :[N]bp[revious][!] [N]
Karsten Hopp 13479f
  		Go to [N]th previous buffer in buffer list.  [N] defaults to
Karsten Hopp 13479f
  		one.  Wraps around the start of the buffer list.
Karsten Hopp 13479f
  		See |:buffer-!| for [!] and 'switchbuf'.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]sbN[ext] [N]			*:sbN* *:sbNext* *:sbp* *:sbprevious*
Karsten Hopp 13479f
! :[N]sbp[revious] [N]
Karsten Hopp 13479f
  		Split window and go to [N]th previous buffer in buffer list.
Karsten Hopp 13479f
  		Wraps around the start of the buffer list.
Karsten Hopp 13479f
  		Uses 'switchbuf'.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! 							*:br* *:brewind*
Karsten Hopp 13479f
! :br[ewind][!]	Go to first buffer in buffer list.  If the buffer list is
Karsten Hopp 13479f
  		empty, go to the first unlisted buffer.
Karsten Hopp 13479f
  		See |:buffer-!| for [!].
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! 							*:bf* *:bfirst*
Karsten Hopp 13479f
! :bf[irst]	Same as ":brewind".
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! 							*:sbr* *:sbrewind*
Karsten Hopp 13479f
! :sbr[ewind]	Split window and go to first buffer in buffer list.  If the
Karsten Hopp 13479f
  		buffer list is empty, go to the first unlisted buffer.
Karsten Hopp 13479f
  		Respects the 'switchbuf' option.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! 							*:sbf* *:sbfirst*
Karsten Hopp 13479f
! :sbf[irst]	Same as ":sbrewind".
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! 							*:bl* *:blast*
Karsten Hopp 13479f
! :bl[ast][!]	Go to last buffer in buffer list.  If the buffer list is
Karsten Hopp 13479f
  		empty, go to the last unlisted buffer.
Karsten Hopp 13479f
  		See |:buffer-!| for [!].
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! 							*:sbl* *:sblast*
Karsten Hopp 13479f
! :sbl[ast]	Split window and go to last buffer in buffer list.  If the
Karsten Hopp 13479f
  		buffer list is empty, go to the last unlisted buffer.
Karsten Hopp 13479f
  		Respects 'switchbuf' option.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]bm[odified][!] [N]				*:bm* *:bmodified* *E84*
Karsten Hopp 13479f
  		Go to [N]th next modified buffer.  Note: this command also
Karsten Hopp 13479f
  		finds unlisted buffers.  If there is no modified buffer the
Karsten Hopp 13479f
  		command fails.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]sbm[odified] [N]					*:sbm* *:sbmodified*
Karsten Hopp 13479f
  		Split window and go to [N]th next modified buffer.
Karsten Hopp 13479f
  		Respects 'switchbuf' option.
Karsten Hopp 13479f
  		Note: this command also finds buffers not in the buffer list.
Karsten Hopp 13479f
--- 1084,1144 ----
Karsten Hopp 13479f
  		the way when you're browsing code/text buffers.  The next three
Karsten Hopp 13479f
  		commands also work like this.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
+ 
Karsten Hopp 13479f
  							*:sbn* *:sbnext*
Karsten Hopp 13479f
! :[N]sbn[ext] [+cmd] [N]
Karsten Hopp 13479f
  		Split window and go to [N]th next buffer in buffer list.
Karsten Hopp 13479f
  		Wraps around the end of the buffer list.  Uses 'switchbuf'
Karsten Hopp 13479f
+ 		Also see ||+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]bN[ext][!] [+cmd] [N]		*:bN* *:bNext* *:bp* *:bprevious* *E88*
Karsten Hopp 13479f
! :[N]bp[revious][!] [+cmd] [N]
Karsten Hopp 13479f
  		Go to [N]th previous buffer in buffer list.  [N] defaults to
Karsten Hopp 13479f
  		one.  Wraps around the start of the buffer list.
Karsten Hopp 13479f
  		See |:buffer-!| for [!] and 'switchbuf'.
Karsten Hopp 13479f
+ 		Also see ||+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]sbN[ext] [+cmd] [N]			*:sbN* *:sbNext* *:sbp* *:sbprevious*
Karsten Hopp 13479f
! :[N]sbp[revious] [+cmd] [N]
Karsten Hopp 13479f
  		Split window and go to [N]th previous buffer in buffer list.
Karsten Hopp 13479f
  		Wraps around the start of the buffer list.
Karsten Hopp 13479f
  		Uses 'switchbuf'.
Karsten Hopp 13479f
+ 		Also see ||+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :br[ewind][!] [+cmd]					*:br* *:brewind*
Karsten Hopp 13479f
! 		Go to first buffer in buffer list.  If the buffer list is
Karsten Hopp 13479f
  		empty, go to the first unlisted buffer.
Karsten Hopp 13479f
  		See |:buffer-!| for [!].
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :bf[irst] [+cmd]					*:bf* *:bfirst*
Karsten Hopp 13479f
! 		Same as |:brewind|.
Karsten Hopp 13479f
! 		Also see |+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :sbr[ewind] [+cmd]					*:sbr* *:sbrewind*
Karsten Hopp 13479f
! 		Split window and go to first buffer in buffer list.  If the
Karsten Hopp 13479f
  		buffer list is empty, go to the first unlisted buffer.
Karsten Hopp 13479f
  		Respects the 'switchbuf' option.
Karsten Hopp 13479f
+ 		Also see |+cmd|.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :sbf[irst] [+cmd]					*:sbf* *:sbfirst*
Karsten Hopp 13479f
! 		Same as ":sbrewind".
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :bl[ast][!] [+cmd]					*:bl* *:blast*
Karsten Hopp 13479f
! 		Go to last buffer in buffer list.  If the buffer list is
Karsten Hopp 13479f
  		empty, go to the last unlisted buffer.
Karsten Hopp 13479f
  		See |:buffer-!| for [!].
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :sbl[ast] [+cmd]					*:sbl* *:sblast*
Karsten Hopp 13479f
! 		Split window and go to last buffer in buffer list.  If the
Karsten Hopp 13479f
  		buffer list is empty, go to the last unlisted buffer.
Karsten Hopp 13479f
  		Respects 'switchbuf' option.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]bm[odified][!] [+cmd] [N]			*:bm* *:bmodified* *E84*
Karsten Hopp 13479f
  		Go to [N]th next modified buffer.  Note: this command also
Karsten Hopp 13479f
  		finds unlisted buffers.  If there is no modified buffer the
Karsten Hopp 13479f
  		command fails.
Karsten Hopp 13479f
  
Karsten Hopp 13479f
! :[N]sbm[odified] [+cmd] [N]				*:sbm* *:sbmodified*
Karsten Hopp 13479f
  		Split window and go to [N]th next modified buffer.
Karsten Hopp 13479f
  		Respects 'switchbuf' option.
Karsten Hopp 13479f
  		Note: this command also finds buffers not in the buffer list.
Karsten Hopp 13479f
*** ../vim-7.4.449/src/ex_cmds.h	2014-09-19 19:39:30.766446025 +0200
Karsten Hopp 13479f
--- src/ex_cmds.h	2014-09-19 19:53:55.618447914 +0200
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 132,140 ****
Karsten Hopp 13479f
  EX(CMD_aunmenu,		"aunmenu",	ex_menu,
Karsten Hopp 13479f
  			EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
Karsten Hopp 13479f
  EX(CMD_buffer,		"buffer",	ex_buffer,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_bNext,		"bNext",	ex_bprevious,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_ball,		"ball",		ex_buffer_all,
Karsten Hopp 13479f
  			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_badd,		"badd",		ex_edit,
Karsten Hopp 13479f
--- 132,140 ----
Karsten Hopp 13479f
  EX(CMD_aunmenu,		"aunmenu",	ex_menu,
Karsten Hopp 13479f
  			EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
Karsten Hopp 13479f
  EX(CMD_buffer,		"buffer",	ex_buffer,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_bNext,		"bNext",	ex_bprevious,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_ball,		"ball",		ex_buffer_all,
Karsten Hopp 13479f
  			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_badd,		"badd",		ex_edit,
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 146,164 ****
Karsten Hopp 13479f
  EX(CMD_belowright,	"belowright",	ex_wrongmodifier,
Karsten Hopp 13479f
  			NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 13479f
  EX(CMD_bfirst,		"bfirst",	ex_brewind,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_blast,		"blast",	ex_blast,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_bmodified,	"bmodified",	ex_bmodified,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_bnext,		"bnext",	ex_bnext,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_botright,	"botright",	ex_wrongmodifier,
Karsten Hopp 13479f
  			NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 13479f
  EX(CMD_bprevious,	"bprevious",	ex_bprevious,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_brewind,		"brewind",	ex_brewind,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_break,		"break",	ex_break,
Karsten Hopp 13479f
  			TRLBAR|SBOXOK|CMDWIN),
Karsten Hopp 13479f
  EX(CMD_breakadd,	"breakadd",	ex_breakadd,
Karsten Hopp 13479f
--- 146,164 ----
Karsten Hopp 13479f
  EX(CMD_belowright,	"belowright",	ex_wrongmodifier,
Karsten Hopp 13479f
  			NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 13479f
  EX(CMD_bfirst,		"bfirst",	ex_brewind,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_blast,		"blast",	ex_blast,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_bmodified,	"bmodified",	ex_bmodified,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_bnext,		"bnext",	ex_bnext,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_botright,	"botright",	ex_wrongmodifier,
Karsten Hopp 13479f
  			NEEDARG|EXTRA|NOTRLCOM),
Karsten Hopp 13479f
  EX(CMD_bprevious,	"bprevious",	ex_bprevious,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_brewind,		"brewind",	ex_brewind,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_break,		"break",	ex_break,
Karsten Hopp 13479f
  			TRLBAR|SBOXOK|CMDWIN),
Karsten Hopp 13479f
  EX(CMD_breakadd,	"breakadd",	ex_breakadd,
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 814,836 ****
Karsten Hopp 13479f
  EX(CMD_saveas,		"saveas",	ex_write,
Karsten Hopp 13479f
  			BANG|DFLALL|FILE1|ARGOPT|CMDWIN|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbuffer,		"sbuffer",	ex_buffer,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbNext,		"sbNext",	ex_bprevious,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sball,		"sball",	ex_buffer_all,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbfirst,		"sbfirst",	ex_brewind,
Karsten Hopp 13479f
! 			TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sblast,		"sblast",	ex_blast,
Karsten Hopp 13479f
! 			TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbmodified,	"sbmodified",	ex_bmodified,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbnext,		"sbnext",	ex_bnext,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbprevious,	"sbprevious",	ex_bprevious,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbrewind,	"sbrewind",	ex_brewind,
Karsten Hopp 13479f
! 			TRLBAR),
Karsten Hopp 13479f
  EX(CMD_scriptnames,	"scriptnames",	ex_scriptnames,
Karsten Hopp 13479f
  			TRLBAR|CMDWIN),
Karsten Hopp 13479f
  EX(CMD_scriptencoding,	"scriptencoding", ex_scriptencoding,
Karsten Hopp 13479f
--- 814,836 ----
Karsten Hopp 13479f
  EX(CMD_saveas,		"saveas",	ex_write,
Karsten Hopp 13479f
  			BANG|DFLALL|FILE1|ARGOPT|CMDWIN|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbuffer,		"sbuffer",	ex_buffer,
Karsten Hopp 13479f
! 			BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbNext,		"sbNext",	ex_bprevious,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sball,		"sball",	ex_buffer_all,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbfirst,		"sbfirst",	ex_brewind,
Karsten Hopp 13479f
! 			EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sblast,		"sblast",	ex_blast,
Karsten Hopp 13479f
! 			EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbmodified,	"sbmodified",	ex_bmodified,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbnext,		"sbnext",	ex_bnext,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbprevious,	"sbprevious",	ex_bprevious,
Karsten Hopp 13479f
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_sbrewind,	"sbrewind",	ex_brewind,
Karsten Hopp 13479f
! 			EDITCMD|TRLBAR),
Karsten Hopp 13479f
  EX(CMD_scriptnames,	"scriptnames",	ex_scriptnames,
Karsten Hopp 13479f
  			TRLBAR|CMDWIN),
Karsten Hopp 13479f
  EX(CMD_scriptencoding,	"scriptencoding", ex_scriptencoding,
Karsten Hopp 13479f
*** ../vim-7.4.449/src/ex_docmd.c	2014-09-09 12:21:57.716501404 +0200
Karsten Hopp 13479f
--- src/ex_docmd.c	2014-09-19 19:53:55.622447914 +0200
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 5135,5140 ****
Karsten Hopp 13479f
--- 5135,5142 ----
Karsten Hopp 13479f
  	    goto_buffer(eap, DOBUF_CURRENT, FORWARD, 0);
Karsten Hopp 13479f
  	else
Karsten Hopp 13479f
  	    goto_buffer(eap, DOBUF_FIRST, FORWARD, (int)eap->line2);
Karsten Hopp 13479f
+ 	if (eap->do_ecmd_cmd != NULL)
Karsten Hopp 13479f
+ 	    do_cmdline_cmd(eap->do_ecmd_cmd);
Karsten Hopp 13479f
      }
Karsten Hopp 13479f
  }
Karsten Hopp 13479f
  
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 5147,5152 ****
Karsten Hopp 13479f
--- 5149,5156 ----
Karsten Hopp 13479f
      exarg_T	*eap;
Karsten Hopp 13479f
  {
Karsten Hopp 13479f
      goto_buffer(eap, DOBUF_MOD, FORWARD, (int)eap->line2);
Karsten Hopp 13479f
+     if (eap->do_ecmd_cmd != NULL)
Karsten Hopp 13479f
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
Karsten Hopp 13479f
  }
Karsten Hopp 13479f
  
Karsten Hopp 13479f
  /*
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 5158,5163 ****
Karsten Hopp 13479f
--- 5162,5169 ----
Karsten Hopp 13479f
      exarg_T	*eap;
Karsten Hopp 13479f
  {
Karsten Hopp 13479f
      goto_buffer(eap, DOBUF_CURRENT, FORWARD, (int)eap->line2);
Karsten Hopp 13479f
+     if (eap->do_ecmd_cmd != NULL)
Karsten Hopp 13479f
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
Karsten Hopp 13479f
  }
Karsten Hopp 13479f
  
Karsten Hopp 13479f
  /*
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 5171,5176 ****
Karsten Hopp 13479f
--- 5177,5184 ----
Karsten Hopp 13479f
      exarg_T	*eap;
Karsten Hopp 13479f
  {
Karsten Hopp 13479f
      goto_buffer(eap, DOBUF_CURRENT, BACKWARD, (int)eap->line2);
Karsten Hopp 13479f
+     if (eap->do_ecmd_cmd != NULL)
Karsten Hopp 13479f
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
Karsten Hopp 13479f
  }
Karsten Hopp 13479f
  
Karsten Hopp 13479f
  /*
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 5184,5189 ****
Karsten Hopp 13479f
--- 5192,5199 ----
Karsten Hopp 13479f
      exarg_T	*eap;
Karsten Hopp 13479f
  {
Karsten Hopp 13479f
      goto_buffer(eap, DOBUF_FIRST, FORWARD, 0);
Karsten Hopp 13479f
+     if (eap->do_ecmd_cmd != NULL)
Karsten Hopp 13479f
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
Karsten Hopp 13479f
  }
Karsten Hopp 13479f
  
Karsten Hopp 13479f
  /*
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 5195,5200 ****
Karsten Hopp 13479f
--- 5205,5212 ----
Karsten Hopp 13479f
      exarg_T	*eap;
Karsten Hopp 13479f
  {
Karsten Hopp 13479f
      goto_buffer(eap, DOBUF_LAST, BACKWARD, 0);
Karsten Hopp 13479f
+     if (eap->do_ecmd_cmd != NULL)
Karsten Hopp 13479f
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
Karsten Hopp 13479f
  }
Karsten Hopp 13479f
  #endif
Karsten Hopp 13479f
  
Karsten Hopp 13479f
*** ../vim-7.4.449/src/version.c	2014-09-19 19:39:30.766446025 +0200
Karsten Hopp 13479f
--- src/version.c	2014-09-19 19:54:39.442448010 +0200
Karsten Hopp 13479f
***************
Karsten Hopp 13479f
*** 743,744 ****
Karsten Hopp 13479f
--- 743,746 ----
Karsten Hopp 13479f
  {   /* Add new patch number below this line */
Karsten Hopp 13479f
+ /**/
Karsten Hopp 13479f
+     450,
Karsten Hopp 13479f
  /**/
Karsten Hopp 13479f
Karsten Hopp 13479f
-- 
Karsten Hopp 13479f
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 13479f
166. You have been on your computer soo long that you didn't realize
Karsten Hopp 13479f
     you had grandchildren.
Karsten Hopp 13479f
Karsten Hopp 13479f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 13479f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 13479f
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 13479f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///