Karsten Hopp 4fabf5
To: vim_dev@googlegroups.com
Karsten Hopp 4fabf5
Subject: Patch 7.3.840
Karsten Hopp 4fabf5
Fcc: outbox
Karsten Hopp 4fabf5
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 4fabf5
Mime-Version: 1.0
Karsten Hopp 4fabf5
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 4fabf5
Content-Transfer-Encoding: 8bit
Karsten Hopp 4fabf5
------------
Karsten Hopp 4fabf5
Karsten Hopp 4fabf5
Patch 7.3.840
Karsten Hopp 4fabf5
Problem:    "\@
Karsten Hopp 4fabf5
	    characters, especially cp932.
Karsten Hopp 4fabf5
Solution:   Move column to start of multi-byte character. (Yasuhiro Matsumoto)
Karsten Hopp 4fabf5
Files:	    src/regexp.c
Karsten Hopp 4fabf5
Karsten Hopp 4fabf5
Karsten Hopp 4fabf5
*** ../vim-7.3.839/src/regexp.c	2013-01-30 18:21:48.000000000 +0100
Karsten Hopp 4fabf5
--- src/regexp.c	2013-02-26 18:37:45.000000000 +0100
Karsten Hopp 4fabf5
***************
Karsten Hopp 4fabf5
*** 5449,5454 ****
Karsten Hopp 4fabf5
--- 5449,5461 ----
Karsten Hopp 4fabf5
  			}
Karsten Hopp 4fabf5
  		    }
Karsten Hopp 4fabf5
  		    else
Karsten Hopp 4fabf5
+ #ifdef FEAT_MBYTE
Karsten Hopp 4fabf5
+ 		    if (has_mbyte)
Karsten Hopp 4fabf5
+ 			rp->rs_un.regsave.rs_u.pos.col -=
Karsten Hopp 4fabf5
+ 			    (*mb_head_off)(regline, regline
Karsten Hopp 4fabf5
+ 				    + rp->rs_un.regsave.rs_u.pos.col - 1) + 1;
Karsten Hopp 4fabf5
+ 		    else
Karsten Hopp 4fabf5
+ #endif
Karsten Hopp 4fabf5
  			--rp->rs_un.regsave.rs_u.pos.col;
Karsten Hopp 4fabf5
  		}
Karsten Hopp 4fabf5
  		else
Karsten Hopp 4fabf5
*** ../vim-7.3.839/src/version.c	2013-02-26 17:59:37.000000000 +0100
Karsten Hopp 4fabf5
--- src/version.c	2013-02-26 18:39:28.000000000 +0100
Karsten Hopp 4fabf5
***************
Karsten Hopp 4fabf5
*** 730,731 ****
Karsten Hopp 4fabf5
--- 730,733 ----
Karsten Hopp 4fabf5
  {   /* Add new patch number below this line */
Karsten Hopp 4fabf5
+ /**/
Karsten Hopp 4fabf5
+     840,
Karsten Hopp 4fabf5
  /**/
Karsten Hopp 4fabf5
Karsten Hopp 4fabf5
-- 
Karsten Hopp 4fabf5
I learned the customs and mannerisms of engineers by observing them, much the
Karsten Hopp 4fabf5
way Jane Goodall learned about the great apes, but without the hassle of
Karsten Hopp 4fabf5
grooming.
Karsten Hopp 4fabf5
				(Scott Adams - The Dilbert principle)
Karsten Hopp 4fabf5
Karsten Hopp 4fabf5
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 4fabf5
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 4fabf5
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 4fabf5
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///