Karsten Hopp 320e20
To: vim_dev@googlegroups.com
Karsten Hopp 320e20
Subject: Patch 7.3.200
Karsten Hopp 320e20
Fcc: outbox
Karsten Hopp 320e20
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 320e20
Mime-Version: 1.0
Karsten Hopp 320e20
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 320e20
Content-Transfer-Encoding: 8bit
Karsten Hopp 320e20
------------
Karsten Hopp 320e20
Karsten Hopp 320e20
Patch 7.3.200 (after 7.3.198)
Karsten Hopp 320e20
Problem:    CTRL-D doesn't complete :lang.
Karsten Hopp 320e20
Solution:   Add the missing part of the change. (Dominique Pelle)
Karsten Hopp 320e20
Files:	    src/ex_docmd.c
Karsten Hopp 320e20
Karsten Hopp 320e20
Karsten Hopp 320e20
*** ../mercurial/vim73/src/ex_docmd.c	2011-05-19 14:50:49.000000000 +0200
Karsten Hopp 320e20
--- src/ex_docmd.c	2011-05-25 12:45:02.000000000 +0200
Karsten Hopp 320e20
***************
Karsten Hopp 320e20
*** 3861,3873 ****
Karsten Hopp 320e20
  #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
Karsten Hopp 320e20
  	&& (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
Karsten Hopp 320e20
  	case CMD_language:
Karsten Hopp 320e20
! 	    if (*skiptowhite(arg) == NUL)
Karsten Hopp 320e20
  	    {
Karsten Hopp 320e20
  		xp->xp_context = EXPAND_LANGUAGE;
Karsten Hopp 320e20
  		xp->xp_pattern = arg;
Karsten Hopp 320e20
  	    }
Karsten Hopp 320e20
  	    else
Karsten Hopp 320e20
! 		xp->xp_context = EXPAND_NOTHING;
Karsten Hopp 320e20
  	    break;
Karsten Hopp 320e20
  #endif
Karsten Hopp 320e20
  #if defined(FEAT_PROFILE)
Karsten Hopp 320e20
--- 3861,3884 ----
Karsten Hopp 320e20
  #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
Karsten Hopp 320e20
  	&& (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
Karsten Hopp 320e20
  	case CMD_language:
Karsten Hopp 320e20
! 	    p = skiptowhite(arg);
Karsten Hopp 320e20
! 	    if (*p == NUL)
Karsten Hopp 320e20
  	    {
Karsten Hopp 320e20
  		xp->xp_context = EXPAND_LANGUAGE;
Karsten Hopp 320e20
  		xp->xp_pattern = arg;
Karsten Hopp 320e20
  	    }
Karsten Hopp 320e20
  	    else
Karsten Hopp 320e20
! 	    {
Karsten Hopp 320e20
! 		if ( STRNCMP(arg, "messages", p - arg) == 0
Karsten Hopp 320e20
! 		  || STRNCMP(arg, "ctype", p - arg) == 0
Karsten Hopp 320e20
! 		  || STRNCMP(arg, "time", p - arg) == 0)
Karsten Hopp 320e20
! 		{
Karsten Hopp 320e20
! 		    xp->xp_context = EXPAND_LOCALES;
Karsten Hopp 320e20
! 		    xp->xp_pattern = skipwhite(p);
Karsten Hopp 320e20
! 		}
Karsten Hopp 320e20
! 		else
Karsten Hopp 320e20
! 		    xp->xp_context = EXPAND_NOTHING;
Karsten Hopp 320e20
! 	    }
Karsten Hopp 320e20
  	    break;
Karsten Hopp 320e20
  #endif
Karsten Hopp 320e20
  #if defined(FEAT_PROFILE)
Karsten Hopp 320e20
*** ../vim-7.3.199/src/version.c	2011-05-25 12:09:46.000000000 +0200
Karsten Hopp 320e20
--- src/version.c	2011-05-25 12:49:49.000000000 +0200
Karsten Hopp 320e20
***************
Karsten Hopp 320e20
*** 711,712 ****
Karsten Hopp 320e20
--- 711,714 ----
Karsten Hopp 320e20
  {   /* Add new patch number below this line */
Karsten Hopp 320e20
+ /**/
Karsten Hopp 320e20
+     200,
Karsten Hopp 320e20
  /**/
Karsten Hopp 320e20
Karsten Hopp 320e20
-- 
Karsten Hopp 320e20
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 320e20
105. When someone asks you for your address, you tell them your URL.
Karsten Hopp 320e20
Karsten Hopp 320e20
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 320e20
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 320e20
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 320e20
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///