comparison runtime/doc/todo.txt @ 11:4424b47a0797

updated for version 7.0003
author vimboss
date Wed, 30 Jun 2004 16:16:41 +0000
parents 4e2284e71352
children bdeee1504ac1
comparison
equal deleted inserted replaced
10:4e2284e71352 11:4424b47a0797
1 *todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 24 1 *todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
28 be worked on, but only if you sponsor Vim development. See |sponsor|. 28 be worked on, but only if you sponsor Vim development. See |sponsor|.
29 29
30 *known-bugs* 30 *known-bugs*
31 -------------------- Known bugs and current work ----------------------- 31 -------------------- Known bugs and current work -----------------------
32 32
33 Change for fsync() error in Vim 6 as patch?
34
35 For version 7.0: 33 For version 7.0:
36 - Include many PATCHES: 34 - Include many PATCHES:
37 9 Merge in ideas from tutor.txt (Gabriel Zachmann)
38 New version 2004 June 16.
39 8 ":winpos" doesn't work. Patch from Vipin Aravind.
40 8 Add GTK 2.3 file dialog support. Patch by Grahame Bowland, 2004 Mar 15,
41 but it doesn't use "initdir" or "dflt". (will update patch)
42 8 On Sinix SYS_NMLN isn't defined. Include patch from Cristiano De
43 Michele. He no longer has such a machine.
44 8 Add file locking. Lock a file when starting to edit it with flock() or
45 fcntl(). This patch has advisory file locking while reading/writing
46 the file: ~/vim/patches/kahn_file_locking .
47 Do we still want this? Andy doesn't have time to work on it.
48 8 Add buffer-local autocommands? Reduces overhead for autocommands that
49 trigger often (inserting a character, switching mode).
50 :au Event <buffer> do-something
51 E.g.:
52 :au BufEnter <buffer> menu enable ...
53 :au BufLeave <buffer> menu disable ...
54 Patch from Yakov Lerner, including test (2004 Jan 7).
55 He'll send updated patch.
56 Autocommands:
57 VimResized - When the Vim window has been resized (SIGWINCH)
58 patch from Yakov Lerner, 2003 July 24.
59 He'll write documentation and send updated patch.
60 InsmodEnter
61 InsmodLeave Taro Muraoka, 2004 Jun 16
62 - Include the kvim patch. http://freenux.org/vim/ (Mickael Marchand) 35 - Include the kvim patch. http://freenux.org/vim/ (Mickael Marchand)
63 Do not add Qtopia yet, it doesn't work very well. 36 Do not add Qtopia yet, it doesn't work very well.
64 update from Mickael 2004 Jun 20. 37 update from Mickael 2004 Jun 20.
65 8 Unix: When libcall() fails there is no clear error message. Johannes 38 8 Unix: When libcall() fails there is no clear error message. Johannes
66 Zellner has a patch for this. 39 Zellner has a patch for this.
128 'flipcase' variable: upper/lowercase pairs. 101 'flipcase' variable: upper/lowercase pairs.
129 Insert comma's between pairs and allow a range, make it look like 102 Insert comma's between pairs and allow a range, make it look like
130 'isfname'. E.g. ":set flipcase=a-zA-Z,xX,23-33:143-153". The colon to 103 'isfname'. E.g. ":set flipcase=a-zA-Z,xX,23-33:143-153". The colon to
131 separate the from and to part is optional. 104 separate the from and to part is optional.
132 Resp: no time now. 105 Resp: no time now.
106 8 Add GTK 2.3 file dialog support. Patch by Grahame Bowland, 2004 Mar 15,
107 but it doesn't use "initdir" or "dflt". (will update patch)
108 8 Add buffer-local autocommands? Reduces overhead for autocommands that
109 trigger often (inserting a character, switching mode).
110 :au Event <buffer> do-something
111 E.g.:
112 :au BufEnter <buffer> menu enable ...
113 :au BufLeave <buffer> menu disable ...
114 Patch from Yakov Lerner, including test (2004 Jan 7).
115 He'll send updated patch.
116 Autocommands:
117 VimResized - When the Vim window has been resized (SIGWINCH)
118 patch from Yakov Lerner, 2003 July 24.
119 He'll write documentation and send updated patch.
133 --- responses above -- 120 --- responses above --
134 7 Make "5dd" on last-but-one-line not delete anything (Vi compatible). 121 7 Make "5dd" on last-but-one-line not delete anything (Vi compatible).
135 Add flag in 'cpoptions' for this. When not present, "2dd" in the last 122 Add flag in 'cpoptions' for this. When not present, "2dd" in the last
136 line should delete the last line. Patch from greenx 2002 Apr 11. 123 line should delete the last line. Patch from greenx 2002 Apr 11.
137 8 Accelerators don't work in a dialog. Include patch from Martin Dalecki 124 8 Accelerators don't work in a dialog. Include patch from Martin Dalecki
245 Or use emacs server kind of thing? 232 Or use emacs server kind of thing?
246 7 Add ":justify" command. Patch from Vit Stradal 2002 Nov 25. 233 7 Add ":justify" command. Patch from Vit Stradal 2002 Nov 25.
247 - findmatch() should be adjusted for Lisp. See remark at 234 - findmatch() should be adjusted for Lisp. See remark at
248 get_lisp_indent(). Esp. \( and \) should be skipped. (Dorai Sitaram, 235 get_lisp_indent(). Esp. \( and \) should be skipped. (Dorai Sitaram,
249 incomplete patch Mar 18) 236 incomplete patch Mar 18)
237
238
250 - Change ga_room into ga_maxlen, so that it doesn't need to be 239 - Change ga_room into ga_maxlen, so that it doesn't need to be
251 incremented/decremented each time. 240 incremented/decremented each time.
241 - For string variables, use length instead of NUL termination.
252 - new DATA TYPES: lists, dictionaries and function references. 242 - new DATA TYPES: lists, dictionaries and function references.
253 Check old patch from Robert Webb for array support. 243 Check old patch from Robert Webb for array support.
254 Add type checking? See ~/vim/ideas.txt. 244 Add type checking? See ~/vim/ideas.txt.
255 - Add SPELLCHECKER, with easy to add support for many languages. 245 - Add SPELLCHECKER, with easy to add support for many languages.
256 8 Add spell checking. Use "ispell -a" somehow. 246 8 Add spell checking. Use "ispell -a" somehow.
309 - Add a few more things to 'diffopt': "horizontal", "vertical", 299 - Add a few more things to 'diffopt': "horizontal", "vertical",
310 "foldcolumn". (Benji Fisher, 2004 Jun 21) 300 "foldcolumn". (Benji Fisher, 2004 Jun 21)
311 - FileChangedShellPost autocommand event: after (not) reloading a changed 301 - FileChangedShellPost autocommand event: after (not) reloading a changed
312 file. Can be used to update statusline oslt. 302 file. Can be used to update statusline oslt.
313 - Displaying size of Visual area: use 24-33 column display. 303 - Displaying size of Visual area: use 24-33 column display.
304 - Mac: Unicode input and display (Eckehard Berns, June 27)
314 305
315 306
316 Vi incompatibility: 307 Vi incompatibility:
317 8 With undo/redo only marks in the changed lines should be changed. Other 308 8 With undo/redo only marks in the changed lines should be changed. Other
318 marks should be kept. Vi keeps each mark at the same text, even when it 309 marks should be kept. Vi keeps each mark at the same text, even when it
1575 8 This pattern in syntax/java.vim causes a recursive call of regmatch(): 1566 8 This pattern in syntax/java.vim causes a recursive call of regmatch():
1576 syn match javaStringError +"\([^"\\]\|\\.\)*$+ 1567 syn match javaStringError +"\([^"\\]\|\\.\)*$+
1577 A long line with a " in it can cause a crash when it runs out of stack 1568 A long line with a " in it can cause a crash when it runs out of stack
1578 space (on systems where this isn't caught). How can we catch this for 1569 space (on systems where this isn't caught). How can we catch this for
1579 more systems? 1570 more systems?
1571 6 Add file locking. Lock a file when starting to edit it with flock() or
1572 fcntl(). This patch has advisory file locking while reading/writing
1573 the file for Vim 5.4: ~/vim/patches/kahn_file_locking .
1574 The patch is incomplete (needs support for more systems, autoconf).
1575 Andy doesn't have time to work on it.
1576 Disadvantage: Need to find ways to gracefully handle failure to obtain a
1577 lock. When to release a lock: When buffer is unloaded?
1580 1578
1581 1579
1582 Performance: 1580 Performance:
1583 8 Loading plugins takes startup time. Only load the part that is used to 1581 8 Loading plugins takes startup time. Only load the part that is used to
1584 trigger the rest, and load the rest when it's needed? 1582 trigger the rest, and load the rest when it's needed?
2014 NormalEnter - Entering Normal mode 2012 NormalEnter - Entering Normal mode
2015 InsertEnter - Entering Insert mode 2013 InsertEnter - Entering Insert mode
2016 ReplaceEnter - Entering Replace mode 2014 ReplaceEnter - Entering Replace mode
2017 CmdEnter - Entering Cmdline mode 2015 CmdEnter - Entering Cmdline mode
2018 VisualEnter - Entering Visual mode 2016 VisualEnter - Entering Visual mode
2017 *Leave - Leaving a mode (in pair with the above *Enter)
2019 CmdUndefined - Like FuncUndefined but for user commands. 2018 CmdUndefined - Like FuncUndefined but for user commands.
2020 *Leave - Leaving the mode
2021 SearchPost - After doing a search command (e.g. to do "M") 2019 SearchPost - After doing a search command (e.g. to do "M")
2022 PreDirChanged/PostDirChanged 2020 PreDirChanged/PostDirChanged
2023 - Before/after ":cd" has been used (for changing the 2021 - Before/after ":cd" has been used (for changing the
2024 window title) 2022 window title)
2025 BufReadAction - replaces reading a file 2023 BufReadAction - replaces reading a file