Manuel Ortega | 20 Sep 20:50 2014
Picon

:redir and :!cmd

Unsure if this is a bug or what.

Do this in a new console vim instance (console version of MacVim will
show it too, though I am NOT reporting a MacVim problem to the wrong
list):

:redir => foo
:!ls -l
:redir END
:echo foo

What I expect is to see the usual "ls" listing of the current dir
contents.

What I see is not that, but this:

  :!ls -l^M

In other words, the output of "ls -l" is not being redirected into the
variable foo.  Instead the variable foo is getting only the !-command.
The same goes for redirecting into files and registers.

Here's what's weird.  It works as "expected" in MacVim's GUI.  (This
might be why I came to expect it, but I could've sworn it used to work
like this in console vim too).  Perhaps it only works in MacVim by
fluke?  Perhaps I should not have been expecting what I expected?

Anyway, as a point of comparison, the following works in all Vims the way
I expect it to:

:let foo = system("ls -l")
:echo foo

-Manny

--
--
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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dominique Pellé | 20 Sep 17:29 2014
Picon

[patch] fixed 3 typos

Hi

Attached patch fixes 3 typos in the documentation.

Regards
Dominique

-- 
--

-- 
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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Attachment (typos-doc-7.4.453.patch): text/x-diff, 2593 bytes
Ken Takata | 20 Sep 16:13 2014
Picon

[patch] support +tcl/dyn on Unix

Hi,

Currently, +tcl/dyn is only supported on Windows.  Attached patch
enables dynamic loading of Tcl on Unix (including Cygwin).
I'm not sure that this feature is really needed, but I hope this is
useful especially for Cygwin.

Update of documents for if_python and if_ruby is also attached.
This update is based on the document of if_perl.

Regards,
Ken Takata

-- 
--

-- 
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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
luozhiya | 20 Sep 04:28 2014

Typo: a typo in compiler/msvc.vim

Hello,

I find a little typo in compiler/msvc.vim  :-)

Regards,
Zhiya Luo

--
--
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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

diff --git a/msvc.vim b/msvc.vim
index 99fd35e..8563a7c 100644
--- a/msvc.vim
+++ b/msvc.vim
 <at>  <at>  -1,5 +1,5  <at>  <at> 
 " Vim compiler file
-" Compiler:    Miscrosoft Visual C
+" Compiler:    Microsoft Visual C
 " Maintainer:  Bram Moolenaar <Bram <at> vim.org>
 " Last Change: 2005 Nov 30
Bram Moolenaar | 19 Sep 22:23 2014
Picon
Picon

Patch 7.4.453


Patch 7.4.453
Problem:    Still can't build with tiny features.
Solution:   Add #ifdef.
Files:	    src/ex_cmds.c

*** ../vim-7.4.452/src/ex_cmds.c	2014-09-19 22:05:48.606465199 +0200
--- src/ex_cmds.c	2014-09-19 22:08:31.850465555 +0200
***************
*** 5906,5911 ****
--- 5906,5912 ----
  ex_helpclose(eap)
      exarg_T	*eap UNUSED;
  {
+ #if defined(FEAT_WINDOWS)
      win_T *win;

      FOR_ALL_WINDOWS(win)
***************
*** 5916,5921 ****
--- 5917,5923 ----
  	    return;
  	}
      }
+ #endif
  }

  #if defined(FEAT_MULTI_LANG) || defined(PROTO)
*** ../vim-7.4.452/src/version.c	2014-09-19 22:05:48.610465199 +0200
--- src/version.c	2014-09-19 22:19:43.058467021 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     453,
  /**/

-- 
"Hit any key to continue" does _not_ mean you can hit the on/off button!

 /// Bram Moolenaar -- Bram <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bram Moolenaar | 19 Sep 22:06 2014
Picon
Picon

Patch 7.4.452


Patch 7.4.452
Problem:    Can't build with tiny features. (Tony Mechelynck)
Solution:   Use "return" instead of "break".
Files:	    src/ex_cmds.c

*** ../vim-7.4.451/src/ex_cmds.c	2014-09-19 19:39:30.766446025 +0200
--- src/ex_cmds.c	2014-09-19 22:03:13.506464860 +0200
***************
*** 5900,5906 ****
  }

  /*
!  * ":helpclose": Close the help window
   */
      void
  ex_helpclose(eap)
--- 5900,5906 ----
  }

  /*
!  * ":helpclose": Close one help window
   */
      void
  ex_helpclose(eap)
***************
*** 5913,5919 ****
  	if (win->w_buffer->b_help)
  	{
  	    win_close(win, FALSE);
! 	    break;
  	}
      }
  }
--- 5913,5919 ----
  	if (win->w_buffer->b_help)
  	{
  	    win_close(win, FALSE);
! 	    return;
  	}
      }
  }
*** ../vim-7.4.451/src/version.c	2014-09-19 20:45:19.266454650 +0200
--- src/version.c	2014-09-19 22:05:30.178465158 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     452,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
168. You have your own domain name.

 /// Bram Moolenaar -- Bram <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bram Moolenaar | 19 Sep 22:06 2014
Picon
Picon

Patch 7.4.451


Patch 7.4.451
Problem:    Calling system() with empty input gives an error for writing the
	    temp file.
Solution:   Do not try writing if the string length is zero. (Olaf Dabrunz)
Files:	    src/eval.c

*** ../vim-7.4.450/src/eval.c	2014-09-19 14:26:29.654405000 +0200
--- src/eval.c	2014-09-19 20:23:57.354451850 +0200
***************
*** 18638,18650 ****
  	}
  	else
  	{
  	    p = get_tv_string_buf_chk(&argvars[1], buf);
  	    if (p == NULL)
  	    {
  		fclose(fd);
  		goto errret;		/* type error; errmsg already given */
  	    }
! 	    if (fwrite(p, STRLEN(p), 1, fd) != 1)
  		err = TRUE;
  	}
  	if (fclose(fd) != 0)
--- 18638,18653 ----
  	}
  	else
  	{
+ 	    size_t len;
+ 
  	    p = get_tv_string_buf_chk(&argvars[1], buf);
  	    if (p == NULL)
  	    {
  		fclose(fd);
  		goto errret;		/* type error; errmsg already given */
  	    }
! 	    len = STRLEN(p);
! 	    if (len > 0 && fwrite(p, len, 1, fd) != 1)
  		err = TRUE;
  	}
  	if (fclose(fd) != 0)
*** ../vim-7.4.450/src/version.c	2014-09-19 20:07:22.550449677 +0200
--- src/version.c	2014-09-19 20:19:22.390451249 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     451,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
167. You have more than 200 websites bookmarked.

 /// Bram Moolenaar -- Bram <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bram Moolenaar | 19 Sep 20:07 2014
Picon
Picon

Patch 7.4.450


Patch 7.4.450
Problem:    Not all commands that edit another buffer support the +cmd
	    argument.
Solution:   Add the +cmd argument to relevant commands. (Marcin Szamotulski)
Files:	    runtime/doc/windows.txt, src/ex_cmds.h, src/ex_docmd.c

*** ../vim-7.4.449/runtime/doc/windows.txt	2014-03-25 13:03:44.929793765 +0100
--- runtime/doc/windows.txt	2014-09-19 19:53:55.618447914 +0200
***************
*** 1042,1077 ****
  		a number).  Insert a backslash before a space in a buffer
  		name.

! :[N]b[uffer][!] [N]			*:b* *:bu* *:buf* *:buffer* *E86*
  		Edit buffer [N] from the buffer list.  If [N] is not given,
  		the current buffer remains being edited.  See |:buffer-!| for
  		[!].  This will also edit a buffer that is not in the buffer
  		list, without setting the 'buflisted' flag.

! :[N]b[uffer][!] {bufname}
  		Edit buffer for {bufname} from the buffer list.  See
  		|:buffer-!| for [!].  This will also edit a buffer that is not
  		in the buffer list, without setting the 'buflisted' flag.

! :[N]sb[uffer] [N]					*:sb* *:sbuffer*
  		Split window and edit buffer [N] from the buffer list.  If [N]
  		is not given, the current buffer is edited.  Respects the
  		"useopen" setting of 'switchbuf' when splitting.  This will
  		also edit a buffer that is not in the buffer list, without
  		setting the 'buflisted' flag.

! :[N]sb[uffer] {bufname}
  		Split window and edit buffer for {bufname} from the buffer
  		list.  This will also edit a buffer that is not in the buffer
  		list, without setting the 'buflisted' flag.
  		Note: If what you want to do is split the buffer, make a copy
  		under another name, you can do it this way: >
  			:w foobar | sp #

! :[N]bn[ext][!] [N]					*:bn* *:bnext* *E87*
  		Go to [N]th next buffer in buffer list.  [N] defaults to one.
  		Wraps around the end of the buffer list.
  		See |:buffer-!| for [!].
  		If you are in a help buffer, this takes you to the next help
  		buffer (if there is one).  Similarly, if you are in a normal
  		(non-help) buffer, this takes you to the next normal buffer.
--- 1042,1082 ----
  		a number).  Insert a backslash before a space in a buffer
  		name.

! :[N]b[uffer][!] [+cmd] [N]		*:b* *:bu* *:buf* *:buffer* *E86*
  		Edit buffer [N] from the buffer list.  If [N] is not given,
  		the current buffer remains being edited.  See |:buffer-!| for
  		[!].  This will also edit a buffer that is not in the buffer
  		list, without setting the 'buflisted' flag.
+ 		Also see ||+cmd|.

! :[N]b[uffer][!] [+cmd] {bufname}
  		Edit buffer for {bufname} from the buffer list.  See
  		|:buffer-!| for [!].  This will also edit a buffer that is not
  		in the buffer list, without setting the 'buflisted' flag.
+ 		Also see ||+cmd|.

! :[N]sb[uffer] [+cmd] [N]				*:sb* *:sbuffer*
  		Split window and edit buffer [N] from the buffer list.  If [N]
  		is not given, the current buffer is edited.  Respects the
  		"useopen" setting of 'switchbuf' when splitting.  This will
  		also edit a buffer that is not in the buffer list, without
  		setting the 'buflisted' flag.
+ 		Also see ||+cmd|.

! :[N]sb[uffer] [+cmd] {bufname}
  		Split window and edit buffer for {bufname} from the buffer
  		list.  This will also edit a buffer that is not in the buffer
  		list, without setting the 'buflisted' flag.
  		Note: If what you want to do is split the buffer, make a copy
  		under another name, you can do it this way: >
  			:w foobar | sp #
+ <		Also see ||+cmd|.

! :[N]bn[ext][!] [+cmd] [N]				*:bn* *:bnext* *E87*
  		Go to [N]th next buffer in buffer list.  [N] defaults to one.
  		Wraps around the end of the buffer list.
  		See |:buffer-!| for [!].
+ 		Also see ||+cmd|.
  		If you are in a help buffer, this takes you to the next help
  		buffer (if there is one).  Similarly, if you are in a normal
  		(non-help) buffer, this takes you to the next normal buffer.
***************
*** 1079,1133 ****
  		the way when you're browsing code/text buffers.  The next three
  		commands also work like this.

  							*:sbn* *:sbnext*
! :[N]sbn[ext] [N]
  		Split window and go to [N]th next buffer in buffer list.
  		Wraps around the end of the buffer list.  Uses 'switchbuf'

! :[N]bN[ext][!] [N]			*:bN* *:bNext* *:bp* *:bprevious* *E88*
! :[N]bp[revious][!] [N]
  		Go to [N]th previous buffer in buffer list.  [N] defaults to
  		one.  Wraps around the start of the buffer list.
  		See |:buffer-!| for [!] and 'switchbuf'.

! :[N]sbN[ext] [N]			*:sbN* *:sbNext* *:sbp* *:sbprevious*
! :[N]sbp[revious] [N]
  		Split window and go to [N]th previous buffer in buffer list.
  		Wraps around the start of the buffer list.
  		Uses 'switchbuf'.

! 							*:br* *:brewind*
! :br[ewind][!]	Go to first buffer in buffer list.  If the buffer list is
  		empty, go to the first unlisted buffer.
  		See |:buffer-!| for [!].

! 							*:bf* *:bfirst*
! :bf[irst]	Same as ":brewind".

! 							*:sbr* *:sbrewind*
! :sbr[ewind]	Split window and go to first buffer in buffer list.  If the
  		buffer list is empty, go to the first unlisted buffer.
  		Respects the 'switchbuf' option.

! 							*:sbf* *:sbfirst*
! :sbf[irst]	Same as ":sbrewind".

! 							*:bl* *:blast*
! :bl[ast][!]	Go to last buffer in buffer list.  If the buffer list is
  		empty, go to the last unlisted buffer.
  		See |:buffer-!| for [!].

! 							*:sbl* *:sblast*
! :sbl[ast]	Split window and go to last buffer in buffer list.  If the
  		buffer list is empty, go to the last unlisted buffer.
  		Respects 'switchbuf' option.

! :[N]bm[odified][!] [N]				*:bm* *:bmodified* *E84*
  		Go to [N]th next modified buffer.  Note: this command also
  		finds unlisted buffers.  If there is no modified buffer the
  		command fails.

! :[N]sbm[odified] [N]					*:sbm* *:sbmodified*
  		Split window and go to [N]th next modified buffer.
  		Respects 'switchbuf' option.
  		Note: this command also finds buffers not in the buffer list.
--- 1084,1144 ----
  		the way when you're browsing code/text buffers.  The next three
  		commands also work like this.

+ 
  							*:sbn* *:sbnext*
! :[N]sbn[ext] [+cmd] [N]
  		Split window and go to [N]th next buffer in buffer list.
  		Wraps around the end of the buffer list.  Uses 'switchbuf'
+ 		Also see ||+cmd|.

! :[N]bN[ext][!] [+cmd] [N]		*:bN* *:bNext* *:bp* *:bprevious* *E88*
! :[N]bp[revious][!] [+cmd] [N]
  		Go to [N]th previous buffer in buffer list.  [N] defaults to
  		one.  Wraps around the start of the buffer list.
  		See |:buffer-!| for [!] and 'switchbuf'.
+ 		Also see ||+cmd|.

! :[N]sbN[ext] [+cmd] [N]			*:sbN* *:sbNext* *:sbp* *:sbprevious*
! :[N]sbp[revious] [+cmd] [N]
  		Split window and go to [N]th previous buffer in buffer list.
  		Wraps around the start of the buffer list.
  		Uses 'switchbuf'.
+ 		Also see ||+cmd|.

! :br[ewind][!] [+cmd]					*:br* *:brewind*
! 		Go to first buffer in buffer list.  If the buffer list is
  		empty, go to the first unlisted buffer.
  		See |:buffer-!| for [!].

! :bf[irst] [+cmd]					*:bf* *:bfirst*
! 		Same as |:brewind|.
! 		Also see |+cmd|.

! :sbr[ewind] [+cmd]					*:sbr* *:sbrewind*
! 		Split window and go to first buffer in buffer list.  If the
  		buffer list is empty, go to the first unlisted buffer.
  		Respects the 'switchbuf' option.
+ 		Also see |+cmd|.

! :sbf[irst] [+cmd]					*:sbf* *:sbfirst*
! 		Same as ":sbrewind".

! :bl[ast][!] [+cmd]					*:bl* *:blast*
! 		Go to last buffer in buffer list.  If the buffer list is
  		empty, go to the last unlisted buffer.
  		See |:buffer-!| for [!].

! :sbl[ast] [+cmd]					*:sbl* *:sblast*
! 		Split window and go to last buffer in buffer list.  If the
  		buffer list is empty, go to the last unlisted buffer.
  		Respects 'switchbuf' option.

! :[N]bm[odified][!] [+cmd] [N]			*:bm* *:bmodified* *E84*
  		Go to [N]th next modified buffer.  Note: this command also
  		finds unlisted buffers.  If there is no modified buffer the
  		command fails.

! :[N]sbm[odified] [+cmd] [N]				*:sbm* *:sbmodified*
  		Split window and go to [N]th next modified buffer.
  		Respects 'switchbuf' option.
  		Note: this command also finds buffers not in the buffer list.
*** ../vim-7.4.449/src/ex_cmds.h	2014-09-19 19:39:30.766446025 +0200
--- src/ex_cmds.h	2014-09-19 19:53:55.618447914 +0200
***************
*** 132,140 ****
  EX(CMD_aunmenu,		"aunmenu",	ex_menu,
  			EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
  EX(CMD_buffer,		"buffer",	ex_buffer,
! 			BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|TRLBAR),
  EX(CMD_bNext,		"bNext",	ex_bprevious,
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_ball,		"ball",		ex_buffer_all,
  			RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_badd,		"badd",		ex_edit,
--- 132,140 ----
  EX(CMD_aunmenu,		"aunmenu",	ex_menu,
  			EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
  EX(CMD_buffer,		"buffer",	ex_buffer,
! 			BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|EDITCMD|TRLBAR),
  EX(CMD_bNext,		"bNext",	ex_bprevious,
! 			BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_ball,		"ball",		ex_buffer_all,
  			RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_badd,		"badd",		ex_edit,
***************
*** 146,164 ****
  EX(CMD_belowright,	"belowright",	ex_wrongmodifier,
  			NEEDARG|EXTRA|NOTRLCOM),
  EX(CMD_bfirst,		"bfirst",	ex_brewind,
! 			BANG|RANGE|NOTADR|TRLBAR),
  EX(CMD_blast,		"blast",	ex_blast,
! 			BANG|RANGE|NOTADR|TRLBAR),
  EX(CMD_bmodified,	"bmodified",	ex_bmodified,
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_bnext,		"bnext",	ex_bnext,
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_botright,	"botright",	ex_wrongmodifier,
  			NEEDARG|EXTRA|NOTRLCOM),
  EX(CMD_bprevious,	"bprevious",	ex_bprevious,
! 			BANG|RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_brewind,		"brewind",	ex_brewind,
! 			BANG|RANGE|NOTADR|TRLBAR),
  EX(CMD_break,		"break",	ex_break,
  			TRLBAR|SBOXOK|CMDWIN),
  EX(CMD_breakadd,	"breakadd",	ex_breakadd,
--- 146,164 ----
  EX(CMD_belowright,	"belowright",	ex_wrongmodifier,
  			NEEDARG|EXTRA|NOTRLCOM),
  EX(CMD_bfirst,		"bfirst",	ex_brewind,
! 			BANG|RANGE|NOTADR|EDITCMD|TRLBAR),
  EX(CMD_blast,		"blast",	ex_blast,
! 			BANG|RANGE|NOTADR|EDITCMD|TRLBAR),
  EX(CMD_bmodified,	"bmodified",	ex_bmodified,
! 			BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_bnext,		"bnext",	ex_bnext,
! 			BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_botright,	"botright",	ex_wrongmodifier,
  			NEEDARG|EXTRA|NOTRLCOM),
  EX(CMD_bprevious,	"bprevious",	ex_bprevious,
! 			BANG|RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_brewind,		"brewind",	ex_brewind,
! 			BANG|RANGE|NOTADR|EDITCMD|TRLBAR),
  EX(CMD_break,		"break",	ex_break,
  			TRLBAR|SBOXOK|CMDWIN),
  EX(CMD_breakadd,	"breakadd",	ex_breakadd,
***************
*** 814,836 ****
  EX(CMD_saveas,		"saveas",	ex_write,
  			BANG|DFLALL|FILE1|ARGOPT|CMDWIN|TRLBAR),
  EX(CMD_sbuffer,		"sbuffer",	ex_buffer,
! 			BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|TRLBAR),
  EX(CMD_sbNext,		"sbNext",	ex_bprevious,
! 			RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_sball,		"sball",	ex_buffer_all,
! 			RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_sbfirst,		"sbfirst",	ex_brewind,
! 			TRLBAR),
  EX(CMD_sblast,		"sblast",	ex_blast,
! 			TRLBAR),
  EX(CMD_sbmodified,	"sbmodified",	ex_bmodified,
! 			RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_sbnext,		"sbnext",	ex_bnext,
! 			RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_sbprevious,	"sbprevious",	ex_bprevious,
! 			RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_sbrewind,	"sbrewind",	ex_brewind,
! 			TRLBAR),
  EX(CMD_scriptnames,	"scriptnames",	ex_scriptnames,
  			TRLBAR|CMDWIN),
  EX(CMD_scriptencoding,	"scriptencoding", ex_scriptencoding,
--- 814,836 ----
  EX(CMD_saveas,		"saveas",	ex_write,
  			BANG|DFLALL|FILE1|ARGOPT|CMDWIN|TRLBAR),
  EX(CMD_sbuffer,		"sbuffer",	ex_buffer,
! 			BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|EDITCMD|TRLBAR),
  EX(CMD_sbNext,		"sbNext",	ex_bprevious,
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_sball,		"sball",	ex_buffer_all,
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_sbfirst,		"sbfirst",	ex_brewind,
! 			EDITCMD|TRLBAR),
  EX(CMD_sblast,		"sblast",	ex_blast,
! 			EDITCMD|TRLBAR),
  EX(CMD_sbmodified,	"sbmodified",	ex_bmodified,
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_sbnext,		"sbnext",	ex_bnext,
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_sbprevious,	"sbprevious",	ex_bprevious,
! 			RANGE|NOTADR|COUNT|EDITCMD|TRLBAR),
  EX(CMD_sbrewind,	"sbrewind",	ex_brewind,
! 			EDITCMD|TRLBAR),
  EX(CMD_scriptnames,	"scriptnames",	ex_scriptnames,
  			TRLBAR|CMDWIN),
  EX(CMD_scriptencoding,	"scriptencoding", ex_scriptencoding,
*** ../vim-7.4.449/src/ex_docmd.c	2014-09-09 12:21:57.716501404 +0200
--- src/ex_docmd.c	2014-09-19 19:53:55.622447914 +0200
***************
*** 5135,5140 ****
--- 5135,5142 ----
  	    goto_buffer(eap, DOBUF_CURRENT, FORWARD, 0);
  	else
  	    goto_buffer(eap, DOBUF_FIRST, FORWARD, (int)eap->line2);
+ 	if (eap->do_ecmd_cmd != NULL)
+ 	    do_cmdline_cmd(eap->do_ecmd_cmd);
      }
  }

***************
*** 5147,5152 ****
--- 5149,5156 ----
      exarg_T	*eap;
  {
      goto_buffer(eap, DOBUF_MOD, FORWARD, (int)eap->line2);
+     if (eap->do_ecmd_cmd != NULL)
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
  }

  /*
***************
*** 5158,5163 ****
--- 5162,5169 ----
      exarg_T	*eap;
  {
      goto_buffer(eap, DOBUF_CURRENT, FORWARD, (int)eap->line2);
+     if (eap->do_ecmd_cmd != NULL)
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
  }

  /*
***************
*** 5171,5176 ****
--- 5177,5184 ----
      exarg_T	*eap;
  {
      goto_buffer(eap, DOBUF_CURRENT, BACKWARD, (int)eap->line2);
+     if (eap->do_ecmd_cmd != NULL)
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
  }

  /*
***************
*** 5184,5189 ****
--- 5192,5199 ----
      exarg_T	*eap;
  {
      goto_buffer(eap, DOBUF_FIRST, FORWARD, 0);
+     if (eap->do_ecmd_cmd != NULL)
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
  }

  /*
***************
*** 5195,5200 ****
--- 5205,5212 ----
      exarg_T	*eap;
  {
      goto_buffer(eap, DOBUF_LAST, BACKWARD, 0);
+     if (eap->do_ecmd_cmd != NULL)
+ 	do_cmdline_cmd(eap->do_ecmd_cmd);
  }
  #endif

*** ../vim-7.4.449/src/version.c	2014-09-19 19:39:30.766446025 +0200
--- src/version.c	2014-09-19 19:54:39.442448010 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     450,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
166. You have been on your computer soo long that you didn't realize
     you had grandchildren.

 /// Bram Moolenaar -- Bram <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bram Moolenaar | 19 Sep 19:39 2014
Picon
Picon

Patch 7.4.449


Patch 7.4.449
Problem:    Can't easily close the help window. (Chris Gaal)
Solution:   Add ":helpclose". (Christian Brabandt)
Files:	    runtime/doc/helphelp.txt, runtime/doc/index.txt, src/ex_cmds.c,
	    src/ex_cmds.h, src/proto/ex_cmds.pro

*** ../vim-7.4.448/runtime/doc/helphelp.txt	2013-08-10 13:24:54.000000000 +0200
--- runtime/doc/helphelp.txt	2014-09-19 19:38:11.110445851 +0200
***************
*** 96,101 ****
--- 96,104 ----
  			find a tag in a file with the same language as the
  			current file.  See |help-translated|.

+ 						 	*:helpc* *:helpclose*
+ :helpc[lose]            Close one help window.
+ 
  							*:helpg* *:helpgrep*
  :helpg[rep] {pattern}[ <at> xx]
  			Search all help text files and make a list of lines
*** ../vim-7.4.448/runtime/doc/index.txt	2013-08-10 13:24:56.000000000 +0200
--- runtime/doc/index.txt	2014-09-19 19:38:23.694445878 +0200
***************
*** 1244,1249 ****
--- 1244,1250 ----
  |:gvim|		:gv[im]		start the GUI
  |:hardcopy|	:ha[rdcopy]	send text to the printer
  |:help|		:h[elp]		open a help window
+ |:helpclose|	:helpc[lose]	close one help window
  |:helpfind|	:helpf[ind]	dialog to open a help window
  |:helpgrep|	:helpg[rep]	like ":grep" but searches help files
  |:helptags|	:helpt[ags]	generate help tags for a directory
*** ../vim-7.4.448/src/ex_cmds.c	2014-08-29 09:02:23.886399246 +0200
--- src/ex_cmds.c	2014-09-19 19:33:43.350445266 +0200
***************
*** 5899,5904 ****
--- 5899,5922 ----
      vim_free(tag);
  }

+ /*
+  * ":helpclose": Close the help window
+  */
+     void
+ ex_helpclose(eap)
+     exarg_T	*eap UNUSED;
+ {
+     win_T *win;
+ 
+     FOR_ALL_WINDOWS(win)
+     {
+ 	if (win->w_buffer->b_help)
+ 	{
+ 	    win_close(win, FALSE);
+ 	    break;
+ 	}
+     }
+ }

  #if defined(FEAT_MULTI_LANG) || defined(PROTO)
  /*
*** ../vim-7.4.448/src/ex_cmds.h	2014-03-23 16:03:56.163311626 +0100
--- src/ex_cmds.h	2014-09-19 19:21:09.134443618 +0200
***************
*** 417,422 ****
--- 417,424 ----
  			BANG|FILES|EDITCMD|ARGOPT|TRLBAR|CMDWIN),
  EX(CMD_help,		"help",		ex_help,
  			BANG|EXTRA|NOTRLCOM),
+ EX(CMD_helpclose,	"helpclose",	ex_helpclose,
+ 			RANGE|NOTADR|COUNT|TRLBAR),
  EX(CMD_helpfind,	"helpfind",	ex_helpfind,
  			EXTRA|NOTRLCOM),
  EX(CMD_helpgrep,	"helpgrep",	ex_helpgrep,
*** ../vim-7.4.448/src/proto/ex_cmds.pro	2013-08-10 13:37:09.000000000 +0200
--- src/proto/ex_cmds.pro	2014-09-19 19:21:09.134443618 +0200
***************
*** 44,49 ****
--- 44,50 ----
  void free_old_sub __ARGS((void));
  int prepare_tagpreview __ARGS((int undo_sync));
  void ex_help __ARGS((exarg_T *eap));
+ void ex_helpclose __ARGS((exarg_T *eap));
  char_u *check_help_lang __ARGS((char_u *arg));
  int help_heuristic __ARGS((char_u *matched_string, int offset, int wrong_case));
  int find_help_tags __ARGS((char_u *arg, int *num_matches, char_u ***matches, int keep_lang));
*** ../vim-7.4.448/src/version.c	2014-09-19 16:13:48.358419065 +0200
--- src/version.c	2014-09-19 18:06:13.718433799 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     449,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
165. You have a web page burned into your glasses

 /// Bram Moolenaar -- Bram <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bram Moolenaar | 19 Sep 16:14 2014
Picon
Picon

Patch 7.4.448


Patch 7.4.448
Problem:    Using ETO_IGNORELANGUAGE causes problems.
Solution:   Remove this flag. (Paul Moore)
Files:	    src/gui_w32.c

*** ../vim-7.4.447/src/gui_w32.c	2014-08-06 16:49:51.199185387 +0200
--- src/gui_w32.c	2014-09-19 16:12:40.266418916 +0200
***************
*** 535,544 ****
  # define pImmSetConversionStatus  ImmSetConversionStatus
  #endif

- #ifndef ETO_IGNORELANGUAGE
- # define ETO_IGNORELANGUAGE  0x1000
- #endif
- 
  /* multi monitor support */
  typedef struct _MONITORINFOstruct
  {
--- 535,540 ----
***************
*** 2500,2511 ****
  		padding[i] = gui.char_width;
      }

-     /* On NT, tell the font renderer not to "help" us with Hebrew and Arabic
-      * text.  This doesn't work in 9x, so we have to deal with it manually on
-      * those systems. */
-     if (os_version.dwPlatformId == VER_PLATFORM_WIN32_NT)
- 	foptions |= ETO_IGNORELANGUAGE;
- 
      /*
       * We have to provide the padding argument because italic and bold versions
       * of fixed-width fonts are often one pixel or so wider than their normal
--- 2496,2501 ----
***************
*** 2641,2650 ****
  #endif
      {
  #ifdef FEAT_RIGHTLEFT
! 	/* If we can't use ETO_IGNORELANGUAGE, we can't tell Windows not to
! 	 * mess up RL text, so we have to draw it character-by-character.
! 	 * Only do this if RL is on, since it's slow. */
! 	if (curwin->w_p_rl && !(foptions & ETO_IGNORELANGUAGE))
  	    RevOut(s_hdc, TEXT_X(col), TEXT_Y(row),
  			 foptions, pcliprect, (char *)text, len, padding);
  	else
--- 2631,2639 ----
  #endif
      {
  #ifdef FEAT_RIGHTLEFT
! 	/* Windows will mess up RL text, so we have to draw it character by
! 	 * character.  Only do this if RL is on, since it's slow. */
! 	if (curwin->w_p_rl)
  	    RevOut(s_hdc, TEXT_X(col), TEXT_Y(row),
  			 foptions, pcliprect, (char *)text, len, padding);
  	else
*** ../vim-7.4.447/src/version.c	2014-09-19 16:04:08.050417797 +0200
--- src/version.c	2014-09-19 16:13:14.102418990 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     448,
  /**/

-- 
Send $25.00 for handy leaflet on how to make money by selling leaflets

 /// Bram Moolenaar -- Bram <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bram Moolenaar | 19 Sep 16:04 2014
Picon
Picon

Patch 7.4.447


Patch 7.4.447
Problem:    Spell files from Hunspell may generate a lot of errors.
Solution:   Add the IGNOREEXTRA flag.
Files:	    src/spell.c, runtime/doc/spell.txt

*** ../vim-7.4.446/src/spell.c	2014-05-13 14:03:36.425611242 +0200
--- src/spell.c	2014-09-19 15:24:19.582412580 +0200
***************
*** 4841,4846 ****
--- 4841,4847 ----
      unsigned	af_nosuggest;	/* NOSUGGEST ID */
      int		af_pfxpostpone;	/* postpone prefixes without chop string and
  				   without flags */
+     int		af_ignoreextra;	/* IGNOREEXTRA present */
      hashtab_T	af_pref;	/* hashtable for prefixes, affheader_T */
      hashtab_T	af_suff;	/* hashtable for suffixes, affheader_T */
      hashtab_T	af_comp;	/* hashtable for compound flags, compitem_T */
***************
*** 5605,5610 ****
--- 5606,5615 ----
  	    {
  		aff->af_pfxpostpone = TRUE;
  	    }
+ 	    else if (is_aff_rule(items, itemcnt, "IGNOREEXTRA", 1))
+ 	    {
+ 		aff->af_ignoreextra = TRUE;
+ 	    }
  	    else if ((STRCMP(items[0], "PFX") == 0
  					      || STRCMP(items[0], "SFX") == 0)
  		    && aff_todo == 0
***************
*** 5712,5720 ****
  		int		lasti = 5;

  		/* Myspell allows extra text after the item, but that might
! 		 * mean mistakes go unnoticed.  Require a comment-starter.
! 		 * Hunspell uses a "-" item. */
! 		if (itemcnt > lasti && *items[lasti] != '#'
  			&& (STRCMP(items[lasti], "-") != 0
  						     || itemcnt != lasti + 1))
  		    smsg((char_u *)_(e_afftrailing), fname, lnum, items[lasti]);
--- 5717,5727 ----
  		int		lasti = 5;

  		/* Myspell allows extra text after the item, but that might
! 		 * mean mistakes go unnoticed.  Require a comment-starter,
! 		 * unless IGNOREEXTRA is used.  Hunspell uses a "-" item. */
! 		if (itemcnt > lasti
! 			&& !aff->af_ignoreextra
! 			&& *items[lasti] != '#'
  			&& (STRCMP(items[lasti], "-") != 0
  						     || itemcnt != lasti + 1))
  		    smsg((char_u *)_(e_afftrailing), fname, lnum, items[lasti]);
*** ../vim-7.4.446/runtime/doc/spell.txt	2013-11-12 04:43:57.000000000 +0100
--- runtime/doc/spell.txt	2014-09-19 15:18:00.318411751 +0200
***************
*** 1057,1062 ****
--- 1058,1066 ----
  	SFX F 0 in   [^i]n      # Spion > Spionin  ~
  	SFX F 0 nen  in		# Bauerin > Bauerinnen ~

+ However, to avoid lots of errors in affix files written for Myspell, you can
+ add the IGNOREEXTRA flag.
+ 
  Apparently Myspell allows an affix name to appear more than once.  Since this
  might also be a mistake, Vim checks for an extra "S".  The affix files for
  Myspell that use this feature apparently have this flag.  Example:
***************
*** 1110,1115 ****
--- 1114,1127 ----
  - CIRCUMFIX, as explained just below.

  
+ IGNOREEXTRA						*spell-IGNOREEXTRA*
+ 
+ Normally Vim gives an error for an extra field that does not start with '#'.
+ This avoids errors going unnoticed.  However, some files created for Myspell
+ or Hunspell may contain many entries with an extra field.  Use the IGNOREEXTRA
+ flag to avoid lots of errors.
+ 
+ 
  CIRCUMFIX						*spell-CIRCUMFIX*

  The CIRCUMFIX flag means a prefix and suffix must be added at the same time.
*** ../vim-7.4.446/src/version.c	2014-09-19 14:26:29.658405000 +0200
--- src/version.c	2014-09-19 15:18:41.774411842 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     447,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
161. You get up before the sun rises to check your e-mail, and you
     find yourself in the very same chair long after the sun has set.

 /// Bram Moolenaar -- Bram <at> 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+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Gmane