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