4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Completion doesn't work for ":keepmarks" and ":lockmarks".
12 Solution: Add the command modifiers to the table of commands. (Madoka
14 Files: src/ex_cmds.h, src/ex_docmd.c
17 *** ../vim-6.2.244/src/ex_cmds.h Sun Feb 1 20:08:40 2004
18 --- src/ex_cmds.h Sat Feb 7 18:10:50 2004
23 EX(CMD_k, "k", ex_mark,
24 RANGE|WORD1|TRLBAR|SBOXOK|CMDWIN),
25 + EX(CMD_keepmarks, "keepmarks", ex_wrongmodifier,
26 + NEEDARG|EXTRA|NOTRLCOM),
27 EX(CMD_list, "list", ex_print,
28 RANGE|WHOLEFOLD|COUNT|TRLBAR|CMDWIN),
29 EX(CMD_last, "last", ex_last,
34 EX(CMD_loadkeymap, "loadkeymap", ex_loadkeymap,
36 + EX(CMD_lockmarks, "lockmarks", ex_wrongmodifier,
37 + NEEDARG|EXTRA|NOTRLCOM),
38 EX(CMD_lunmap, "lunmap", ex_unmap,
39 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
40 EX(CMD_ls, "ls", buflist_list,
41 *** ../vim-6.2.244/src/ex_docmd.c Thu Feb 5 16:04:26 2004
42 --- src/ex_docmd.c Sat Feb 7 18:22:26 2004
59 * Isolate the command and search for it in the command table.
61 ! * - the 'k' command can directly be followed by any character.
62 * - the 's' command can be followed directly by 'c', 'g', 'i', 'I' or 'r'
70 * Isolate the command and search for it in the command table.
72 ! * - the 'k' command can directly be followed by any character, but
73 ! * do accept "keepmarks".
74 * - the 's' command can be followed directly by 'c', 'g', 'i', 'I' or 'r'
76 ! if (*cmd == 'k' && cmd[1] != 'e')
83 case CMD_folddoclosed:
92 *** ../vim-6.2.244/src/version.c Sun Feb 8 15:13:33 2004
93 --- src/version.c Sun Feb 8 17:06:12 2004
97 { /* Add new patch number below this line */
103 hundred-and-one symptoms of being an internet addict:
104 85. Choice between paying Compuserve bill and paying for kids education
105 is a no brainer -- although a bit painful for your kids.
107 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
108 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
109 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
110 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///