home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.217 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.9 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.217
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.217
  11. Problem:    Inside an "if" a ":wincmd" causes problems.
  12. Solution:   When skipping commands let ":wincmd" skip over its argument.
  13. Files:      src/ex_docmd.c
  14.  
  15.  
  16. *** ../mercurial/vim73/src/ex_docmd.c    2011-05-25 12:51:17.000000000 +0200
  17. --- src/ex_docmd.c    2011-06-13 01:15:17.000000000 +0200
  18. ***************
  19. *** 2595,2600 ****
  20. --- 2595,2601 ----
  21.           case CMD_unlet:
  22.           case CMD_verbose:
  23.           case CMD_vertical:
  24. +         case CMD_wincmd:
  25.                   break;
  26.   
  27.           default:        goto doend;
  28. ***************
  29. *** 8237,8243 ****
  30.       p = skipwhite(p);
  31.       if (*p != NUL && *p != '"' && eap->nextcmd == NULL)
  32.       EMSG(_(e_invarg));
  33. !     else
  34.       {
  35.       /* Pass flags on for ":vertical wincmd ]". */
  36.       postponed_split_flags = cmdmod.split;
  37. --- 8238,8244 ----
  38.       p = skipwhite(p);
  39.       if (*p != NUL && *p != '"' && eap->nextcmd == NULL)
  40.       EMSG(_(e_invarg));
  41. !     else if (!eap->skip)
  42.       {
  43.       /* Pass flags on for ":vertical wincmd ]". */
  44.       postponed_split_flags = cmdmod.split;
  45. *** ../vim-7.3.216/src/version.c    2011-06-13 01:07:22.000000000 +0200
  46. --- src/version.c    2011-06-13 01:18:48.000000000 +0200
  47. ***************
  48. *** 711,712 ****
  49. --- 711,714 ----
  50.   {   /* Add new patch number below this line */
  51. + /**/
  52. +     217,
  53.   /**/
  54.  
  55. -- 
  56. hundred-and-one symptoms of being an internet addict:
  57. 173. You keep tracking down the email addresses of all your friends
  58.      (even childhood friends).
  59.  
  60.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  61. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  62. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  63.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  64.