Karsten Hopp 65b066
To: vim-dev@vim.org
Karsten Hopp 65b066
Subject: Patch 7.3.002
Karsten Hopp 65b066
Fcc: outbox
Karsten Hopp 65b066
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 65b066
Mime-Version: 1.0
Karsten Hopp 65b066
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 65b066
Content-Transfer-Encoding: 8bit
Karsten Hopp 65b066
------------
Karsten Hopp 65b066
Karsten Hopp 65b066
Patch 7.3.002
Karsten Hopp 65b066
Problem:    ":find" completion doesn't work when halfway an environment
Karsten Hopp 65b066
	    variable. (Dominique Pelle)
Karsten Hopp 65b066
Solution:   Only use in-path completion when expanding file names. (Nazri
Karsten Hopp 65b066
	    Ramliy)
Karsten Hopp 65b066
Files:	    src/ex_docmd.c
Karsten Hopp 65b066
Karsten Hopp 65b066
Karsten Hopp 65b066
*** ../vim-7.3.001/src/ex_docmd.c	2010-08-15 21:57:27.000000000 +0200
Karsten Hopp 65b066
--- src/ex_docmd.c	2010-08-16 20:51:22.000000000 +0200
Karsten Hopp 65b066
***************
Karsten Hopp 65b066
*** 3465,3471 ****
Karsten Hopp 65b066
  	case CMD_find:
Karsten Hopp 65b066
  	case CMD_sfind:
Karsten Hopp 65b066
  	case CMD_tabfind:
Karsten Hopp 65b066
! 	    xp->xp_context = EXPAND_FILES_IN_PATH;
Karsten Hopp 65b066
  	    break;
Karsten Hopp 65b066
  	case CMD_cd:
Karsten Hopp 65b066
  	case CMD_chdir:
Karsten Hopp 65b066
--- 3465,3472 ----
Karsten Hopp 65b066
  	case CMD_find:
Karsten Hopp 65b066
  	case CMD_sfind:
Karsten Hopp 65b066
  	case CMD_tabfind:
Karsten Hopp 65b066
! 	    if (xp->xp_context == EXPAND_FILES)
Karsten Hopp 65b066
! 		xp->xp_context = EXPAND_FILES_IN_PATH;
Karsten Hopp 65b066
  	    break;
Karsten Hopp 65b066
  	case CMD_cd:
Karsten Hopp 65b066
  	case CMD_chdir:
Karsten Hopp 65b066
*** ../vim-7.3.001/src/version.c	2010-08-16 21:46:12.000000000 +0200
Karsten Hopp 65b066
--- src/version.c	2010-08-16 22:33:13.000000000 +0200
Karsten Hopp 65b066
***************
Karsten Hopp 65b066
*** 716,717 ****
Karsten Hopp 65b066
--- 716,719 ----
Karsten Hopp 65b066
  {   /* Add new patch number below this line */
Karsten Hopp 65b066
+ /**/
Karsten Hopp 65b066
+     2,
Karsten Hopp 65b066
  /**/
Karsten Hopp 65b066
Karsten Hopp 65b066
-- 
Karsten Hopp 65b066
Warning label on a superhero Halloween costume:
Karsten Hopp 65b066
"Caution: Cape does not enable user to fly."
Karsten Hopp 65b066
Karsten Hopp 65b066
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 65b066
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 65b066
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 65b066
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///