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