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