Karsten Hopp 7a6ccd
To: vim_dev@googlegroups.com
Karsten Hopp 7a6ccd
Subject: Patch 7.3.372
Karsten Hopp 7a6ccd
Fcc: outbox
Karsten Hopp 7a6ccd
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 7a6ccd
Mime-Version: 1.0
Karsten Hopp 7a6ccd
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 7a6ccd
Content-Transfer-Encoding: 8bit
Karsten Hopp 7a6ccd
------------
Karsten Hopp 7a6ccd
Karsten Hopp 7a6ccd
Patch 7.3.372
Karsten Hopp 7a6ccd
Problem:    When using a command line mapping to <Up> with file name 
Karsten Hopp 7a6ccd
            completion to go one directory up, 'wildchar' is inserted.
Karsten Hopp 7a6ccd
            (Yasuhiro Matsumoto) 
Karsten Hopp 7a6ccd
Solution:   Set the KeyTyped flag.
Karsten Hopp 7a6ccd
Files:      src/ex_getln.c
Karsten Hopp 7a6ccd
Karsten Hopp 7a6ccd
Karsten Hopp 7a6ccd
*** ../vim-7.3.371/src/ex_getln.c	2011-10-26 22:02:10.000000000 +0200
Karsten Hopp 7a6ccd
--- src/ex_getln.c	2011-12-08 18:40:49.000000000 +0100
Karsten Hopp 7a6ccd
***************
Karsten Hopp 7a6ccd
*** 645,651 ****
Karsten Hopp 7a6ccd
--- 645,655 ----
Karsten Hopp 7a6ccd
  		}
Karsten Hopp 7a6ccd
  		else if (ccline.cmdpos > i)
Karsten Hopp 7a6ccd
  		    cmdline_del(i);
Karsten Hopp 7a6ccd
+ 
Karsten Hopp 7a6ccd
+ 		/* Now complete in the new directory. Set KeyTyped in case the
Karsten Hopp 7a6ccd
+ 		 * Up key came from a mapping. */
Karsten Hopp 7a6ccd
  		c = p_wc;
Karsten Hopp 7a6ccd
+ 		KeyTyped = TRUE;
Karsten Hopp 7a6ccd
  	    }
Karsten Hopp 7a6ccd
  	}
Karsten Hopp 7a6ccd
  
Karsten Hopp 7a6ccd
*** ../vim-7.3.371/src/version.c	2011-12-08 17:49:31.000000000 +0100
Karsten Hopp 7a6ccd
--- src/version.c	2011-12-08 18:42:54.000000000 +0100
Karsten Hopp 7a6ccd
***************
Karsten Hopp 7a6ccd
*** 716,717 ****
Karsten Hopp 7a6ccd
--- 716,719 ----
Karsten Hopp 7a6ccd
  {   /* Add new patch number below this line */
Karsten Hopp 7a6ccd
+ /**/
Karsten Hopp 7a6ccd
+     372,
Karsten Hopp 7a6ccd
  /**/
Karsten Hopp 7a6ccd
Karsten Hopp 7a6ccd
-- 
Karsten Hopp 7a6ccd
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 7a6ccd
255. You work for a newspaper and your editor asks you to write an
Karsten Hopp 7a6ccd
     article about Internet addiction...in the "first person."
Karsten Hopp 7a6ccd
Karsten Hopp 7a6ccd
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 7a6ccd
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 7a6ccd
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 7a6ccd
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///