073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.367
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.367 (after 7.4.357)
073263
Problem:    Other solution for redrawing after completion.
073263
Solution:   Schedule a window redraw instead of just clearing the command
073263
	    line. (Jacob Niehus)
073263
Files:	    src/edit.c
073263
073263
073263
*** ../vim-7.4.366/src/edit.c	2014-07-09 14:00:45.175044250 +0200
073263
--- src/edit.c	2014-07-16 14:36:00.679748155 +0200
073263
***************
073263
*** 3854,3860 ****
073263
  	    ins_compl_free();
073263
  	    compl_started = FALSE;
073263
  	    compl_matches = 0;
073263
! 	    msg_clr_cmdline();	/* necessary for "noshowmode" */
073263
  	    ctrl_x_mode = 0;
073263
  	    compl_enter_selects = FALSE;
073263
  	    if (edit_submode != NULL)
073263
--- 3854,3861 ----
073263
  	    ins_compl_free();
073263
  	    compl_started = FALSE;
073263
  	    compl_matches = 0;
073263
! 	    if (!shortmess(SHM_COMPLETIONMENU))
073263
! 		msg_clr_cmdline();	/* necessary for "noshowmode" */
073263
  	    ctrl_x_mode = 0;
073263
  	    compl_enter_selects = FALSE;
073263
  	    if (edit_submode != NULL)
073263
***************
073263
*** 4591,4597 ****
073263
--- 4592,4601 ----
073263
       */
073263
      i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
073263
      backspace_until_column(i);
073263
+ 
073263
+     /* Not sure what is still valid, better redraw everything. */
073263
      changed_cline_bef_curs();
073263
+     redraw_curbuf_later(NOT_VALID);
073263
  }
073263
  
073263
  /* Insert the new text being completed. */
073263
*** ../vim-7.4.366/src/version.c	2014-07-16 14:20:38.255766903 +0200
073263
--- src/version.c	2014-07-16 14:42:23.059740384 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     367,
073263
  /**/
073263
073263
-- 
073263
No children may attend school with their breath smelling of "wild onions."
073263
		[real standing law in West Virginia, United States of America]
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///