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