1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: ":all!" and ":sall!" give error E477, even though the
12 documentation says these are valid commands.
13 Solution: Support the exclamation mark. (Hirohito Higashi)
14 Files: src/ex_cmds.h, src/testdir/test31.in, src/testdir/test31.ok
17 *** ../vim-7.3.443/src/ex_cmds.h 2011-06-20 05:02:53.000000000 +0200
18 --- src/ex_cmds.h 2012-02-12 23:53:31.000000000 +0100
21 EX(CMD_aboveleft, "aboveleft", ex_wrongmodifier,
22 NEEDARG|EXTRA|NOTRLCOM),
23 EX(CMD_all, "all", ex_all,
24 ! RANGE|NOTADR|COUNT|TRLBAR),
25 EX(CMD_amenu, "amenu", ex_menu,
26 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
27 EX(CMD_anoremenu, "anoremenu", ex_menu,
29 EX(CMD_aboveleft, "aboveleft", ex_wrongmodifier,
30 NEEDARG|EXTRA|NOTRLCOM),
31 EX(CMD_all, "all", ex_all,
32 ! BANG|RANGE|NOTADR|COUNT|TRLBAR),
33 EX(CMD_amenu, "amenu", ex_menu,
34 RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
35 EX(CMD_anoremenu, "anoremenu", ex_menu,
38 EX(CMD_sargument, "sargument", ex_argument,
39 BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR),
40 EX(CMD_sall, "sall", ex_all,
41 ! RANGE|NOTADR|COUNT|TRLBAR),
42 EX(CMD_sandbox, "sandbox", ex_wrongmodifier,
43 NEEDARG|EXTRA|NOTRLCOM),
44 EX(CMD_saveas, "saveas", ex_write,
46 EX(CMD_sargument, "sargument", ex_argument,
47 BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR),
48 EX(CMD_sall, "sall", ex_all,
49 ! BANG|RANGE|NOTADR|COUNT|TRLBAR),
50 EX(CMD_sandbox, "sandbox", ex_wrongmodifier,
51 NEEDARG|EXTRA|NOTRLCOM),
52 EX(CMD_saveas, "saveas", ex_write,
53 *** ../vim-7.3.443/src/testdir/test31.in 2010-08-15 21:57:29.000000000 +0200
54 --- src/testdir/test31.in 2012-02-12 23:57:42.000000000 +0100
62 + :" test ":all!" hides changed buffer; write "testtext 2 2 2"
70 *** ../vim-7.3.443/src/testdir/test31.ok 2010-08-15 21:57:29.000000000 +0200
71 --- src/testdir/test31.ok 2012-02-13 00:00:13.000000000 +0100
79 *** ../vim-7.3.443/src/version.c 2012-02-12 23:23:25.000000000 +0100
80 --- src/version.c 2012-02-12 23:52:47.000000000 +0100
84 { /* Add new patch number below this line */
90 hundred-and-one symptoms of being an internet addict:
91 50. The last girl you picked up was only a jpeg.
93 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
94 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
95 \\\ an exciting new programming language -- http://www.Zimbu.org ///
96 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///