Karsten Hopp 2a6b79
To: vim_dev@googlegroups.com
Karsten Hopp 2a6b79
Subject: Patch 7.4.457
Karsten Hopp 2a6b79
Fcc: outbox
Karsten Hopp 2a6b79
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2a6b79
Mime-Version: 1.0
Karsten Hopp 2a6b79
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 2a6b79
Content-Transfer-Encoding: 8bit
Karsten Hopp 2a6b79
------------
Karsten Hopp 2a6b79
Karsten Hopp 2a6b79
Patch 7.4.457
Karsten Hopp 2a6b79
Problem:    Using getchar() in an expression mapping may result in
Karsten Hopp 2a6b79
            K_CURSORHOLD, which can't be recognized.
Karsten Hopp 2a6b79
Solution:   Add the <CursorHold> key.  (Hirohito Higashi)
Karsten Hopp 2a6b79
Files:      src/misc2.c
Karsten Hopp 2a6b79
Karsten Hopp 2a6b79
Karsten Hopp 2a6b79
*** ../vim-7.4.456/src/misc2.c	2014-09-19 14:26:29.654405000 +0200
Karsten Hopp 2a6b79
--- src/misc2.c	2014-09-23 16:25:18.726806328 +0200
Karsten Hopp 2a6b79
***************
Karsten Hopp 2a6b79
*** 2471,2476 ****
Karsten Hopp 2a6b79
--- 2471,2477 ----
Karsten Hopp 2a6b79
      {K_SNR,		(char_u *)"SNR"},
Karsten Hopp 2a6b79
  #endif
Karsten Hopp 2a6b79
      {K_PLUG,		(char_u *)"Plug"},
Karsten Hopp 2a6b79
+     {K_CURSORHOLD,	(char_u *)"CursorHold"},
Karsten Hopp 2a6b79
      {0,			NULL}
Karsten Hopp 2a6b79
  };
Karsten Hopp 2a6b79
  
Karsten Hopp 2a6b79
*** ../vim-7.4.456/src/version.c	2014-09-23 15:45:04.874801055 +0200
Karsten Hopp 2a6b79
--- src/version.c	2014-09-23 16:47:43.738809266 +0200
Karsten Hopp 2a6b79
***************
Karsten Hopp 2a6b79
*** 743,744 ****
Karsten Hopp 2a6b79
--- 743,746 ----
Karsten Hopp 2a6b79
  {   /* Add new patch number below this line */
Karsten Hopp 2a6b79
+ /**/
Karsten Hopp 2a6b79
+     457,
Karsten Hopp 2a6b79
  /**/
Karsten Hopp 2a6b79
Karsten Hopp 2a6b79
-- 
Karsten Hopp 2a6b79
If Microsoft would build a car...
Karsten Hopp 2a6b79
... Occasionally, executing a maneuver such as a left turn
Karsten Hopp 2a6b79
would cause your car to shut down and refuse to restart, in
Karsten Hopp 2a6b79
which case you would have to reinstall the engine.
Karsten Hopp 2a6b79
Karsten Hopp 2a6b79
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2a6b79
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2a6b79
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 2a6b79
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///