]>
Commit | Line | Data |
---|---|---|
3db12ce3 ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.025 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.025 | |
11 | Problem: When a CursorHold event invokes system() it is retriggered over | |
12 | and over again. | |
13 | Solution: Don't reset did_cursorhold when getting K_IGNORE. | |
14 | Files: src/normal.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.024/src/normal.c Sat Sep 6 16:44:06 2008 | |
18 | --- src/normal.c Sat Sep 27 13:03:34 2008 | |
19 | *************** | |
20 | *** 1132,1138 **** | |
21 | out_flush(); | |
22 | #endif | |
23 | #ifdef FEAT_AUTOCMD | |
24 | ! did_cursorhold = FALSE; | |
25 | #endif | |
26 | ||
27 | State = NORMAL; | |
28 | --- 1132,1139 ---- | |
29 | out_flush(); | |
30 | #endif | |
31 | #ifdef FEAT_AUTOCMD | |
32 | ! if (ca.cmdchar != K_IGNORE) | |
33 | ! did_cursorhold = FALSE; | |
34 | #endif | |
35 | ||
36 | State = NORMAL; | |
37 | *** ../vim-7.2.024/src/version.c Thu Oct 2 22:48:01 2008 | |
38 | --- src/version.c Thu Oct 2 22:54:41 2008 | |
39 | *************** | |
40 | *** 678,679 **** | |
41 | --- 678,681 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 25, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | hundred-and-one symptoms of being an internet addict: | |
49 | 128. You can access the Net -- via your portable and cellular phone. | |
50 | ||
51 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
52 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
53 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
54 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |