Karsten Hopp b63aa5
To: vim_dev@googlegroups.com
Karsten Hopp b63aa5
Subject: Patch 7.3.561
Karsten Hopp b63aa5
Fcc: outbox
Karsten Hopp b63aa5
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp b63aa5
Mime-Version: 1.0
Karsten Hopp b63aa5
Content-Type: text/plain; charset=UTF-8
Karsten Hopp b63aa5
Content-Transfer-Encoding: 8bit
Karsten Hopp b63aa5
------------
Karsten Hopp b63aa5
Karsten Hopp b63aa5
Patch 7.3.561
Karsten Hopp b63aa5
Problem:    Using refresh: always in a complete function breaks the "."
Karsten Hopp b63aa5
	    command. (Val Markovic)
Karsten Hopp b63aa5
Solution:   Add match leader to the redo buffer. (Yasuhiro Matsumoto)
Karsten Hopp b63aa5
Files:	    src/edit.c
Karsten Hopp b63aa5
Karsten Hopp b63aa5
Karsten Hopp b63aa5
*** ../vim-7.3.560/src/edit.c	2012-06-13 17:28:51.000000000 +0200
Karsten Hopp b63aa5
--- src/edit.c	2012-06-20 14:22:23.000000000 +0200
Karsten Hopp b63aa5
***************
Karsten Hopp b63aa5
*** 3467,3476 ****
Karsten Hopp b63aa5
--- 3467,3480 ----
Karsten Hopp b63aa5
  	(*mb_char2bytes)(c, buf);
Karsten Hopp b63aa5
  	buf[cc] = NUL;
Karsten Hopp b63aa5
  	ins_char_bytes(buf, cc);
Karsten Hopp b63aa5
+ 	AppendToRedobuff(buf);
Karsten Hopp b63aa5
      }
Karsten Hopp b63aa5
      else
Karsten Hopp b63aa5
  #endif
Karsten Hopp b63aa5
+     {
Karsten Hopp b63aa5
  	ins_char(c);
Karsten Hopp b63aa5
+ 	AppendCharToRedobuff(c);
Karsten Hopp b63aa5
+     }
Karsten Hopp b63aa5
  
Karsten Hopp b63aa5
      /* If we didn't complete finding matches we must search again. */
Karsten Hopp b63aa5
      if (ins_compl_need_restart())
Karsten Hopp b63aa5
*** ../vim-7.3.560/src/version.c	2012-06-20 14:13:02.000000000 +0200
Karsten Hopp b63aa5
--- src/version.c	2012-06-20 14:20:13.000000000 +0200
Karsten Hopp b63aa5
***************
Karsten Hopp b63aa5
*** 716,717 ****
Karsten Hopp b63aa5
--- 716,719 ----
Karsten Hopp b63aa5
  {   /* Add new patch number below this line */
Karsten Hopp b63aa5
+ /**/
Karsten Hopp b63aa5
+     561,
Karsten Hopp b63aa5
  /**/
Karsten Hopp b63aa5
Karsten Hopp b63aa5
-- 
Karsten Hopp b63aa5
Microsoft is to software what McDonalds is to gourmet cooking
Karsten Hopp b63aa5
Karsten Hopp b63aa5
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp b63aa5
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp b63aa5
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp b63aa5
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///