1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: CursorHold triggers on an incomplete mapping. (Will Gray)
12 Solution: Don't trigger CursorHold when there is typeahead.
16 *** ../vim-7.3.259/src/fileio.c 2011-05-19 17:25:36.000000000 +0200
17 --- src/fileio.c 2011-07-20 18:22:16.000000000 +0200
23 ! if (!did_cursorhold && has_cursorhold() && !Recording
24 #ifdef FEAT_INS_EXPAND
25 && !ins_compl_active()
34 ! && typebuf.tb_len == 0
35 #ifdef FEAT_INS_EXPAND
36 && !ins_compl_active()
41 if ((c == ';' || c == '>') && match == FALSE)
43 *pattern = NUL; /* Terminate the string */
44 + /* TODO: match with 'filetype' of buffer that "fname" comes
46 match = mch_check_filetype(fname, type_start);
47 *pattern = c; /* Restore the terminator */
48 type_start = pattern + 1;
49 *** ../vim-7.3.259/src/version.c 2011-07-20 17:58:14.000000000 +0200
50 --- src/version.c 2011-07-20 18:25:15.000000000 +0200
54 { /* Add new patch number below this line */
60 LAUNCELOT: At last! A call! A cry of distress ...
61 (he draws his sword, and turns to CONCORDE)
62 Concorde! Brave, Concorde ... you shall not have died in vain!
63 CONCORDE: I'm not quite dead, sir ...
64 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
66 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
67 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
68 \\\ an exciting new programming language -- http://www.Zimbu.org ///
69 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///