packages: vim/7.3.260 (NEW) - new: 7.3.260

marti marti at pld-linux.org
Mon Aug 29 20:44:25 CEST 2011


Author: marti                        Date: Mon Aug 29 18:44:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new: 7.3.260

---- Files affected:
packages/vim:
   7.3.260 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vim/7.3.260
diff -u /dev/null packages/vim/7.3.260:1.1
--- /dev/null	Mon Aug 29 20:44:25 2011
+++ packages/vim/7.3.260	Mon Aug 29 20:44:20 2011
@@ -0,0 +1,69 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.260
+Fcc: outbox
+From: Bram Moolenaar <Bram at 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 at 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    ///
================================================================


More information about the pld-cvs-commit mailing list