]> git.pld-linux.org Git - packages/vim.git/commitdiff
- new: 7.3.260
authormarti <marti@pld-linux.org>
Mon, 29 Aug 2011 18:44:20 +0000 (18:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    7.3.260 -> 1.1

7.3.260 [new file with mode: 0644]

diff --git a/7.3.260 b/7.3.260
new file mode 100644 (file)
index 0000000..ba9af57
--- /dev/null
+++ b/7.3.260
@@ -0,0 +1,69 @@
+To: vim_dev@googlegroups.com
+Subject: Patch 7.3.260
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.260
+Problem:    CursorHold triggers on an incomplete mapping. (Will Gray)
+Solution:   Don't trigger CursorHold when there is typeahead.
+Files:     src/fileio.c
+
+
+*** ../vim-7.3.259/src/fileio.c        2011-05-19 17:25:36.000000000 +0200
+--- src/fileio.c       2011-07-20 18:22:16.000000000 +0200
+***************
+*** 9044,9050 ****
+  {
+      int              state;
+  
+!     if (!did_cursorhold && has_cursorhold() && !Recording
+  #ifdef FEAT_INS_EXPAND
+           && !ins_compl_active()
+  #endif
+--- 9044,9053 ----
+  {
+      int              state;
+  
+!     if (!did_cursorhold
+!          && has_cursorhold()
+!          && !Recording
+!          && typebuf.tb_len == 0
+  #ifdef FEAT_INS_EXPAND
+           && !ins_compl_active()
+  #endif
+***************
+*** 9935,9940 ****
+--- 9938,9945 ----
+           if ((c == ';' || c == '>') && match == FALSE)
+           {
+               *pattern = NUL;     /* Terminate the string */
++              /* TODO: match with 'filetype' of buffer that "fname" comes
++               * from. */
+               match = mch_check_filetype(fname, type_start);
+               *pattern = c;       /* Restore the terminator */
+               type_start = pattern + 1;
+*** ../vim-7.3.259/src/version.c       2011-07-20 17:58:14.000000000 +0200
+--- src/version.c      2011-07-20 18:25:15.000000000 +0200
+***************
+*** 711,712 ****
+--- 711,714 ----
+  {   /* Add new patch number below this line */
++ /**/
++     260,
+  /**/
+
+-- 
+LAUNCELOT: At last!   A call!  A cry of distress ...
+           (he draws his sword, and turns to CONCORDE)
+           Concorde!  Brave, Concorde ... you shall not have died in vain!
+CONCORDE:  I'm not quite dead, sir ...
+                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\  an exciting new programming language -- http://www.Zimbu.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.042752 seconds and 4 git commands to generate.