|
Karsten Hopp |
ea4650 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
ea4650 |
Subject: Patch 7.2.025
|
|
Karsten Hopp |
ea4650 |
Fcc: outbox
|
|
Karsten Hopp |
ea4650 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ea4650 |
Mime-Version: 1.0
|
|
Karsten Hopp |
ea4650 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
ea4650 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ea4650 |
------------
|
|
Karsten Hopp |
ea4650 |
|
|
Karsten Hopp |
ea4650 |
Patch 7.2.025
|
|
Karsten Hopp |
ea4650 |
Problem: When a CursorHold event invokes system() it is retriggered over
|
|
Karsten Hopp |
ea4650 |
and over again.
|
|
Karsten Hopp |
ea4650 |
Solution: Don't reset did_cursorhold when getting K_IGNORE.
|
|
Karsten Hopp |
ea4650 |
Files: src/normal.c
|
|
Karsten Hopp |
ea4650 |
|
|
Karsten Hopp |
ea4650 |
|
|
Karsten Hopp |
ea4650 |
*** ../vim-7.2.024/src/normal.c Sat Sep 6 16:44:06 2008
|
|
Karsten Hopp |
ea4650 |
--- src/normal.c Sat Sep 27 13:03:34 2008
|
|
Karsten Hopp |
ea4650 |
***************
|
|
Karsten Hopp |
ea4650 |
*** 1132,1138 ****
|
|
Karsten Hopp |
ea4650 |
out_flush();
|
|
Karsten Hopp |
ea4650 |
#endif
|
|
Karsten Hopp |
ea4650 |
#ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
ea4650 |
! did_cursorhold = FALSE;
|
|
Karsten Hopp |
ea4650 |
#endif
|
|
Karsten Hopp |
ea4650 |
|
|
Karsten Hopp |
ea4650 |
State = NORMAL;
|
|
Karsten Hopp |
ea4650 |
--- 1132,1139 ----
|
|
Karsten Hopp |
ea4650 |
out_flush();
|
|
Karsten Hopp |
ea4650 |
#endif
|
|
Karsten Hopp |
ea4650 |
#ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
ea4650 |
! if (ca.cmdchar != K_IGNORE)
|
|
Karsten Hopp |
ea4650 |
! did_cursorhold = FALSE;
|
|
Karsten Hopp |
ea4650 |
#endif
|
|
Karsten Hopp |
ea4650 |
|
|
Karsten Hopp |
ea4650 |
State = NORMAL;
|
|
Karsten Hopp |
ea4650 |
*** ../vim-7.2.024/src/version.c Thu Oct 2 22:48:01 2008
|
|
Karsten Hopp |
ea4650 |
--- src/version.c Thu Oct 2 22:54:41 2008
|
|
Karsten Hopp |
ea4650 |
***************
|
|
Karsten Hopp |
ea4650 |
*** 678,679 ****
|
|
Karsten Hopp |
ea4650 |
--- 678,681 ----
|
|
Karsten Hopp |
ea4650 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ea4650 |
+ /**/
|
|
Karsten Hopp |
ea4650 |
+ 25,
|
|
Karsten Hopp |
ea4650 |
/**/
|
|
Karsten Hopp |
ea4650 |
|
|
Karsten Hopp |
ea4650 |
--
|
|
Karsten Hopp |
ea4650 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
ea4650 |
128. You can access the Net -- via your portable and cellular phone.
|
|
Karsten Hopp |
ea4650 |
|
|
Karsten Hopp |
ea4650 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ea4650 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ea4650 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
ea4650 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|