4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Completion of ":noautocmd" doesn't work and exists(":noautocmd")
12 returns zero. (Ben Fritz)
13 Solution: Add "noautocmd" to the list of modifiers and commands.
14 Files: src/ex_cmds.h, src/ex_docmd.c
17 *** ../vim-7.2.018/src/ex_cmds.h Wed Jun 25 00:44:40 2008
18 --- src/ex_cmds.h Sat Sep 13 18:37:25 2008
22 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
23 EX(CMD_noremap, "noremap", ex_map,
24 BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
25 + EX(CMD_noautocmd, "noautocmd", ex_wrongmodifier,
26 + NEEDARG|EXTRA|NOTRLCOM),
27 EX(CMD_nohlsearch, "nohlsearch", ex_nohlsearch,
28 TRLBAR|SBOXOK|CMDWIN),
29 EX(CMD_noreabbrev, "noreabbrev", ex_abbreviate,
30 *** ../vim-7.2.018/src/ex_docmd.c Sat Jul 26 16:04:39 2008
31 --- src/ex_docmd.c Mon Sep 15 20:04:53 2008
35 {"keepmarks", 3, FALSE},
36 {"leftabove", 5, FALSE},
37 {"lockmarks", 3, FALSE},
38 + {"noautocmd", 3, FALSE},
39 {"rightbelow", 6, FALSE},
40 {"sandbox", 3, FALSE},
42 *** ../vim-7.2.018/src/version.c Sun Sep 14 21:40:26 2008
43 --- src/version.c Thu Sep 18 12:39:56 2008
47 { /* Add new patch number below this line */
53 Proof techniques #2: Proof by Oddity.
54 SAMPLE: To prove that horses have an infinite number of legs.
55 (1) Horses have an even number of legs.
56 (2) They have two legs in back and fore legs in front.
57 (3) This makes a total of six legs, which certainly is an odd number of
59 (4) But the only number that is both odd and even is infinity.
60 (5) Therefore, horses must have an infinite number of legs.
62 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
63 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
64 \\\ download, build and distribute -- http://www.A-A-P.org ///
65 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///