Karsten Hopp 6454cb
To: vim_dev@googlegroups.com
Karsten Hopp 6454cb
Subject: Patch 7.4.116
Karsten Hopp 6454cb
Fcc: outbox
Karsten Hopp 6454cb
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 6454cb
Mime-Version: 1.0
Karsten Hopp 6454cb
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 6454cb
Content-Transfer-Encoding: 8bit
Karsten Hopp 6454cb
------------
Karsten Hopp 6454cb
Karsten Hopp 6454cb
Patch 7.4.116
Karsten Hopp 6454cb
Problem:    When a mapping starts with a space, the typed space does not show
Karsten Hopp 6454cb
	    up for 'showcmd'.
Karsten Hopp 6454cb
Solution:   Show "<20>". (Brook Hong)
Karsten Hopp 6454cb
Files:	    src/normal.c
Karsten Hopp 6454cb
Karsten Hopp 6454cb
Karsten Hopp 6454cb
*** ../vim-7.4.115/src/normal.c	2013-11-28 19:27:18.000000000 +0100
Karsten Hopp 6454cb
--- src/normal.c	2013-12-07 14:30:29.000000000 +0100
Karsten Hopp 6454cb
***************
Karsten Hopp 6454cb
*** 4021,4026 ****
Karsten Hopp 6454cb
--- 4021,4028 ----
Karsten Hopp 6454cb
  #endif
Karsten Hopp 6454cb
  
Karsten Hopp 6454cb
      p = transchar(c);
Karsten Hopp 6454cb
+     if (*p == ' ')
Karsten Hopp 6454cb
+ 	STRCPY(p, "<20>");
Karsten Hopp 6454cb
      old_len = (int)STRLEN(showcmd_buf);
Karsten Hopp 6454cb
      extra_len = (int)STRLEN(p);
Karsten Hopp 6454cb
      overflow = old_len + extra_len - SHOWCMD_COLS;
Karsten Hopp 6454cb
*** ../vim-7.4.115/src/version.c	2013-12-11 13:21:44.000000000 +0100
Karsten Hopp 6454cb
--- src/version.c	2013-12-11 14:16:58.000000000 +0100
Karsten Hopp 6454cb
***************
Karsten Hopp 6454cb
*** 740,741 ****
Karsten Hopp 6454cb
--- 740,743 ----
Karsten Hopp 6454cb
  {   /* Add new patch number below this line */
Karsten Hopp 6454cb
+ /**/
Karsten Hopp 6454cb
+     116,
Karsten Hopp 6454cb
  /**/
Karsten Hopp 6454cb
Karsten Hopp 6454cb
-- 
Karsten Hopp 6454cb
Bumper sticker: Honk if you love peace and quiet.
Karsten Hopp 6454cb
Karsten Hopp 6454cb
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 6454cb
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 6454cb
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 6454cb
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///