|
Karsten Hopp |
3421fa |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
3421fa |
Subject: Patch 7.3.217
|
|
Karsten Hopp |
3421fa |
Fcc: outbox
|
|
Karsten Hopp |
3421fa |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3421fa |
Mime-Version: 1.0
|
|
Karsten Hopp |
3421fa |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
3421fa |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3421fa |
------------
|
|
Karsten Hopp |
3421fa |
|
|
Karsten Hopp |
3421fa |
Patch 7.3.217
|
|
Karsten Hopp |
3421fa |
Problem: Inside an "if" a ":wincmd" causes problems.
|
|
Karsten Hopp |
3421fa |
Solution: When skipping commands let ":wincmd" skip over its argument.
|
|
Karsten Hopp |
3421fa |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
3421fa |
|
|
Karsten Hopp |
3421fa |
|
|
Karsten Hopp |
3421fa |
*** ../mercurial/vim73/src/ex_docmd.c 2011-05-25 12:51:17.000000000 +0200
|
|
Karsten Hopp |
3421fa |
--- src/ex_docmd.c 2011-06-13 01:15:17.000000000 +0200
|
|
Karsten Hopp |
3421fa |
***************
|
|
Karsten Hopp |
3421fa |
*** 2595,2600 ****
|
|
Karsten Hopp |
3421fa |
--- 2595,2601 ----
|
|
Karsten Hopp |
3421fa |
case CMD_unlet:
|
|
Karsten Hopp |
3421fa |
case CMD_verbose:
|
|
Karsten Hopp |
3421fa |
case CMD_vertical:
|
|
Karsten Hopp |
3421fa |
+ case CMD_wincmd:
|
|
Karsten Hopp |
3421fa |
break;
|
|
Karsten Hopp |
3421fa |
|
|
Karsten Hopp |
3421fa |
default: goto doend;
|
|
Karsten Hopp |
3421fa |
***************
|
|
Karsten Hopp |
3421fa |
*** 8237,8243 ****
|
|
Karsten Hopp |
3421fa |
p = skipwhite(p);
|
|
Karsten Hopp |
3421fa |
if (*p != NUL && *p != '"' && eap->nextcmd == NULL)
|
|
Karsten Hopp |
3421fa |
EMSG(_(e_invarg));
|
|
Karsten Hopp |
3421fa |
! else
|
|
Karsten Hopp |
3421fa |
{
|
|
Karsten Hopp |
3421fa |
/* Pass flags on for ":vertical wincmd ]". */
|
|
Karsten Hopp |
3421fa |
postponed_split_flags = cmdmod.split;
|
|
Karsten Hopp |
3421fa |
--- 8238,8244 ----
|
|
Karsten Hopp |
3421fa |
p = skipwhite(p);
|
|
Karsten Hopp |
3421fa |
if (*p != NUL && *p != '"' && eap->nextcmd == NULL)
|
|
Karsten Hopp |
3421fa |
EMSG(_(e_invarg));
|
|
Karsten Hopp |
3421fa |
! else if (!eap->skip)
|
|
Karsten Hopp |
3421fa |
{
|
|
Karsten Hopp |
3421fa |
/* Pass flags on for ":vertical wincmd ]". */
|
|
Karsten Hopp |
3421fa |
postponed_split_flags = cmdmod.split;
|
|
Karsten Hopp |
3421fa |
*** ../vim-7.3.216/src/version.c 2011-06-13 01:07:22.000000000 +0200
|
|
Karsten Hopp |
3421fa |
--- src/version.c 2011-06-13 01:18:48.000000000 +0200
|
|
Karsten Hopp |
3421fa |
***************
|
|
Karsten Hopp |
3421fa |
*** 711,712 ****
|
|
Karsten Hopp |
3421fa |
--- 711,714 ----
|
|
Karsten Hopp |
3421fa |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3421fa |
+ /**/
|
|
Karsten Hopp |
3421fa |
+ 217,
|
|
Karsten Hopp |
3421fa |
/**/
|
|
Karsten Hopp |
3421fa |
|
|
Karsten Hopp |
3421fa |
--
|
|
Karsten Hopp |
3421fa |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
3421fa |
173. You keep tracking down the email addresses of all your friends
|
|
Karsten Hopp |
3421fa |
(even childhood friends).
|
|
Karsten Hopp |
3421fa |
|
|
Karsten Hopp |
3421fa |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3421fa |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3421fa |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
3421fa |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|