jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.389

3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.389
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.389
3ef2ca
Problem:    Still sometimes Vim enters Replace mode when starting up.
3ef2ca
Solution:   Use a different solution in detecting the termresponse and
3ef2ca
	    location response. (Hayaki Saito)
3ef2ca
Files:	    src/globals.h, src/os_unix.c, src/term.c, src/proto/term.pro
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.388/src/globals.h	2014-06-12 14:01:27.575769788 +0200
3ef2ca
--- src/globals.h	2014-07-30 17:02:57.711526671 +0200
3ef2ca
***************
3ef2ca
*** 1336,1344 ****
3ef2ca
  #if defined(UNIX) || defined(VMS)
3ef2ca
  EXTERN int	term_is_xterm INIT(= FALSE);	/* xterm-like 'term' */
3ef2ca
  #endif
3ef2ca
- #if defined(UNIX)
3ef2ca
- EXTERN int	xterm_conflict_mouse INIT(= FALSE);
3ef2ca
- #endif
3ef2ca
  
3ef2ca
  #ifdef BACKSLASH_IN_FILENAME
3ef2ca
  EXTERN char	psepc INIT(= '\\');	/* normal path separator character */
3ef2ca
--- 1336,1341 ----
3ef2ca
*** ../vim-7.4.388/src/os_unix.c	2014-07-09 19:13:45.007701718 +0200
3ef2ca
--- src/os_unix.c	2014-07-30 17:06:02.375525344 +0200
3ef2ca
***************
3ef2ca
*** 3667,3674 ****
3ef2ca
      void
3ef2ca
  check_mouse_termcode()
3ef2ca
  {
3ef2ca
-     xterm_conflict_mouse = FALSE;
3ef2ca
- 
3ef2ca
  # ifdef FEAT_MOUSE_XTERM
3ef2ca
      if (use_xterm_mouse()
3ef2ca
  # ifdef FEAT_MOUSE_URXVT
3ef2ca
--- 3667,3672 ----
3ef2ca
***************
3ef2ca
*** 3713,3719 ****
3ef2ca
  # endif
3ef2ca
  
3ef2ca
  # ifdef FEAT_MOUSE_JSB
3ef2ca
!     /* There is no conflict, but it was disabled for xterm before. */
3ef2ca
      if (!use_xterm_mouse()
3ef2ca
  #  ifdef FEAT_GUI
3ef2ca
  	    && !gui.in_use
3ef2ca
--- 3711,3717 ----
3ef2ca
  # endif
3ef2ca
  
3ef2ca
  # ifdef FEAT_MOUSE_JSB
3ef2ca
!     /* Conflicts with xterm mouse: "\033[" and "\033[M" ??? */
3ef2ca
      if (!use_xterm_mouse()
3ef2ca
  #  ifdef FEAT_GUI
3ef2ca
  	    && !gui.in_use
3ef2ca
***************
3ef2ca
*** 3740,3784 ****
3ef2ca
  # endif
3ef2ca
  
3ef2ca
  # ifdef FEAT_MOUSE_DEC
3ef2ca
!     /* Conflicts with xterm mouse: "\033[" and "\033[M".
3ef2ca
!      * Also conflicts with the xterm termresponse, skip this if it was
3ef2ca
!      * requested already. */
3ef2ca
      if (!use_xterm_mouse()
3ef2ca
- #  ifdef FEAT_TERMRESPONSE
3ef2ca
- 	    && !did_request_esc_sequence()
3ef2ca
- #  endif
3ef2ca
  #  ifdef FEAT_GUI
3ef2ca
  	    && !gui.in_use
3ef2ca
  #  endif
3ef2ca
  	    )
3ef2ca
-     {
3ef2ca
  	set_mouse_termcode(KS_DEC_MOUSE, (char_u *)(term_is_8bit(T_NAME)
3ef2ca
  		     ? IF_EB("\233", CSI_STR) : IF_EB("\033[", ESC_STR "[")));
3ef2ca
- 	xterm_conflict_mouse = TRUE;
3ef2ca
-     }
3ef2ca
      else
3ef2ca
  	del_mouse_termcode(KS_DEC_MOUSE);
3ef2ca
  # endif
3ef2ca
  # ifdef FEAT_MOUSE_PTERM
3ef2ca
!     /* same as the dec mouse */
3ef2ca
      if (!use_xterm_mouse()
3ef2ca
- #  ifdef FEAT_TERMRESPONSE
3ef2ca
- 	    && !did_request_esc_sequence()
3ef2ca
- #  endif
3ef2ca
  #  ifdef FEAT_GUI
3ef2ca
  	    && !gui.in_use
3ef2ca
  #  endif
3ef2ca
  	    )
3ef2ca
-     {
3ef2ca
  	set_mouse_termcode(KS_PTERM_MOUSE,
3ef2ca
  				      (char_u *) IF_EB("\033[", ESC_STR "["));
3ef2ca
- 	xterm_conflict_mouse = TRUE;
3ef2ca
-     }
3ef2ca
      else
3ef2ca
  	del_mouse_termcode(KS_PTERM_MOUSE);
3ef2ca
  # endif
3ef2ca
  # ifdef FEAT_MOUSE_URXVT
3ef2ca
!     /* same as the dec mouse */
3ef2ca
      if (use_xterm_mouse() == 3
3ef2ca
  #  ifdef FEAT_GUI
3ef2ca
  	    && !gui.in_use
3ef2ca
--- 3738,3768 ----
3ef2ca
  # endif
3ef2ca
  
3ef2ca
  # ifdef FEAT_MOUSE_DEC
3ef2ca
!     /* Conflicts with xterm mouse: "\033[" and "\033[M" */
3ef2ca
      if (!use_xterm_mouse()
3ef2ca
  #  ifdef FEAT_GUI
3ef2ca
  	    && !gui.in_use
3ef2ca
  #  endif
3ef2ca
  	    )
3ef2ca
  	set_mouse_termcode(KS_DEC_MOUSE, (char_u *)(term_is_8bit(T_NAME)
3ef2ca
  		     ? IF_EB("\233", CSI_STR) : IF_EB("\033[", ESC_STR "[")));
3ef2ca
      else
3ef2ca
  	del_mouse_termcode(KS_DEC_MOUSE);
3ef2ca
  # endif
3ef2ca
  # ifdef FEAT_MOUSE_PTERM
3ef2ca
!     /* same conflict as the dec mouse */
3ef2ca
      if (!use_xterm_mouse()
3ef2ca
  #  ifdef FEAT_GUI
3ef2ca
  	    && !gui.in_use
3ef2ca
  #  endif
3ef2ca
  	    )
3ef2ca
  	set_mouse_termcode(KS_PTERM_MOUSE,
3ef2ca
  				      (char_u *) IF_EB("\033[", ESC_STR "["));
3ef2ca
      else
3ef2ca
  	del_mouse_termcode(KS_PTERM_MOUSE);
3ef2ca
  # endif
3ef2ca
  # ifdef FEAT_MOUSE_URXVT
3ef2ca
!     /* same conflict as the dec mouse */
3ef2ca
      if (use_xterm_mouse() == 3
3ef2ca
  #  ifdef FEAT_GUI
3ef2ca
  	    && !gui.in_use
3ef2ca
***************
3ef2ca
*** 3794,3801 ****
3ef2ca
  	    mch_setmouse(FALSE);
3ef2ca
  	    setmouse();
3ef2ca
  	}
3ef2ca
- 	/* It's OK to request the xterm version for uxterm. */
3ef2ca
- 	resume_get_esc_sequence();
3ef2ca
      }
3ef2ca
      else
3ef2ca
  	del_mouse_termcode(KS_URXVT_MOUSE);
3ef2ca
--- 3778,3783 ----
3ef2ca
*** ../vim-7.4.388/src/term.c	2014-07-09 20:51:04.519583033 +0200
3ef2ca
--- src/term.c	2014-07-30 17:20:54.915518929 +0200
3ef2ca
***************
3ef2ca
*** 153,163 ****
3ef2ca
  static char_u *vim_tgetstr __ARGS((char *s, char_u **pp));
3ef2ca
  #endif /* HAVE_TGETENT */
3ef2ca
  
3ef2ca
- #if defined(FEAT_TERMRESPONSE)
3ef2ca
- static int xt_index_in = 0;
3ef2ca
- static int xt_index_out = 0;
3ef2ca
- #endif
3ef2ca
- 
3ef2ca
  static int  detected_8bit = FALSE;	/* detected 8-bit terminal */
3ef2ca
  
3ef2ca
  static struct builtin_term builtin_termcaps[] =
3ef2ca
--- 153,158 ----
3ef2ca
***************
3ef2ca
*** 3312,3351 ****
3ef2ca
  }
3ef2ca
  
3ef2ca
  #if defined(FEAT_TERMRESPONSE) || defined(PROTO)
3ef2ca
- # if defined(UNIX) || defined(PROTO)
3ef2ca
- /*
3ef2ca
-  * Return TRUE when the xterm version was requested or anything else that
3ef2ca
-  * would send an ESC sequence back to Vim.
3ef2ca
-  * If not sent yet, prevent it from being sent soon.
3ef2ca
-  * Used to check whether it is OK to enable checking for DEC mouse codes,
3ef2ca
-  * which conflict with may xterm ESC sequences.
3ef2ca
-  */
3ef2ca
-     int
3ef2ca
- did_request_esc_sequence()
3ef2ca
- {
3ef2ca
-     if (crv_status == CRV_GET)
3ef2ca
- 	crv_status = 0;
3ef2ca
-     if (u7_status == U7_GET)
3ef2ca
- 	u7_status = 0;
3ef2ca
-     return crv_status == CRV_SENT || u7_status == U7_SENT
3ef2ca
- 						|| xt_index_out > xt_index_in;
3ef2ca
- }
3ef2ca
- 
3ef2ca
- /*
3ef2ca
-  * If requesting the version was disabled in did_request_esc_sequence(),
3ef2ca
-  * enable it again.
3ef2ca
-  */
3ef2ca
-     void
3ef2ca
- resume_get_esc_sequence()
3ef2ca
- {
3ef2ca
-     if (crv_status == 0)
3ef2ca
- 	crv_status = CRV_GET;
3ef2ca
-     if (u7_status == 0)
3ef2ca
- 	u7_status = U7_GET;
3ef2ca
- }
3ef2ca
- # endif
3ef2ca
- 
3ef2ca
- 
3ef2ca
  /*
3ef2ca
   * Request version string (for xterm) when needed.
3ef2ca
   * Only do this after switching to raw mode, otherwise the result will be
3ef2ca
--- 3307,3312 ----
3ef2ca
***************
3ef2ca
*** 3358,3365 ****
3ef2ca
   * Insert mode.
3ef2ca
   * On Unix only do it when both output and input are a tty (avoid writing
3ef2ca
   * request to terminal while reading from a file).
3ef2ca
-  * Do not do this when a mouse is being detected that starts with the same ESC
3ef2ca
-  * sequence as the termresponse.
3ef2ca
   * The result is caught in check_termcode().
3ef2ca
   */
3ef2ca
      void
3ef2ca
--- 3319,3324 ----
3ef2ca
***************
3ef2ca
*** 3373,3379 ****
3ef2ca
  # ifdef UNIX
3ef2ca
  	    && isatty(1)
3ef2ca
  	    && isatty(read_cmd_fd)
3ef2ca
- 	    && !xterm_conflict_mouse
3ef2ca
  # endif
3ef2ca
  	    && *T_CRV != NUL)
3ef2ca
      {
3ef2ca
--- 3332,3337 ----
3ef2ca
***************
3ef2ca
*** 3742,3749 ****
3ef2ca
  #if defined(WIN3264) && !defined(FEAT_GUI)
3ef2ca
      if (s[0] == K_NUL)
3ef2ca
      {
3ef2ca
!         STRMOVE(s + 1, s);
3ef2ca
!         s[1] = 3;
3ef2ca
      }
3ef2ca
  #endif
3ef2ca
  
3ef2ca
--- 3700,3707 ----
3ef2ca
  #if defined(WIN3264) && !defined(FEAT_GUI)
3ef2ca
      if (s[0] == K_NUL)
3ef2ca
      {
3ef2ca
! 	STRMOVE(s + 1, s);
3ef2ca
! 	s[1] = 3;
3ef2ca
      }
3ef2ca
  #endif
3ef2ca
  
3ef2ca
***************
3ef2ca
*** 4212,4235 ****
3ef2ca
  
3ef2ca
  #ifdef FEAT_TERMRESPONSE
3ef2ca
  	if (key_name[0] == NUL
3ef2ca
! 	    /* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
3ef2ca
  	    || key_name[0] == KS_URXVT_MOUSE
3ef2ca
- # ifdef FEAT_MBYTE
3ef2ca
- 	    || u7_status == U7_SENT
3ef2ca
  # endif
3ef2ca
!             )
3ef2ca
  	{
3ef2ca
! 	    /* Check for some responses from terminal start with "<Esc>[" or
3ef2ca
! 	     * CSI.
3ef2ca
  	     *
3ef2ca
! 	     * - xterm version string: <Esc>[>{x};{vers};{y}c
3ef2ca
  	     *   Also eat other possible responses to t_RV, rxvt returns
3ef2ca
  	     *   "<Esc>[?1;2c". Also accept CSI instead of <Esc>[.
3ef2ca
  	     *   mrxvt has been reported to have "+" in the version. Assume
3ef2ca
  	     *   the escape sequence ends with a letter or one of "{|}~".
3ef2ca
  	     *
3ef2ca
! 	     * - cursor position report: <Esc>[{row};{col}R
3ef2ca
! 	     *   The final byte is 'R'. now it is only used for checking for
3ef2ca
  	     *   ambiguous-width character state.
3ef2ca
  	     */
3ef2ca
  	    p = tp[0] == CSI ? tp + 1 : tp + 2;
3ef2ca
--- 4170,4200 ----
3ef2ca
  
3ef2ca
  #ifdef FEAT_TERMRESPONSE
3ef2ca
  	if (key_name[0] == NUL
3ef2ca
! 	    /* Mouse codes of DEC, pterm, and URXVT start with <ESC>[.  When
3ef2ca
! 	     * detecting the start of these mouse codes they might as well be
3ef2ca
! 	     * another key code or terminal response. */
3ef2ca
! # ifdef FEAT_MOUSE_DEC
3ef2ca
! 	    || key_name[0] == KS_DEC_MOUSE
3ef2ca
! # endif
3ef2ca
! # ifdef FEAT_MOUSE_PTERM
3ef2ca
! 	    || key_name[0] == KS_PTERM_MOUSE
3ef2ca
! # endif
3ef2ca
! # ifdef FEAT_MOUSE_URXVT
3ef2ca
  	    || key_name[0] == KS_URXVT_MOUSE
3ef2ca
  # endif
3ef2ca
! 	   )
3ef2ca
  	{
3ef2ca
! 	    /* Check for some responses from the terminal starting with
3ef2ca
! 	     * "<Esc>[" or CSI:
3ef2ca
  	     *
3ef2ca
! 	     * - Xterm version string: <Esc>[>{x};{vers};{y}c
3ef2ca
  	     *   Also eat other possible responses to t_RV, rxvt returns
3ef2ca
  	     *   "<Esc>[?1;2c". Also accept CSI instead of <Esc>[.
3ef2ca
  	     *   mrxvt has been reported to have "+" in the version. Assume
3ef2ca
  	     *   the escape sequence ends with a letter or one of "{|}~".
3ef2ca
  	     *
3ef2ca
! 	     * - Cursor position report: <Esc>[{row};{col}R
3ef2ca
! 	     *   The final byte must be 'R'. It is used for checking the
3ef2ca
  	     *   ambiguous-width character state.
3ef2ca
  	     */
3ef2ca
  	    p = tp[0] == CSI ? tp + 1 : tp + 2;
3ef2ca
***************
3ef2ca
*** 4269,4304 ****
3ef2ca
  		 * u7_status is not "sent", it may be from a previous Vim that
3ef2ca
  		 * just exited.  But not for <S-F3>, it sends something
3ef2ca
  		 * similar, check for row and column to make sense. */
3ef2ca
! 		if (j == 1 && tp[i] == 'R' && row_char == '2' && col >= 2)
3ef2ca
  		{
3ef2ca
! 		    char *aw = NULL;
3ef2ca
  
3ef2ca
! 		    LOG_TR("Received U7 status");
3ef2ca
! 		    u7_status = U7_GOT;
3ef2ca
  # ifdef FEAT_AUTOCMD
3ef2ca
! 		    did_cursorhold = TRUE;
3ef2ca
  # endif
3ef2ca
! 		    if (col == 2)
3ef2ca
! 			aw = "single";
3ef2ca
! 		    else if (col == 3)
3ef2ca
! 			aw = "double";
3ef2ca
! 		    if (aw != NULL && STRCMP(aw, p_ambw) != 0)
3ef2ca
! 		    {
3ef2ca
! 			/* Setting the option causes a screen redraw. Do that
3ef2ca
! 			 * right away if possible, keeping any messages. */
3ef2ca
! 			set_option_value((char_u *)"ambw", 0L, (char_u *)aw, 0);
3ef2ca
! # ifdef DEBUG_TERMRESPONSE
3ef2ca
  			{
3ef2ca
! 			    char buf[100];
3ef2ca
! 			    int  r = redraw_asap(CLEAR);
3ef2ca
  
3ef2ca
! 			    sprintf(buf, "set 'ambiwidth', redraw_asap(): %d",
3ef2ca
! 									   r);
3ef2ca
! 			    log_tr(buf);
3ef2ca
! 			}
3ef2ca
  # else
3ef2ca
! 			redraw_asap(CLEAR);
3ef2ca
  # endif
3ef2ca
  		    }
3ef2ca
  		    key_name[0] = (int)KS_EXTRA;
3ef2ca
  		    key_name[1] = (int)KE_IGNORE;
3ef2ca
--- 4234,4275 ----
3ef2ca
  		 * u7_status is not "sent", it may be from a previous Vim that
3ef2ca
  		 * just exited.  But not for <S-F3>, it sends something
3ef2ca
  		 * similar, check for row and column to make sense. */
3ef2ca
! 		if (j == 1 && tp[i] == 'R')
3ef2ca
  		{
3ef2ca
! 		    if (row_char == '2' && col >= 2)
3ef2ca
! 		    {
3ef2ca
! 			char *aw = NULL;
3ef2ca
  
3ef2ca
! 			LOG_TR("Received U7 status");
3ef2ca
! 			u7_status = U7_GOT;
3ef2ca
  # ifdef FEAT_AUTOCMD
3ef2ca
! 			did_cursorhold = TRUE;
3ef2ca
  # endif
3ef2ca
! 			if (col == 2)
3ef2ca
! 			    aw = "single";
3ef2ca
! 			else if (col == 3)
3ef2ca
! 			    aw = "double";
3ef2ca
! 			if (aw != NULL && STRCMP(aw, p_ambw) != 0)
3ef2ca
  			{
3ef2ca
! 			    /* Setting the option causes a screen redraw. Do
3ef2ca
! 			     * that right away if possible, keeping any
3ef2ca
! 			     * messages. */
3ef2ca
! 			    set_option_value((char_u *)"ambw", 0L,
3ef2ca
! 					     (char_u *)aw, 0);
3ef2ca
! # ifdef DEBUG_TERMRESPONSE
3ef2ca
! 			    {
3ef2ca
! 				char buf[100];
3ef2ca
! 				int  r = redraw_asap(CLEAR);
3ef2ca
  
3ef2ca
! 				sprintf(buf,
3ef2ca
! 					"set 'ambiwidth', redraw_asap(): %d",
3ef2ca
! 					r);
3ef2ca
! 				log_tr(buf);
3ef2ca
! 			    }
3ef2ca
  # else
3ef2ca
! 			    redraw_asap(CLEAR);
3ef2ca
  # endif
3ef2ca
+ 			}
3ef2ca
  		    }
3ef2ca
  		    key_name[0] = (int)KS_EXTRA;
3ef2ca
  		    key_name[1] = (int)KE_IGNORE;
3ef2ca
***************
3ef2ca
*** 4563,4581 ****
3ef2ca
  			return -1;
3ef2ca
  
3ef2ca
  		    /* when mouse reporting is SGR, add 32 to mouse code */
3ef2ca
!                     if (key_name[0] == KS_SGR_MOUSE)
3ef2ca
!                         mouse_code += 32;
3ef2ca
  
3ef2ca
  		    mouse_col = getdigits(&p) - 1;
3ef2ca
  		    if (*p++ != ';')
3ef2ca
  			return -1;
3ef2ca
  
3ef2ca
  		    mouse_row = getdigits(&p) - 1;
3ef2ca
!                     if (key_name[0] == KS_SGR_MOUSE && *p == 'm')
3ef2ca
  			mouse_code |= MOUSE_RELEASE;
3ef2ca
!                     else if (*p != 'M')
3ef2ca
  			return -1;
3ef2ca
!                     p++;
3ef2ca
  
3ef2ca
  		    slen += (int)(p - (tp + slen));
3ef2ca
  
3ef2ca
--- 4534,4552 ----
3ef2ca
  			return -1;
3ef2ca
  
3ef2ca
  		    /* when mouse reporting is SGR, add 32 to mouse code */
3ef2ca
! 		    if (key_name[0] == KS_SGR_MOUSE)
3ef2ca
! 			mouse_code += 32;
3ef2ca
  
3ef2ca
  		    mouse_col = getdigits(&p) - 1;
3ef2ca
  		    if (*p++ != ';')
3ef2ca
  			return -1;
3ef2ca
  
3ef2ca
  		    mouse_row = getdigits(&p) - 1;
3ef2ca
! 		    if (key_name[0] == KS_SGR_MOUSE && *p == 'm')
3ef2ca
  			mouse_code |= MOUSE_RELEASE;
3ef2ca
! 		    else if (*p != 'M')
3ef2ca
  			return -1;
3ef2ca
! 		    p++;
3ef2ca
  
3ef2ca
  		    slen += (int)(p - (tp + slen));
3ef2ca
  
3ef2ca
***************
3ef2ca
*** 4592,4598 ****
3ef2ca
  			for (slen2 = slen; slen2 < len; slen2++)
3ef2ca
  			{
3ef2ca
  			    if (tp[slen2] == 'M'
3ef2ca
!                                 || (key_name[0] == KS_SGR_MOUSE
3ef2ca
  							 && tp[slen2] == 'm'))
3ef2ca
  			    {
3ef2ca
  				cmd_complete = 1;
3ef2ca
--- 4563,4569 ----
3ef2ca
  			for (slen2 = slen; slen2 < len; slen2++)
3ef2ca
  			{
3ef2ca
  			    if (tp[slen2] == 'M'
3ef2ca
! 				    || (key_name[0] == KS_SGR_MOUSE
3ef2ca
  							 && tp[slen2] == 'm'))
3ef2ca
  			    {
3ef2ca
  				cmd_complete = 1;
3ef2ca
***************
3ef2ca
*** 5769,5774 ****
3ef2ca
--- 5740,5748 ----
3ef2ca
   * termcap codes from the terminal itself.
3ef2ca
   * We get them one by one to avoid a very long response string.
3ef2ca
   */
3ef2ca
+ static int xt_index_in = 0;
3ef2ca
+ static int xt_index_out = 0;
3ef2ca
+ 
3ef2ca
      static void
3ef2ca
  req_codes_from_term()
3ef2ca
  {
3ef2ca
*** ../vim-7.4.388/src/proto/term.pro	2014-07-09 19:13:45.007701718 +0200
3ef2ca
--- src/proto/term.pro	2014-07-30 17:04:40.791525930 +0200
3ef2ca
***************
3ef2ca
*** 34,41 ****
3ef2ca
  void settmode __ARGS((int tmode));
3ef2ca
  void starttermcap __ARGS((void));
3ef2ca
  void stoptermcap __ARGS((void));
3ef2ca
- int did_request_esc_sequence __ARGS((void));
3ef2ca
- void resume_get_esc_sequence __ARGS((void));
3ef2ca
  void may_req_termresponse __ARGS((void));
3ef2ca
  void may_req_ambiguous_char_width __ARGS((void));
3ef2ca
  int swapping_screen __ARGS((void));
3ef2ca
--- 34,39 ----
3ef2ca
*** ../vim-7.4.388/src/version.c	2014-07-30 16:44:17.503534723 +0200
3ef2ca
--- src/version.c	2014-07-30 17:03:13.715526556 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     389,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
The only way the average employee can speak to an executive is by taking a
3ef2ca
second job as a golf caddie.
3ef2ca
				(Scott Adams - The Dilbert principle)
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///