Karsten Hopp ae5561
To: vim_dev@googlegroups.com
Karsten Hopp ae5561
Subject: Patch 7.4.121
Karsten Hopp ae5561
Fcc: outbox
Karsten Hopp ae5561
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ae5561
Mime-Version: 1.0
Karsten Hopp ae5561
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ae5561
Content-Transfer-Encoding: 8bit
Karsten Hopp ae5561
------------
Karsten Hopp ae5561
Karsten Hopp ae5561
Patch 7.4.121
Karsten Hopp ae5561
Problem:    Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw)
Karsten Hopp ae5561
Solution:   Skip over letters after ":py3".
Karsten Hopp ae5561
Files:	    src/ex_docmd.c
Karsten Hopp ae5561
Karsten Hopp ae5561
Karsten Hopp ae5561
*** ../vim-7.4.120/src/ex_docmd.c	2013-11-21 14:21:25.000000000 +0100
Karsten Hopp ae5561
--- src/ex_docmd.c	2013-12-11 17:41:50.000000000 +0100
Karsten Hopp ae5561
***************
Karsten Hopp ae5561
*** 3261,3267 ****
Karsten Hopp ae5561
--- 3261,3271 ----
Karsten Hopp ae5561
  	    ++p;
Karsten Hopp ae5561
  	/* for python 3.x: ":py3*" commands completion */
Karsten Hopp ae5561
  	if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3')
Karsten Hopp ae5561
+ 	{
Karsten Hopp ae5561
  	    ++p;
Karsten Hopp ae5561
+ 	    while (ASCII_ISALPHA(*p) || *p == '*')
Karsten Hopp ae5561
+ 		++p;
Karsten Hopp ae5561
+ 	}
Karsten Hopp ae5561
  	len = (int)(p - cmd);
Karsten Hopp ae5561
  
Karsten Hopp ae5561
  	if (len == 0)
Karsten Hopp ae5561
*** ../vim-7.4.120/src/version.c	2013-12-11 17:20:14.000000000 +0100
Karsten Hopp ae5561
--- src/version.c	2013-12-11 17:43:44.000000000 +0100
Karsten Hopp ae5561
***************
Karsten Hopp ae5561
*** 740,741 ****
Karsten Hopp ae5561
--- 740,743 ----
Karsten Hopp ae5561
  {   /* Add new patch number below this line */
Karsten Hopp ae5561
+ /**/
Karsten Hopp ae5561
+     121,
Karsten Hopp ae5561
  /**/
Karsten Hopp ae5561
Karsten Hopp ae5561
-- 
Karsten Hopp ae5561
It was recently discovered that research causes cancer in rats.
Karsten Hopp ae5561
Karsten Hopp ae5561
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ae5561
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ae5561
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ae5561
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///