Karsten Hopp 09b60b
To: vim_dev@googlegroups.com
Karsten Hopp 09b60b
Subject: Patch 7.3.813
Karsten Hopp 09b60b
Fcc: outbox
Karsten Hopp 09b60b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 09b60b
Mime-Version: 1.0
Karsten Hopp 09b60b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 09b60b
Content-Transfer-Encoding: 8bit
Karsten Hopp 09b60b
------------
Karsten Hopp 09b60b
Karsten Hopp 09b60b
Patch 7.3.813
Karsten Hopp 09b60b
Problem:    The CompleteDone event is not triggered when there are no pattern
Karsten Hopp 09b60b
	    matches. (Jianjun Mao)
Karsten Hopp 09b60b
Solution:   Trigger the event. (Christian Brabandt)
Karsten Hopp 09b60b
Files:	    src/edit.c
Karsten Hopp 09b60b
Karsten Hopp 09b60b
Karsten Hopp 09b60b
*** ../vim-7.3.812/src/edit.c	2013-01-17 15:36:54.000000000 +0100
Karsten Hopp 09b60b
--- src/edit.c	2013-02-13 16:25:35.000000000 +0100
Karsten Hopp 09b60b
***************
Karsten Hopp 09b60b
*** 3846,3851 ****
Karsten Hopp 09b60b
--- 3846,3857 ----
Karsten Hopp 09b60b
  #endif
Karsten Hopp 09b60b
  	}
Karsten Hopp 09b60b
      }
Karsten Hopp 09b60b
+ #ifdef FEAT_AUTOCMD
Karsten Hopp 09b60b
+     else if (ctrl_x_mode == CTRL_X_LOCAL_MSG)
Karsten Hopp 09b60b
+ 	/* Trigger the CompleteDone event to give scripts a chance to act
Karsten Hopp 09b60b
+ 	 * upon the (possibly failed) completion. */
Karsten Hopp 09b60b
+ 	apply_autocmds(EVENT_COMPLETEDONE, NULL, NULL, FALSE, curbuf);
Karsten Hopp 09b60b
+ #endif
Karsten Hopp 09b60b
  
Karsten Hopp 09b60b
      /* reset continue_* if we left expansion-mode, if we stay they'll be
Karsten Hopp 09b60b
       * (re)set properly in ins_complete() */
Karsten Hopp 09b60b
*** ../vim-7.3.812/src/version.c	2013-02-13 16:10:13.000000000 +0100
Karsten Hopp 09b60b
--- src/version.c	2013-02-13 16:23:50.000000000 +0100
Karsten Hopp 09b60b
***************
Karsten Hopp 09b60b
*** 727,728 ****
Karsten Hopp 09b60b
--- 727,730 ----
Karsten Hopp 09b60b
  {   /* Add new patch number below this line */
Karsten Hopp 09b60b
+ /**/
Karsten Hopp 09b60b
+     813,
Karsten Hopp 09b60b
  /**/
Karsten Hopp 09b60b
Karsten Hopp 09b60b
-- 
Karsten Hopp 09b60b
FROG: How you English say:  I one more time, mac, I unclog my nose towards
Karsten Hopp 09b60b
      you, sons of a window-dresser,  so, you think you could out-clever us
Karsten Hopp 09b60b
      French fellows with your silly knees-bent creeping about advancing
Karsten Hopp 09b60b
      behaviour.  (blows a raspberry) I wave my private parts at your aunties,
Karsten Hopp 09b60b
      you brightly-coloured, mealy-templed, cranberry-smelling, electric
Karsten Hopp 09b60b
      donkey-bottom biters.
Karsten Hopp 09b60b
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 09b60b
Karsten Hopp 09b60b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 09b60b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 09b60b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 09b60b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///