|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.382
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.382
|
|
|
22c937 |
Problem: Mapping characters may not work after typing Esc in Insert mode.
|
|
|
22c937 |
Solution: Fix the noremap flags for inserted characters. (Jacob Niehus)
|
|
|
22c937 |
Files: src/getchar.c
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.381/src/getchar.c 2014-06-25 14:39:35.102348584 +0200
|
|
|
22c937 |
--- src/getchar.c 2014-07-23 20:10:25.651792765 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 2731,2736 ****
|
|
|
22c937 |
--- 2731,2741 ----
|
|
|
22c937 |
}
|
|
|
22c937 |
if (c < 0)
|
|
|
22c937 |
continue; /* end of input script reached */
|
|
|
22c937 |
+
|
|
|
22c937 |
+ /* Allow mapping for just typed characters. When we get here c
|
|
|
22c937 |
+ * is the number of extra bytes and typebuf.tb_len is 1. */
|
|
|
22c937 |
+ for (n = 1; n <= c; ++n)
|
|
|
22c937 |
+ typebuf.tb_noremap[typebuf.tb_off + n] = RM_YES;
|
|
|
22c937 |
typebuf.tb_len += c;
|
|
|
22c937 |
|
|
|
22c937 |
/* buffer full, don't map */
|
|
|
22c937 |
*** ../vim-7.4.381/src/version.c 2014-07-23 17:39:21.815857910 +0200
|
|
|
22c937 |
--- src/version.c 2014-07-23 18:26:42.663837492 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 736,737 ****
|
|
|
22c937 |
--- 736,739 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 382,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
DENNIS: Oh, very nice. King, eh! I expect you've got a palace and fine
|
|
|
22c937 |
clothes and courtiers and plenty of food. And how d'you get that? By
|
|
|
22c937 |
exploiting the workers! By hanging on to outdated imperialist dogma
|
|
|
22c937 |
which perpetuates the social and economic differences in our society!
|
|
|
22c937 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|