Karsten Hopp a777fa
To: vim_dev@googlegroups.com
Karsten Hopp a777fa
Subject: Patch 7.3.617
Karsten Hopp a777fa
Fcc: outbox
Karsten Hopp a777fa
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a777fa
Mime-Version: 1.0
Karsten Hopp a777fa
Content-Type: text/plain; charset=UTF-8
Karsten Hopp a777fa
Content-Transfer-Encoding: 8bit
Karsten Hopp a777fa
------------
Karsten Hopp a777fa
Karsten Hopp a777fa
Patch 7.3.617 (after 7.3.615)
Karsten Hopp a777fa
Problem:    Hang on completion.
Karsten Hopp a777fa
Solution:   Skip over the space. (Yasuhiro Matsumoto)
Karsten Hopp a777fa
Files:	    src/ex_docmd.c
Karsten Hopp a777fa
Karsten Hopp a777fa
Karsten Hopp a777fa
*** ../vim-7.3.616/src/ex_docmd.c	2012-07-25 17:22:17.000000000 +0200
Karsten Hopp a777fa
--- src/ex_docmd.c	2012-07-27 21:07:42.000000000 +0200
Karsten Hopp a777fa
***************
Karsten Hopp a777fa
*** 3837,3852 ****
Karsten Hopp a777fa
  		    while (*p)
Karsten Hopp a777fa
  		    {
Karsten Hopp a777fa
  			if (*p == ' ')
Karsten Hopp a777fa
- 			{
Karsten Hopp a777fa
  			    /* argument starts after a space */
Karsten Hopp a777fa
  			    arg = p + 1;
Karsten Hopp a777fa
! 			}
Karsten Hopp a777fa
! 			else
Karsten Hopp a777fa
! 			{
Karsten Hopp a777fa
! 			    if (*p == '\\' && *(p + 1) != NUL)
Karsten Hopp a777fa
! 				++p; /* skip over escaped character */
Karsten Hopp a777fa
! 			    mb_ptr_adv(p);
Karsten Hopp a777fa
! 			}
Karsten Hopp a777fa
  		    }
Karsten Hopp a777fa
  		    xp->xp_pattern = arg;
Karsten Hopp a777fa
  		}
Karsten Hopp a777fa
--- 3837,3847 ----
Karsten Hopp a777fa
  		    while (*p)
Karsten Hopp a777fa
  		    {
Karsten Hopp a777fa
  			if (*p == ' ')
Karsten Hopp a777fa
  			    /* argument starts after a space */
Karsten Hopp a777fa
  			    arg = p + 1;
Karsten Hopp a777fa
! 			else if (*p == '\\' && *(p + 1) != NUL)
Karsten Hopp a777fa
! 			    ++p; /* skip over escaped character */
Karsten Hopp a777fa
! 			mb_ptr_adv(p);
Karsten Hopp a777fa
  		    }
Karsten Hopp a777fa
  		    xp->xp_pattern = arg;
Karsten Hopp a777fa
  		}
Karsten Hopp a777fa
*** ../vim-7.3.616/src/version.c	2012-07-27 21:05:51.000000000 +0200
Karsten Hopp a777fa
--- src/version.c	2012-07-27 21:08:31.000000000 +0200
Karsten Hopp a777fa
***************
Karsten Hopp a777fa
*** 716,717 ****
Karsten Hopp a777fa
--- 716,719 ----
Karsten Hopp a777fa
  {   /* Add new patch number below this line */
Karsten Hopp a777fa
+ /**/
Karsten Hopp a777fa
+     617,
Karsten Hopp a777fa
  /**/
Karsten Hopp a777fa
Karsten Hopp a777fa
-- 
Karsten Hopp a777fa
If Microsoft would build a car...
Karsten Hopp a777fa
... You'd have to press the "Start" button to turn the engine off.
Karsten Hopp a777fa
Karsten Hopp a777fa
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a777fa
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a777fa
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp a777fa
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///