comparison runtime/doc/todo.txt @ 22171:d4c7b3e9cd17

Update runtime files. Commit: https://github.com/vim/vim/commit/1c6737b20a5cf71751b180461cea22fc76d8870c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 7 22:18:52 2020 +0200 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Mon, 07 Sep 2020 22:30:04 +0200
parents bbca88cd13d5
children 75ff30a78189
comparison
equal deleted inserted replaced
22170:ac11f9fee87a 22171:d4c7b3e9cd17
1 *todo.txt* For Vim version 8.2. Last change: 2020 Aug 29 1 *todo.txt* For Vim version 8.2. Last change: 2020 Sep 07
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
39 -------------------- Known bugs and current work ----------------------- 39 -------------------- Known bugs and current work -----------------------
40 40
41 Why does Test_invalid_sid() not work in the GUI? 41 Why does Test_invalid_sid() not work in the GUI?
42 42
43 Making everything work: 43 Making everything work:
44 - Check :const works the same as in legacy script. 44 - Should :const work the same as in legacy script?
45 Or should it work like in Typescript: only the variable is fixed, not the
46 value itself.
47 Then use ":const!" to also fix/lock the value?
48 Typescript uses "as const", which is weird.
49 Alternative: const var = <const>value
50 looks quite strange quite verbose
51 But can be used in several places:
52 SomeFunc(<const>[1, 2, 3])
53 In Vim this basically means "lock this value".
54 How about:
55 SomeFunc(<const>[[1], [2], [3]]) # are sub-lists immutable?
56 SomeFunc(<const>myList) # is myList mutable afterwards?
57
45 - Run the same tests in :def and Vim9 script, like in Test_expr7_not() 58 - Run the same tests in :def and Vim9 script, like in Test_expr7_not()
46 - :put with a "=" register argument doesn't work, need to find the expression 59 - :put with a "=" register argument doesn't work, need to find the expression
47 and compile it. (#6397) 60 and compile it. (#6397)
48 - At the Vim9 script level, keep script variables local to the block they are 61 - At the Vim9 script level, keep script variables local to the block they are
49 declared in? Need to remember what variables were declared and delete them 62 declared in, like in Javascript (using :let).
50 when leaving the block. 63 -> Need to remember what variables were declared and delete them when
51 - Implement { } block at the script level. 64 leaving the block.
52 - Use the line number argument with assert_fails() in many more tests. 65 -> if a function is defined it may need to keep the block-locals
66 Then Implement { } block at the script level.
67 - Recognize call to assert_fails() and execute it in the function context?
68 Won't work if the command itself fails, not an expression failure:
69 assert_fails("unknown", "E99:")
70 Use try/catch is complicated:
71 let did_catch = false
72 try
73 unknown
74 catch
75 assert_caught('E99:')
76 did_catch = true
77 endtry
78 assert_true('did_catch')
79 Add a new command,
80 assertfail
81 unknown
82 endassertfail E99:.*unknown
53 - In autocmd: use legacy syntax, not whatever the current script uses? 83 - In autocmd: use legacy syntax, not whatever the current script uses?
54 - need to check type when a declaration specifies a type: #6507 84 - need to check type when a declaration specifies a type: #6507
55 let nr: number = 'asdf' 85 let nr: number = 'asdf'
56 - Make sure that in vim9script a function call without namespace only finds 86 - Make sure that in vim9script a function call without namespace only finds
57 the script-local function, not a global one. 87 the script-local function, not a global one.
179 209
180 Text properties: 210 Text properties:
181 - :goto does not go to the right place when text properties are present. 211 - :goto does not go to the right place when text properties are present.
182 (#5930) 212 (#5930)
183 - "cc" does not call inserted_bytes(). (Axel Forsman, #5763) 213 - "cc" does not call inserted_bytes(). (Axel Forsman, #5763)
184 - Get E685 with a sequence of commands. (#5674)
185 - Combining text property with 'cursorline' does not always work (Billie 214 - Combining text property with 'cursorline' does not always work (Billie
186 Cleek, #5533) 215 Cleek, #5533)
187 - Text properties spanning more than one line. #5683
188 - See remarks at top of src/textprop.c 216 - See remarks at top of src/textprop.c
189 217
190 'incsearch' with :s: 218 'incsearch' with :s:
191 - :s/foo using CTRL-G moves to another line, should not happen, or use the 219 - :s/foo using CTRL-G moves to another line, should not happen, or use the
192 correct line (it uses the last but one line) (Lifepillar, Aug 18, #3345) 220 correct line (it uses the last but one line) (Lifepillar, Aug 18, #3345)
261 - When 'encoding' is not utf-8, or the job is using another encoding, setup 289 - When 'encoding' is not utf-8, or the job is using another encoding, setup
262 conversions. 290 conversions.
263 291
264 Error numbers available: E653 292 Error numbers available: E653
265 293
266 Remove "MacOS X installation"? $APPDIR is no longer set. 294 Patch to implement the vimtutor with a plugin: #6414
295 Was originally writtten by Felipe Morales.
267 296
268 Remove SPACE_IN_FILENAME ? It is only used for completion. 297 Remove SPACE_IN_FILENAME ? It is only used for completion.
269 298
270 Patch to use collation based sorting. (Christian Brabandt, #6229) 299 Patch to use collation based sorting. (Christian Brabandt, #6229)
271 300
370 399
371 When changing the crypt key the buffer should be considered modified. 400 When changing the crypt key the buffer should be considered modified.
372 Like when changing 'fileformat'. Save the old key in save_file_ff(). 401 Like when changing 'fileformat'. Save the old key in save_file_ff().
373 (Ninu-Ciprian Marginean) 402 (Ninu-Ciprian Marginean)
374 403
375 Patch to implement the vimtutor with a plugin: #6414
376 Was originally writtten by Felipe Morales.
377
378 Strange sequence of BufWipeout and BufNew events while doing omni-complete. 404 Strange sequence of BufWipeout and BufNew events while doing omni-complete.
379 (Paul Jolly, #5656) 405 (Paul Jolly, #5656)
380 Get BufDelete without preceding BufNew. (Paul Jolly, #5694) 406 Get BufDelete without preceding BufNew. (Paul Jolly, #5694)
381 Later more requests for what to track. 407 Later more requests for what to track.
382 Should we add new events that don't allow any buffer manipulation? 408 Should we add new events that don't allow any buffer manipulation?
395 Undo puts cursor in wrong line after "cG<Esc>" undo. 421 Undo puts cursor in wrong line after "cG<Esc>" undo.
396 422
397 Implement completion for "breakadd". Should expand the second argument, e.g. 423 Implement completion for "breakadd". Should expand the second argument, e.g.
398 "func", and then function names after ":breakadd func". Including 424 "func", and then function names after ":breakadd func". Including
399 script-local functions. 425 script-local functions.
426 Also for ":profile".
400 427
401 :unmap <c-n> gives error but does remove the mapping. (Antony Scriven, 2019 428 :unmap <c-n> gives error but does remove the mapping. (Antony Scriven, 2019
402 Dec 19) 429 Dec 19)
403 430
404 Patch to add an option to enable/disable VTP. (Nobuhiro Takasaki, #5344) 431 Patch to add an option to enable/disable VTP. (Nobuhiro Takasaki, #5344)
1219 1246
1220 Suggestion to improve pt-br spell checking. (Marcelo D Montu, 2016 Dec 15, 1247 Suggestion to improve pt-br spell checking. (Marcelo D Montu, 2016 Dec 15,
1221 #1330) 1248 #1330)
1222 1249
1223 Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17) 1250 Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17)
1224
1225 Completion for :!cmd shows each match twice. #1435
1226 1251
1227 GTK: When adding a timer from 'balloonexpr' it won't fire, because 1252 GTK: When adding a timer from 'balloonexpr' it won't fire, because
1228 g_main_context_iteration() doesn't return. Need to trigger an event when the 1253 g_main_context_iteration() doesn't return. Need to trigger an event when the
1229 timer expires. 1254 timer expires.
1230 1255
1419 #1350) 1444 #1350)
1420 1445
1421 Undo message is not always properly displayed. Patch by Ken Takata, 2013 oct 1446 Undo message is not always properly displayed. Patch by Ken Takata, 2013 oct
1422 3. Doesn't work properly according to Yukihiro Nakadaira. 1447 3. Doesn't work properly according to Yukihiro Nakadaira.
1423 Also see #1635. 1448 Also see #1635.
1424
1425 When 'keywordprg' starts with ":" the argument is still escaped as a shell
1426 command argument. (Romain Lafourcade, 2016 Oct 16, #1175)
1427 1449
1428 Idea from Sven: record sequence of keys. Useful to show others what they are 1450 Idea from Sven: record sequence of keys. Useful to show others what they are
1429 doing (look over the shoulder), and also to see what happened. 1451 doing (look over the shoulder), and also to see what happened.
1430 Probably list of keystrokes, with some annotations for mode changes. 1452 Probably list of keystrokes, with some annotations for mode changes.
1431 Could store in logfile to be able to analyse it with an external command. 1453 Could store in logfile to be able to analyse it with an external command.