|
Karsten Hopp |
56adbc |
To: vim-dev@vim.org
|
|
Karsten Hopp |
56adbc |
Subject: Patch 7.2.019
|
|
Karsten Hopp |
56adbc |
Fcc: outbox
|
|
Karsten Hopp |
56adbc |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
56adbc |
Mime-Version: 1.0
|
|
Karsten Hopp |
56adbc |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
56adbc |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
56adbc |
------------
|
|
Karsten Hopp |
56adbc |
|
|
Karsten Hopp |
56adbc |
Patch 7.2.019
|
|
Karsten Hopp |
56adbc |
Problem: Completion of ":noautocmd" doesn't work and exists(":noautocmd")
|
|
Karsten Hopp |
56adbc |
returns zero. (Ben Fritz)
|
|
Karsten Hopp |
56adbc |
Solution: Add "noautocmd" to the list of modifiers and commands.
|
|
Karsten Hopp |
56adbc |
Files: src/ex_cmds.h, src/ex_docmd.c
|
|
Karsten Hopp |
56adbc |
|
|
Karsten Hopp |
56adbc |
|
|
Karsten Hopp |
56adbc |
*** ../vim-7.2.018/src/ex_cmds.h Wed Jun 25 00:44:40 2008
|
|
Karsten Hopp |
56adbc |
--- src/ex_cmds.h Sat Sep 13 18:37:25 2008
|
|
Karsten Hopp |
56adbc |
***************
|
|
Karsten Hopp |
56adbc |
*** 635,640 ****
|
|
Karsten Hopp |
56adbc |
--- 635,642 ----
|
|
Karsten Hopp |
56adbc |
RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
|
|
Karsten Hopp |
56adbc |
EX(CMD_noremap, "noremap", ex_map,
|
|
Karsten Hopp |
56adbc |
BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
|
|
Karsten Hopp |
56adbc |
+ EX(CMD_noautocmd, "noautocmd", ex_wrongmodifier,
|
|
Karsten Hopp |
56adbc |
+ NEEDARG|EXTRA|NOTRLCOM),
|
|
Karsten Hopp |
56adbc |
EX(CMD_nohlsearch, "nohlsearch", ex_nohlsearch,
|
|
Karsten Hopp |
56adbc |
TRLBAR|SBOXOK|CMDWIN),
|
|
Karsten Hopp |
56adbc |
EX(CMD_noreabbrev, "noreabbrev", ex_abbreviate,
|
|
Karsten Hopp |
56adbc |
*** ../vim-7.2.018/src/ex_docmd.c Sat Jul 26 16:04:39 2008
|
|
Karsten Hopp |
56adbc |
--- src/ex_docmd.c Mon Sep 15 20:04:53 2008
|
|
Karsten Hopp |
56adbc |
***************
|
|
Karsten Hopp |
56adbc |
*** 2978,2983 ****
|
|
Karsten Hopp |
56adbc |
--- 2979,2985 ----
|
|
Karsten Hopp |
56adbc |
{"keepmarks", 3, FALSE},
|
|
Karsten Hopp |
56adbc |
{"leftabove", 5, FALSE},
|
|
Karsten Hopp |
56adbc |
{"lockmarks", 3, FALSE},
|
|
Karsten Hopp |
56adbc |
+ {"noautocmd", 3, FALSE},
|
|
Karsten Hopp |
56adbc |
{"rightbelow", 6, FALSE},
|
|
Karsten Hopp |
56adbc |
{"sandbox", 3, FALSE},
|
|
Karsten Hopp |
56adbc |
{"silent", 3, FALSE},
|
|
Karsten Hopp |
56adbc |
*** ../vim-7.2.018/src/version.c Sun Sep 14 21:40:26 2008
|
|
Karsten Hopp |
56adbc |
--- src/version.c Thu Sep 18 12:39:56 2008
|
|
Karsten Hopp |
56adbc |
***************
|
|
Karsten Hopp |
56adbc |
*** 678,679 ****
|
|
Karsten Hopp |
56adbc |
--- 678,681 ----
|
|
Karsten Hopp |
56adbc |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
56adbc |
+ /**/
|
|
Karsten Hopp |
56adbc |
+ 19,
|
|
Karsten Hopp |
56adbc |
/**/
|
|
Karsten Hopp |
56adbc |
|
|
Karsten Hopp |
56adbc |
--
|
|
Karsten Hopp |
56adbc |
Proof techniques #2: Proof by Oddity.
|
|
Karsten Hopp |
56adbc |
SAMPLE: To prove that horses have an infinite number of legs.
|
|
Karsten Hopp |
56adbc |
(1) Horses have an even number of legs.
|
|
Karsten Hopp |
56adbc |
(2) They have two legs in back and fore legs in front.
|
|
Karsten Hopp |
56adbc |
(3) This makes a total of six legs, which certainly is an odd number of
|
|
Karsten Hopp |
56adbc |
legs for a horse.
|
|
Karsten Hopp |
56adbc |
(4) But the only number that is both odd and even is infinity.
|
|
Karsten Hopp |
56adbc |
(5) Therefore, horses must have an infinite number of legs.
|
|
Karsten Hopp |
56adbc |
|
|
Karsten Hopp |
56adbc |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
56adbc |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
56adbc |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
56adbc |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|