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