Karsten Hopp 5750f2
To: vim_dev@googlegroups.com
Karsten Hopp 5750f2
Subject: Patch 7.3.231
Karsten Hopp 5750f2
Fcc: outbox
Karsten Hopp 5750f2
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 5750f2
Mime-Version: 1.0
Karsten Hopp 5750f2
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 5750f2
Content-Transfer-Encoding: 8bit
Karsten Hopp 5750f2
------------
Karsten Hopp 5750f2
Karsten Hopp 5750f2
Note: this is a weird patch, it redoes patches from 7.3.202 and 7.3.203
Karsten Hopp 5750f2
that failed when applied as a patch, but the mercurial repository
Karsten Hopp 5750f2
already had this, thus won't change anything there.
Karsten Hopp 5750f2
Karsten Hopp 5750f2
Karsten Hopp 5750f2
Patch 7.3.231
Karsten Hopp 5750f2
Problem:    Runtime file patches failed.
Karsten Hopp 5750f2
Solution:   Redo the patches made against the patched files instead of the
Karsten Hopp 5750f2
            files in the mercurial repository.
Karsten Hopp 5750f2
Files:      runtime/doc/indent.txt, runtime/doc/os_win32.txt
Karsten Hopp 5750f2
Karsten Hopp 5750f2
Karsten Hopp 5750f2
*** ../vim-7.3.230/runtime/doc/indent.txt	2011-05-25 15:16:06.000000000 +0200
Karsten Hopp 5750f2
--- runtime/doc/indent.txt	2011-05-31 22:23:39.000000000 +0200
Karsten Hopp 5750f2
***************
Karsten Hopp 5750f2
*** 356,363 ****
Karsten Hopp 5750f2
  		      BaseClass(3)	    BaseClass(3)
Karsten Hopp 5750f2
  		  {}			    {}
Karsten Hopp 5750f2
  <
Karsten Hopp 5750f2
! 	+N    Indent a continuation line (a line that spills onto the next) N
Karsten Hopp 5750f2
! 	      additional characters.  (default 'shiftwidth').
Karsten Hopp 5750f2
  
Karsten Hopp 5750f2
  		cino=			  cino=+10 >
Karsten Hopp 5750f2
  		  a = b + 9 *		    a = b + 9 *
Karsten Hopp 5750f2
--- 357,368 ----
Karsten Hopp 5750f2
  		      BaseClass(3)	    BaseClass(3)
Karsten Hopp 5750f2
  		  {}			    {}
Karsten Hopp 5750f2
  <
Karsten Hopp 5750f2
! 							*cino-+*
Karsten Hopp 5750f2
! 	+N    Indent a continuation line (a line that spills onto the next)
Karsten Hopp 5750f2
!               inside a function N additional characters.  (default
Karsten Hopp 5750f2
!               'shiftwidth').
Karsten Hopp 5750f2
!               Outside of a function, when the previous line ended in a
Karsten Hopp 5750f2
!               backslash, the 2 * N is used.
Karsten Hopp 5750f2
  
Karsten Hopp 5750f2
  		cino=			  cino=+10 >
Karsten Hopp 5750f2
  		  a = b + 9 *		    a = b + 9 *
Karsten Hopp 5750f2
***************
Karsten Hopp 5750f2
*** 509,522 ****
Karsten Hopp 5750f2
--- 514,532 ----
Karsten Hopp 5750f2
  		    }
Karsten Hopp 5750f2
  		}
Karsten Hopp 5750f2
  <
Karsten Hopp 5750f2
+ 								*cino-)*
Karsten Hopp 5750f2
  	)N    Vim searches for unclosed parentheses at most N lines away.
Karsten Hopp 5750f2
  	      This limits the time needed to search for parentheses.  (default
Karsten Hopp 5750f2
  	      20 lines).
Karsten Hopp 5750f2
  
Karsten Hopp 5750f2
+ 								*cino-star*
Karsten Hopp 5750f2
  	*N    Vim searches for unclosed comments at most N lines away.  This
Karsten Hopp 5750f2
  	      limits the time needed to search for the start of a comment.
Karsten Hopp 5750f2
+ 	      If your /* */ comments stop indenting afer N lines this is the
Karsten Hopp 5750f2
+ 	      value you will want to change.
Karsten Hopp 5750f2
  	      (default 70 lines).
Karsten Hopp 5750f2
  
Karsten Hopp 5750f2
+ 								*cino-#*
Karsten Hopp 5750f2
  	#N    When N is non-zero recognize shell/Perl comments, starting with
Karsten Hopp 5750f2
  	      '#'.  Default N is zero: don't recognizes '#' comments.  Note
Karsten Hopp 5750f2
  	      that lines starting with # will still be seen as preprocessor
Karsten Hopp 5750f2
*** ../vim-7.3.230/runtime/doc/os_win32.txt	2010-08-15 21:57:16.000000000 +0200
Karsten Hopp 5750f2
--- runtime/doc/os_win32.txt	2011-05-28 18:17:58.000000000 +0200
Karsten Hopp 5750f2
***************
Karsten Hopp 5750f2
*** 313,318 ****
Karsten Hopp 5750f2
--- 313,349 ----
Karsten Hopp 5750f2
     with :!start do not get passed Vim's open file handles, which means they do
Karsten Hopp 5750f2
     not have to be closed before Vim.
Karsten Hopp 5750f2
     To avoid this special treatment, use ":! start".
Karsten Hopp 5750f2
+    There are two optional arguments (see the next Q):
Karsten Hopp 5750f2
+        /min  the window will be minimized.
Karsten Hopp 5750f2
+        /b"   no console window will be opened
Karsten Hopp 5750f2
+    You can only one of these flags at a time.  A second second one will be
Karsten Hopp 5750f2
+    treated as the start of the command.
Karsten Hopp 5750f2
+ 
Karsten Hopp 5750f2
+ Q. How do I avoid getting a window for programs that I run asynchronously?
Karsten Hopp 5750f2
+ A. You have two possible solutions depending on what exactly do you want:
Karsten Hopp 5750f2
+    1) You may use the /min flag in order to run program in a minimized state
Karsten Hopp 5750f2
+       with no other changes. It will work equally for console and GUI
Karsten Hopp 5750f2
+       applications.
Karsten Hopp 5750f2
+    2) You can use the /b flag to run console applications without creating a
Karsten Hopp 5750f2
+       console window for them (GUI applications are not affected). But you
Karsten Hopp 5750f2
+       should use this flag only if the application you run doesn't require any
Karsten Hopp 5750f2
+       input.  Otherwise it will get an EOF error because its input stream
Karsten Hopp 5750f2
+       (stdin) would be redirected to \\.\NUL (stdoud and stderr too).
Karsten Hopp 5750f2
+ 
Karsten Hopp 5750f2
+    Example for a console application, run Exuberant ctags: >
Karsten Hopp 5750f2
+         :!start /min ctags -R .
Karsten Hopp 5750f2
+ <  When it has finished you should see file named "tags" in your current
Karsten Hopp 5750f2
+    directory.  You should notice the window title blinking on your taskbar.
Karsten Hopp 5750f2
+    This is more noticable for commands that take longer.
Karsten Hopp 5750f2
+    Now delete the "tags" file and run this command: >
Karsten Hopp 5750f2
+         :!start /b ctags -R .
Karsten Hopp 5750f2
+ <  You should have the same "tags" file, but this time there will be no
Karsten Hopp 5750f2
+    blinking on the taskbar.
Karsten Hopp 5750f2
+    Example for a GUI application: >
Karsten Hopp 5750f2
+         :!start /min notepad
Karsten Hopp 5750f2
+         :!start /b notepad
Karsten Hopp 5750f2
+ <  The first command runs notepad minimized and the second one runs it
Karsten Hopp 5750f2
+    normally.
Karsten Hopp 5750f2
  
Karsten Hopp 5750f2
  Q. I'm using Win32s, and when I try to run an external command like "make",
Karsten Hopp 5750f2
     Vim doesn't wait for it to finish!  Help!
Karsten Hopp 5750f2
*** ../vim-7.3.230/src/version.c	2011-06-20 05:02:53.000000000 +0200
Karsten Hopp 5750f2
--- src/version.c	2011-06-26 03:14:03.000000000 +0200
Karsten Hopp 5750f2
***************
Karsten Hopp 5750f2
*** 711,712 ****
Karsten Hopp 5750f2
--- 711,714 ----
Karsten Hopp 5750f2
  {   /* Add new patch number below this line */
Karsten Hopp 5750f2
+ /**/
Karsten Hopp 5750f2
+     231,
Karsten Hopp 5750f2
  /**/
Karsten Hopp 5750f2
Karsten Hopp 5750f2
-- 
Karsten Hopp 5750f2
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 5750f2
222. You send more than 20 personal e-mails a day.
Karsten Hopp 5750f2
Karsten Hopp 5750f2
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 5750f2
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 5750f2
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 5750f2
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///