comparison runtime/doc/todo.txt @ 24:8ff7fd162d3c v7.0016

updated for version 7.0016
author vimboss
date Mon, 13 Sep 2004 20:26:32 +0000
parents 3f44e9abe4ec
children 404aac550f35
comparison
equal deleted inserted replaced
23:3f44e9abe4ec 24:8ff7fd162d3c
1 *todo.txt* For Vim version 7.0aa. Last change: 2004 Sep 06 1 *todo.txt* For Vim version 7.0aa. Last change: 2004 Sep 13
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 Endless loop when "syntax reset" in ~/.vim/after/syntax/syncolor.vim.
34 Crash when using ":set background=dark". Solved!
35 Limit init_highlight() to five recursive calls?
36 patch for Vim 6.3 for free_oldval and init_highlight()?
37
38 Crash with long line. (Walter Briscoe, Sep 13)
39
40 Add fix for appending BOM to 6.3? Reported by Alex Jakushev.
41
42 Win32 console doesn't compile. Does GetCommandLineW() work for non-GUI?
43 (Dave Roberts) If yes, then move the functions to another file.
44 link with kernel32.lib?
45
33 Aborting at the ATTENTION prompt causes trouble: 46 Aborting at the ATTENTION prompt causes trouble:
34 buffer remains active, nwindows isn't closed (fixed in buffer.c) 47 buffer remains active, nwindows isn't closed (fixed in buffer.c)
35 alternate buffer gets "read error" flag. 48 alternate buffer gets "read error" flag.
36 ":sbuf" and ":ball" leave an empty window behind. 49 ":sbuf" and ":ball" leave an empty window behind.
37 Change in handle_swap_exists() also in 6.3? 50 Change in handle_swap_exists() also in 6.3?
51 Add enter_cleanup() and leave_cleanup() also in 6.3?
52 buffer.c
53 ex_eval.c
54 proto/ex_eval.pro
55 structs.h
56 vim.h
38 57
39 Win32: When the path to a file has Russian characters, ":cd %:p:h" doesn't 58 Win32: When the path to a file has Russian characters, ":cd %:p:h" doesn't
40 work. (Valery Kondakoff) 59 work. (Valery Kondakoff)
41 Solved in os_mswin.c. Add to 6.3? 60 Solved in os_mswin.c. Add to 6.3?
42 61
62 Valencia: executable("xxd.exe") returns true while "!xxd" doesn't work.
63
43 For version 7.0: 64 For version 7.0:
65
44 - Include many PATCHES: 66 - Include many PATCHES:
45 8 Add functions:
46 setbufline() set line in any buffer (patch from Yegappan
47 Lakshmanan, 2003 Jan 21)
48 filter() Patch from Yegappan Lakshmanan, 2004 Jul 11
49 8 Make it possible to delete marks. Charles Campbell has a patch that
50 does this with the markclear() function (2004 Jan 9).
51 And the ":delmark" command (2004 Feb 9)
52 http://mysite.verizon.net/astronaut/vim/index.html#Patch
53 ~/tmp/ptch.delmark.bz2
54 ~/tmp/ptch.markclear
55 Implement setmark(markname, lnum [, col [, filename]]) instead?
56 When "lnum" is zero delete the mark.
57 When "filename" has no wildcards and there is no matching buffer, add
58 the buffer (unlisted).
59 Patch for \xnn (Ciaran McCreesh) 2004 Jul 10
60 http://dev.gentoo.org/~ciaranm/patches/vim/vim-7.00a-regexp-numbered-characters-r5.patch
61 7 Add 'taglistfiles' option, show file name and type when listing matching 67 7 Add 'taglistfiles' option, show file name and type when listing matching
62 tags name with CTRL-D completion. Patch from Yegappan Lakshmanan. 68 tags name with CTRL-D completion. Patch from Yegappan Lakshmanan.
63 2004 Jul 11 69 2004 Jul 11
64 7 For Visual mode: Command to do a search for the string in the marked 70 7 For Visual mode: Command to do a search for the string in the marked
65 area. Only when fewer than two lines. Use "g/" and "gb". Patch from 71 area. Only when fewer than two lines. Use "g/" and "gb". Patch from
92 He will update the patch for 6.3. 98 He will update the patch for 6.3.
93 Autocommands: 99 Autocommands:
94 7 Completion of network shares, patch by Yasuhiro Matsumoto. 100 7 Completion of network shares, patch by Yasuhiro Matsumoto.
95 Update 2004 Sep 6. 101 Update 2004 Sep 6.
96 How does this work? Missing comments. 102 How does this work? Missing comments.
97 gettext() Translate a message. (Patch from Yasuhiro Matsumoto) 103 gettext() Translate a message. (Patch from Yasuhiro Matsumoto)
98 Update 2004 Sep 5 104 Update 2004 Sep 10
99 Missing docs. Search in 'runtimepath'? 105 More docs. Search in 'runtimepath'?
100 How to get the messages into the .po files? 106 How to get the messages into the .po files?
101 --- did not respond (yet) -- 107 --- did not respond (yet) --
102 7 Make "5dd" on last-but-one-line not delete anything (Vi compatible). 108 7 Make "5dd" on last-but-one-line not delete anything (Vi compatible).
103 Add flag in 'cpoptions' for this. When not present, "2dd" in the last 109 Add flag in 'cpoptions' for this. When not present, "2dd" in the last
104 line should delete the last line. Patch from greenx 2002 Apr 11. 110 line should delete the last line. Patch from greenx 2002 Apr 11.
196 like commands. 202 like commands.
197 - "INTELLISENSE". First cleanup the Insert-mode completion. 203 - "INTELLISENSE". First cleanup the Insert-mode completion.
198 http://www.vim.org/scripts/script.php?script_id=747 204 http://www.vim.org/scripts/script.php?script_id=747
199 http://sourceforge.net/projects/insenvim 205 http://sourceforge.net/projects/insenvim
200 http://cedet.sourceforge.net/intellisense.shtml (for Emacs) 206 http://cedet.sourceforge.net/intellisense.shtml (for Emacs)
207 Ivan Villanueva has something for Java.
201 - PERSISTENT UNDO: store undo in a file. 208 - PERSISTENT UNDO: store undo in a file.
202 Support multiple threads. Show the list of changes in a window to be able 209 Support multiple threads. Show the list of changes in a window to be able
203 to select a version. 210 to select a version.
204 7 SWAP FILE CHANGE: When a dos format file was edited with ":e ++ff=unix", 211 7 SWAP FILE CHANGE: When a dos format file was edited with ":e ++ff=unix",
205 Vim is killed and trying to recover the file, 'ff' will be dos. Same for 212 Vim is killed and trying to recover the file, 'ff' will be dos. Same for
260 267
261 Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug 268 Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug
262 2004). Should also work for 'filetype'. 269 2004). Should also work for 'filetype'.
263 270
264 Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav 271 Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav
265 Smilauer, 2004 Sep 5) 272 Smilauer, 2004 Sep 13)
273
274 Win32: In 'fileencodings' allow using "acp" for the active codepage. Useful
275 value: "ucs-bom,utf-8,acp,latin1"
276
277 For manipulating buffers without opening a new window, support Virtual
278 windows. Example:
279 :virtwin let l = GetBufLine(4, 10)
280 :fun GetBufLine(bufnr, lnum)
281 : exe "buffer " . a:bufnr
282 : return getline(lnum)
283 :endfun
284 The getline() and setline() functions could work for other buffers, using a
285 Virtual window.
286 A Virtual window only exists for one command. There can be several (for
287 nested commands). The window works as if it comes after the last window, size
288 is the Vim window size, but it's never displayed.
289
290 Win32: In the generated batch files, use $VIMRUNTIME if it's set. Examples by
291 Mathias Michaelis (2004 Sep 6)
292 Also place vimtutor.bat in %windir%?
266 293
267 294
268 Vi incompatibility: 295 Vi incompatibility:
269 9 In Ex mode, "u" undoes all changes, not just the last one. (John Cowan) 296 9 In Ex mode, "u" undoes all changes, not just the last one. (John Cowan)
270 8 In Ex mode, an empty file doesn't have a first line, "1p" should fail. 297 8 In Ex mode, an empty file doesn't have a first line, "1p" should fail.
852 - Need to handle unprintable characters. 879 - Need to handle unprintable characters.
853 - Win32: On a B&W printer syntax highlighting isn't visible. Perform 880 - Win32: On a B&W printer syntax highlighting isn't visible. Perform
854 dithering to make grey text? 881 dithering to make grey text?
855 - Add a flag in 'printoptions' to add an empty page to make the total 882 - Add a flag in 'printoptions' to add an empty page to make the total
856 number even. "addempty"? (Mike Williams) 883 number even. "addempty"? (Mike Williams)
884 - Respect 'linebreak'. Perhaps also 'showbreak'?
857 - Should interpreted CTRL-L as a page break. 885 - Should interpreted CTRL-L as a page break.
858 - Grey line numbers are not always readable. Add field in 'printoptions'. 886 - Grey line numbers are not always readable. Add field in 'printoptions'.
859 Default to black when no syntax highlighting. 887 Default to black when no syntax highlighting.
860 - Be able to print a window in diff mode. 888 - Be able to print a window in diff mode.
861 - Be able to specify a colorscheme to use for printing. And a separate 889 - Be able to specify a colorscheme to use for printing. And a separate
1455 nested packages? 1483 nested packages?
1456 Alternative: Support packages. {package-name}:{function-name}(). 1484 Alternative: Support packages. {package-name}:{function-name}().
1457 Packages are loaded automatically when first used, from 1485 Packages are loaded automatically when first used, from
1458 $VIMRUNTIME/packages (or use a search path). 1486 $VIMRUNTIME/packages (or use a search path).
1459 7 Make globpath() also work with "**" and upwards search. (Brian Medley) 1487 7 Make globpath() also work with "**" and upwards search. (Brian Medley)
1488 7 Add the markclear() function to delete a mark in another buffer. Charles
1489 Campbell (2004 Jan 9)
1490 http://mysite.verizon.net/astronaut/vim/index.html#Patch
1491 Implement setmark(markname, lnum [, col [, filename]]) instead?
1492 When "lnum" is zero delete the mark.
1493 When "filename" has no wildcards and there is no matching buffer, add
1494 the buffer (unlisted).
1460 7 Pre-parse or compile Vim scripts into a bytecode. 1495 7 Pre-parse or compile Vim scripts into a bytecode.
1461 1. Put the bytecode with the original script, with an ":if 1496 1. Put the bytecode with the original script, with an ":if
1462 has('bytecode')" around it, so that it's only used with a Vim that 1497 has('bytecode')" around it, so that it's only used with a Vim that
1463 supports it. Update the code with a command, can be used in an 1498 supports it. Update the code with a command, can be used in an
1464 autocommand. 1499 autocommand.
2554 8 A pattern like "\([^a]\+\)\+" takes an awful long time. Recognize that 2589 8 A pattern like "\([^a]\+\)\+" takes an awful long time. Recognize that
2555 the recursive "\+" is meaningless and optimize for it. 2590 the recursive "\+" is meaningless and optimize for it.
2556 This one is also very slow on "/* some comment */": "^\/\*\(.*[^/]\)*$". 2591 This one is also very slow on "/* some comment */": "^\/\*\(.*[^/]\)*$".
2557 7 Recognize "[a-z]", "[0-9]", etc. and replace them with the faster "\l" and 2592 7 Recognize "[a-z]", "[0-9]", etc. and replace them with the faster "\l" and
2558 "\d". 2593 "\d".
2559 7 Add a way to specify characters as hex, octal or <C-M> form. Could be 2594 7 Add a way to specify characters in <C-M> or <Key> form. Could be
2560 \%1ax, \%200o and \%<C-M>. Also \%1234u for multi-byte chars. 2595 \%<C-M>.
2561 8 Flags that apply to the whole pattern. 2596 8 Flags that apply to the whole pattern.
2562 This works for all places where a regexp is used. 2597 This works for all places where a regexp is used.
2563 Add "\q" to not store this pattern as the last search pattern? 2598 Add "\q" to not store this pattern as the last search pattern?
2564 8 Add an argument after ":s/pat/str/" for a range of matches. For example, 2599 8 Add an argument after ":s/pat/str/" for a range of matches. For example,
2565 ":s/pat/str/#3-4" to replace only the third and fourth "pat" in a line. 2600 ":s/pat/str/#3-4" to replace only the third and fourth "pat" in a line.
2610 e.g. "/pat/f". Then "n" and "N" work through files too. "f" flag also for 2645 e.g. "/pat/f". Then "n" and "N" work through files too. "f" flag also for
2611 ":s/pat/foo/f"??? Then when 'autowrite' and 'hidden' are both not set, ask 2646 ":s/pat/foo/f"??? Then when 'autowrite' and 'hidden' are both not set, ask
2612 before saving files: "Save modified buffer "/path/file"? (Yes/Hide/No 2647 before saving files: "Save modified buffer "/path/file"? (Yes/Hide/No
2613 Save-all/hide-All/Quit) ". 2648 Save-all/hide-All/Quit) ".
2614 - ":s/pat/foo/3": find 3rd match of "pat", like sed. (Thomas Koehler) 2649 - ":s/pat/foo/3": find 3rd match of "pat", like sed. (Thomas Koehler)
2615 - Special characters in patterns:
2616 Inside []:
2617 \012 octal character
2618 \0x1a hex character
2619 \0<BS> \0<Esc>: special character
2620 7 When searching with 'n' give message when getting back where the search 2650 7 When searching with 'n' give message when getting back where the search
2621 first started. Remember start of search in '/ mark. 2651 first started. Remember start of search in '/ mark.
2622 7 Add option that scrolls screen to put cursor in middle of screen after 2652 7 Add option that scrolls screen to put cursor in middle of screen after
2623 search always/when off-screen/never. And after a ":tag" command. Maybe 2653 search always/when off-screen/never. And after a ":tag" command. Maybe
2624 specify how many lines below the screen causes a redraw with the cursor in 2654 specify how many lines below the screen causes a redraw with the cursor in