Mercurial > vim
comparison runtime/doc/todo.txt @ 19404:7be3663e2f2b
Update runtime files.
Commit: https://github.com/vim/vim/commit/ebdf3c964a901fc00c9009689f7cfda478342c51
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 15 21:41:42 2020 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Feb 2020 21:45:05 +0100 |
parents | 51bc26d4a393 |
children | a7a24d06d7ce |
comparison
equal
deleted
inserted
replaced
19403:b37055372a73 | 19404:7be3663e2f2b |
---|---|
1 *todo.txt* For Vim version 8.2. Last change: 2020 Feb 04 | 1 *todo.txt* For Vim version 8.2. Last change: 2020 Feb 15 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
38 *known-bugs* | 38 *known-bugs* |
39 -------------------- Known bugs and current work ----------------------- | 39 -------------------- Known bugs and current work ----------------------- |
40 | 40 |
41 Include ipv6 syntax changes? (DJ Lucas, #5360) | 41 Include ipv6 syntax changes? (DJ Lucas, #5360) |
42 | 42 |
43 Add win_type(), which "popup" and "cmdline" as values? | 43 Avoid modifyOtherKeys temporarily: |
44 call modify_other_keys(v:false) " disable modifyOtherKeys | |
45 Should fix #5617. | |
44 | 46 |
45 Vim9 script: | 47 Vim9 script: |
46 - test s:var += 'some' | 48 - "echo Func()" is an error if Func() does not return anything. |
47 test exported += 'some' | |
48 - implement default values for optional arguments | |
49 Generate instructions at start of function, skip over if argument provided? | |
50 - Disallow unlet for local/script/imported vars | 49 - Disallow unlet for local/script/imported vars |
51 - :func inside vim9script must still use a:arg | 50 - :func inside vim9script must still use a:arg |
51 - Make "++nr" work. | |
52 - Check that import in legacy script works and puts item in s: | 52 - Check that import in legacy script works and puts item in s: |
53 - Error in any command in "vim9script" aborts sourcing. | 53 - Error in any command in "vim9script" aborts sourcing. |
54 - Find a way to test expressions in legacy and Vim9 script without duplication | 54 - Find a way to test expressions in legacy and Vim9 script without duplication |
55 - Test each level of expressions properly, with type checking | 55 - Test each level of expressions properly, with type checking |
56 - Test the | 56 - Test the |
57 - Test try/catch and throw better, also nested. | 57 - Test try/catch and throw better, also nested. |
58 Test return inside try/finally jumps to finally and then returns. | 58 Test return inside try/finally jumps to finally and then returns. |
59 - call autoload function. | 59 - call autoload function. |
60 - Type checking arguments when calling :def function | 60 - Type checking arguments when calling :def function |
61 - Implement more expressions, e.g. [a:b] | |
61 - can use func as reference: | 62 - can use func as reference: |
62 def SomeFunc() ... | 63 def SomeFunc() ... |
63 map(list, SomeFunc) | 64 map(list, SomeFunc) |
64 - define function and create funcref in one step: | 65 - define function and create funcref in one step: |
65 let ref = def(arg: type): rettype | 66 let ref = def(arg: type): rettype |
162 | 163 |
163 Patch to move duplicated code to a function. (Yegappan Lakshmanan, #5330) | 164 Patch to move duplicated code to a function. (Yegappan Lakshmanan, #5330) |
164 | 165 |
165 Patch to use more FOR_ALL_ macros and use them. (Yegappan Lakshmanan, #5339) | 166 Patch to use more FOR_ALL_ macros and use them. (Yegappan Lakshmanan, #5339) |
166 | 167 |
168 Patch to explain use of "%" in :!. (#5591) | |
169 | |
170 Patch to add "-d" to xxd. (#5616) | |
171 | |
167 Running test_gui and test_gui_init with Motif sometimes kills the window | 172 Running test_gui and test_gui_init with Motif sometimes kills the window |
168 manager. Problem with Motif? Now test_gui crashes in submenu_change(). | 173 manager. Problem with Motif? Now test_gui crashes in submenu_change(). |
169 Athena is OK. | 174 Athena is OK. |
170 Motif: Build on Ubuntu can't enter any text in dialog text fields. | 175 Motif: Build on Ubuntu can't enter any text in dialog text fields. |
171 | 176 |
173 Flag in 'formatoptions' is not used in the tests. | 178 Flag in 'formatoptions' is not used in the tests. |
174 | 179 |
175 Patch to add 'vtp' option. (#5344) | 180 Patch to add 'vtp' option. (#5344) |
176 Needs better docs. Is there a better name? | 181 Needs better docs. Is there a better name? |
177 | 182 |
183 Patch for Haiku support. (Emir Sarı, #5605) | |
184 | |
178 undo result wrong: Masato Nishihata, #4798 | 185 undo result wrong: Masato Nishihata, #4798 |
179 | 186 |
180 When 'lazyredraw' is set sometimes the title is not updated. | 187 When 'lazyredraw' is set sometimes the title is not updated. |
181 (Jason Franklin, 2020 Feb 3) Looks like a race condition. | 188 (Jason Franklin, 2020 Feb 3) Looks like a race condition. |
182 | 189 |
184 (Yegappan, #5465) | 191 (Yegappan, #5465) |
185 | 192 |
186 Patch for Template string: #4491. New pull: #4634 | 193 Patch for Template string: #4491. New pull: #4634 |
187 Implementation is too inefficient, avoid using lambda. | 194 Implementation is too inefficient, avoid using lambda. |
188 | 195 |
196 Patch to add readdirex() (Ken Takata, #5619) | |
197 | |
198 Request to support <Cmd> in mappings, similar to how Neovim does this. | |
199 (Daniel Hahler, #4784) | |
200 | |
189 Undo puts cursor in wrong line after "cG<Esc>" undo. | 201 Undo puts cursor in wrong line after "cG<Esc>" undo. |
190 | 202 |
191 :unmap <c-n> gives error but does remove the mapping. (Antony Scriven, 2019 | 203 :unmap <c-n> gives error but does remove the mapping. (Antony Scriven, 2019 |
192 Dec 19) | 204 Dec 19) |
205 | |
206 Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone | |
207 makes his own wrapper). Add a magic string with the version number to the | |
208 .bat file and check for it in the uninstaller. E.g. | |
209 # uninstall key: vim8.1* | |
193 | 210 |
194 Patch to fix session file when using multiple tab pages. (Jason Franklin, 2019 | 211 Patch to fix session file when using multiple tab pages. (Jason Franklin, 2019 |
195 May 20) | 212 May 20) |
196 Also put :argadd commands at the start for all buffers, so that their order | 213 Also put :argadd commands at the start for all buffers, so that their order |
197 remains equal? Then %argdel to clean it up. Do try this with 'hidden' set. | 214 remains equal? Then %argdel to clean it up. Do try this with 'hidden' set. |
214 ex_next() should pass flag to do_argfile(), then to do_ecmd(). | 231 ex_next() should pass flag to do_argfile(), then to do_ecmd(). |
215 | 232 |
216 Adding "10" to 'spellsuggest' causes spell suggestions to become very slow. | 233 Adding "10" to 'spellsuggest' causes spell suggestions to become very slow. |
217 (#4087) | 234 (#4087) |
218 | 235 |
236 FR: add search_status(), the current values displayed for search (current | |
237 match, total matches). (#5631) | |
238 Patch to provide search stats in a variable, so that it can be used in the | |
239 statusline. (Fujiwara Takuya, #4446) | |
240 | |
219 ":helptags ALL" should skip directories where "tags" cannot be written. | 241 ":helptags ALL" should skip directories where "tags" cannot be written. |
220 (Matěj Cepl, #5026) | 242 (Matěj Cepl, #5026) |
221 | 243 |
222 ":bnext" in a help buffer is supposed to go to the next help buffer, but it | 244 ":bnext" in a help buffer is supposed to go to the next help buffer, but it |
223 goes to any buffer, and then :bnext skips help buffers, since they are | 245 goes to any buffer, and then :bnext skips help buffers, since they are |
224 unlisted. (#4478) | 246 unlisted. (#4478) |
225 | 247 |
226 Patch to include reduce() function. (#5481) | 248 Patch to include reduce() function. (#5481) |
227 | 249 |
228 Patch to provide search stats in a variable, so that it can be used in the | 250 Statusline highlighting error, off by one. (#5599) |
229 statusline. (Fujiwara Takuya, #4446) | |
230 | 251 |
231 Enable 'termbidi' if $VTE_VERSION >= 5703 ? | 252 Enable 'termbidi' if $VTE_VERSION >= 5703 ? |
232 | 253 |
233 Universal solution to detect if t_RS is working, using cursor position. | 254 Universal solution to detect if t_RS is working, using cursor position. |
234 Koichi Iwamoto, #2126 | 255 Koichi Iwamoto, #2126 |
1107 Make a function to check for function-like type? | 1128 Make a function to check for function-like type? |
1108 | 1129 |
1109 Screen updated delayed when using CTRL-O u in Insert mode. | 1130 Screen updated delayed when using CTRL-O u in Insert mode. |
1110 (Barlik, #1191) Perhaps because status message? | 1131 (Barlik, #1191) Perhaps because status message? |
1111 | 1132 |
1112 Implement optional arguments for functions. | 1133 Implement named arguments for functions: |
1113 func Foo(start, count = 1 all = 1) | 1134 func Foo(start, count = 1 all = 1) |
1114 call Foo(12) | |
1115 call Foo(12, all = 0) | 1135 call Foo(12, all = 0) |
1116 call Foo(12, 15, 0) | |
1117 | 1136 |
1118 Add a command to take a range of lines, filter them and put the output | 1137 Add a command to take a range of lines, filter them and put the output |
1119 somewhere else. :{range}copy {dest} !cmd | 1138 somewhere else. :{range}copy {dest} !cmd |
1120 | 1139 |
1121 Patch to fix that empty first tab is not in session. | 1140 Patch to fix that empty first tab is not in session. |
2755 argument list or opening each file in a separate tab. | 2774 argument list or opening each file in a separate tab. |
2756 (Erik Falor, 2008 May 21, 2008 Jun 26) | 2775 (Erik Falor, 2008 May 21, 2008 Jun 26) |
2757 | 2776 |
2758 Windows installer: licence text should not use indent, causes bad word wrap. | 2777 Windows installer: licence text should not use indent, causes bad word wrap. |
2759 (Benjamin Fritz, 2010 Aug 16) | 2778 (Benjamin Fritz, 2010 Aug 16) |
2760 | |
2761 Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone | |
2762 makes his own wrapper). Add a magic string with the version number to the | |
2763 .bat file and check for it in the uninstaller. E.g. | |
2764 # uninstall key: vim8.1* | |
2765 | 2779 |
2766 Changes for Win32 makefile. (Mike Williams, 2007 Jan 22, Alexei Alexandrov, | 2780 Changes for Win32 makefile. (Mike Williams, 2007 Jan 22, Alexei Alexandrov, |
2767 2007 Feb 8) | 2781 2007 Feb 8) |
2768 | 2782 |
2769 Win32: Can't complete shell command names. Why is setting xp_context in | 2783 Win32: Can't complete shell command names. Why is setting xp_context in |
4489 8 argc() returns 0 when using "vim -t tag". How to detect that no file was | 4503 8 argc() returns 0 when using "vim -t tag". How to detect that no file was |
4490 specified in any way? To be able to jump to the last edited file. | 4504 specified in any way? To be able to jump to the last edited file. |
4491 8 Pass the command line arguments to Vim scripts in some way. As v:args | 4505 8 Pass the command line arguments to Vim scripts in some way. As v:args |
4492 List? Or extra parameter to argv()? | 4506 List? Or extra parameter to argv()? |
4493 8 Add command arguments with three dashes, passed on to Vim scripts. | 4507 8 Add command arguments with three dashes, passed on to Vim scripts. |
4494 9 Add optional arguments to user functions: | |
4495 :func myFunc(arg1, arg2, arg3 = "blah", arg4 = 17) | |
4496 6 User functions: Functions local to buffer "b:func()"? | 4508 6 User functions: Functions local to buffer "b:func()"? |
4497 8 For Strings add ":let var[{expr}] = {expr}". When past the end of "var" | 4509 8 For Strings add ":let var[{expr}] = {expr}". When past the end of "var" |
4498 just ignore. | 4510 just ignore. |
4499 8 The "= register should be writable, if followed by the name of a variable, | 4511 8 The "= register should be writable, if followed by the name of a variable, |
4500 option or environment variable. | 4512 option or environment variable. |