comparison runtime/doc/todo.txt @ 21093:99a602b27e0e

Runtime file updates Commit: https://github.com/vim/vim/commit/e46a4405056276b4cbdacee76b11f85c8ea1830b Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 30 20:38:27 2020 +0200 Runtime file updates
author Bram Moolenaar <Bram@vim.org>
date Tue, 30 Jun 2020 20:45:06 +0200
parents 59f93c2d2551
children 21fb2a3ad3ca
comparison
equal deleted inserted replaced
21092:f49405905ef6 21093:99a602b27e0e
1 *todo.txt* For Vim version 8.2. Last change: 2020 Jun 21 1 *todo.txt* For Vim version 8.2. Last change: 2020 Jun 28
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 src/po/vim.pot ? 41 Include src/po/vim.pot ?
42 42
43 See if resizing a terminal can be fixed.
44
45 Vim9 script: 43 Vim9 script:
44 - line continuation at script level:
45 eval_to_string_skip(), test with :throw
46 eval1_emsg(), pass "eap", test with :execute, :echomsg, :echoerr
47 handle_subscript() - call_func_rettv() - get_func_tv()
48 func(
49 args arg)
50 callers of get_func_tv():
51 eval_func()
52 ex_call()
53 function arguments, test assert_equal() with lambda, test :function
54 :import:
55 others
56 eval_index()
57 - test:
58 [1,
59 2,
60 3]->Func()
61
46 Making everything work: 62 Making everything work:
63 - "nr += 4" gives "already defined" error.
47 - Error for "g:var: string = 'value'" 64 - Error for "g:var: string = 'value'"
48 - Make func()->append('$') work - value is last argument, not first. #6305 65 - Make func()->append('$') work - value is last argument, not first. #6305
66 - in Vim9 script expressions are evaluated differently, not using a type.
67 e.g. "'' == 0" does not give an error and evaluates to true.
49 - possible memory leak in test_vim9_func through compile_nested_function. 68 - possible memory leak in test_vim9_func through compile_nested_function.
50 - memory leaks in test_vim9_expr 69 - memory leaks in test_vim9_expr
51 - memory leaks in test_vim9_script 70 - memory leaks in test_vim9_script
52 - more return types depending on the first argument, like sort(). 71 - more return types depending on the first argument, like sort().
53 - Check that when sourcing a Vim9 script, only the global items can be used. 72 - Check that when sourcing a Vim9 script, only the global items can be used.
132 - inline call to map() and filter() 151 - inline call to map() and filter()
133 - compile "skip" argument of searchpair() 152 - compile "skip" argument of searchpair()
134 - compile "expr" and "call" expression of a channel in channel_exe_cmd()? 153 - compile "expr" and "call" expression of a channel in channel_exe_cmd()?
135 154
136 Popup windows: 155 Popup windows:
137 - With some sequence get get hidden finished terminal buffer. (#5768)
138 Cannot close popup terminal (#5744)
139 Buffer can't be wiped, gets status "aF". (#5764)
140 Is buf->nwindows incorrect?
141 - popup_clear() and popup_close() should close the terminal popup, and
142 make the buffer hidden. #5745
143 - Cursor not updated before a redraw, making it jump. (#5943) 156 - Cursor not updated before a redraw, making it jump. (#5943)
144 - With terminal in popup, allow for popup_hide() to temporarily hide it.? 157 - With terminal in popup, allow for popup_hide() to temporarily hide it.?
145 - Fire some autocommand event after a new popup window was created and 158 - Fire some autocommand event after a new popup window was created and
146 positioned? PopupNew? Could be used to set some options or move it out of 159 positioned? PopupNew? Could be used to set some options or move it out of
147 the way. (#5737) 160 the way. (#5737)
272 The buffer list and windows are locked, no changes possible 285 The buffer list and windows are locked, no changes possible
273 286
274 How about removing Atari MiNT support? 287 How about removing Atari MiNT support?
275 src/Make_mint.mak, src/os_mint.h, matches with __MINT__ 288 src/Make_mint.mak, src/os_mint.h, matches with __MINT__
276 289
290 Add the <=> (spaceship) operator and "cond ?< expr ?= expr ?> expr"
291 replace this:
292 let left = GetLeftFunc()
293 let right = GetRightFunc()
294 let res = left < right ? lower : left == right ? equal : upper
295 by:
296 let res = GetLeftFunc() <=> GetRightFunc() ?< lower ?= equal ?> upper
277 Patch to make :q work with local arglist. (Christian Brabandt, #6286) 297 Patch to make :q work with local arglist. (Christian Brabandt, #6286)
278 298
279 Patch to fix drawing error with DirectX. (James Grant, #5688) 299 Patch to fix drawing error with DirectX. (James Grant, #5688)
280 Causes flicker on resizing. Workaround from Ken Takata. 300 Causes flicker on resizing. Workaround from Ken Takata.
281 How about only setting the attribute when part of the Vim window is offscreen? 301 How about only setting the attribute when part of the Vim window is offscreen?
492 window 2. User expects 10 to be added to size of window 2. (Daniel Steinberg, 512 window 2. User expects 10 to be added to size of window 2. (Daniel Steinberg,
493 #5443) 513 #5443)
494 514
495 Would be nice to set tab-local values for 'diffexpr' and 'diffopt'. Use 515 Would be nice to set tab-local values for 'diffexpr' and 'diffopt'. Use
496 t:diffexpr_option t:diffopt_option? (#4782) 516 t:diffexpr_option t:diffopt_option? (#4782)
497
498 v:register isn't reset early enough, may be used by next command.
499 (Andy Massimino, #5294, possible fix in #5305)
500 517
501 Internal diff doesn't handle binary file like external diff does. (Mike 518 Internal diff doesn't handle binary file like external diff does. (Mike
502 Williams, 2018 Oct 30) 519 Williams, 2018 Oct 30)
503 520
504 '[ mark in wrong column after put. (#4776) 521 '[ mark in wrong column after put. (#4776)
577 in some cases? E.g. for ":write" when the changed flag was already off, the 594 in some cases? E.g. for ":write" when the changed flag was already off, the
578 buffer didn't change at all. 595 buffer didn't change at all.
579 596
580 Line numbers in profile are off when function was defined with ":execute". 597 Line numbers in profile are off when function was defined with ":execute".
581 (Daniel Hahler, #4511) 598 (Daniel Hahler, #4511)
582
583 Add a way to create an empty, hidden buffer. Like doing ":new|hide".
584 ":let buf = bufcreate('name')
585 599
586 Session file contains absolute paths when "curdir" is removed form 600 Session file contains absolute paths when "curdir" is removed form
587 'sessionoptions', making it impossible to have a session with a relative path. 601 'sessionoptions', making it impossible to have a session with a relative path.
588 (#4450) 602 (#4450)
589 603
1197 Make a function to check for function-like type? 1211 Make a function to check for function-like type?
1198 1212
1199 Screen updated delayed when using CTRL-O u in Insert mode. 1213 Screen updated delayed when using CTRL-O u in Insert mode.
1200 (Barlik, #1191) Perhaps because status message? 1214 (Barlik, #1191) Perhaps because status message?
1201 1215
1202 Implement named arguments for functions: 1216 Implement named arguments for functions with optional arguments:
1203 func Foo(start, count = 1 all = 1) 1217 func Foo(start, count = 1, all = 1)
1204 call Foo(12, all = 0) 1218 call Foo(12, all = 0)
1205 1219
1206 Add a command to take a range of lines, filter them and put the output 1220 Add a command to take a range of lines, filter them and put the output
1207 somewhere else. :{range}copy {dest} !cmd 1221 somewhere else. :{range}copy {dest} !cmd
1208 1222
1391 Did maintainer reply? 1405 Did maintainer reply?
1392 1406
1393 ml_get errors when reloading file. (Chris Desjardins, 2016 Apr 19) 1407 ml_get errors when reloading file. (Chris Desjardins, 2016 Apr 19)
1394 Also with latest version. 1408 Also with latest version.
1395 1409
1396 Cannot delete a file with square brackets with delete(). (#696)
1397
1398 Completion for input() does not expand environment variables. (chdiza, 2016 1410 Completion for input() does not expand environment variables. (chdiza, 2016
1399 Jul 25, #948) 1411 Jul 25, #948)
1400 1412
1401 Patch to add 'systemencoding', convert between 'encoding' and this for file 1413 Patch to add 'systemencoding', convert between 'encoding' and this for file
1402 names, shell commands and the like. (Kikuchan, 2010 Oct 14) 1414 names, shell commands and the like. (Kikuchan, 2010 Oct 14)
1403 Assume the system converts between the actual encoding of the filesystem to 1415 Assume the system converts between the actual encoding of the filesystem to
1404 the system encoding (usually utf-8). 1416 the system encoding (usually utf-8).
1405 1417
1406 'hlsearch' interferes with a Conceal match. (Rom Grk, 2016 Aug 9)
1407
1408 MS-Windows: use WS_HIDE instead of SW_SHOWMINNOACTIVE in os_win32.c? 1418 MS-Windows: use WS_HIDE instead of SW_SHOWMINNOACTIVE in os_win32.c?
1409 Otherwise task flickers in taskbar. 1419 Otherwise task flickers in taskbar.
1410 1420
1411 Repeating 'opfunc' in a function only works once. (Tarmean, 2016 Jul 15, #925) 1421 Repeating 'opfunc' in a function only works once. (Tarmean, 2016 Jul 15, #925)
1412 1422
1414 #1125 1424 #1125
1415 1425
1416 Second problem in #966: ins_compl_add_tv() uses get_dict_string() multiple 1426 Second problem in #966: ins_compl_add_tv() uses get_dict_string() multiple
1417 times, overwrites the one buffer. (Nikolay Pavlov, 2016 Aug 5) 1427 times, overwrites the one buffer. (Nikolay Pavlov, 2016 Aug 5)
1418 1428
1419 Possibly wrong value for seq_cur. (Florent Fayolle, 2016 May 15, #806)
1420
1421 Filetype plugin for awk. (Doug Kearns, 2016 Sep 5) 1429 Filetype plugin for awk. (Doug Kearns, 2016 Sep 5)
1422 1430
1423 Patch to improve map documentation. Issue #799. 1431 Patch to improve map documentation. Issue #799.
1424 1432
1425 We can use '. to go to the last change in the current buffer, but how about 1433 We can use '. to go to the last change in the current buffer, but how about
1433 It's possible to add ",," to 'wildignore', an empty entry. Causes problems. 1441 It's possible to add ",," to 'wildignore', an empty entry. Causes problems.
1434 Reject the value? #710. 1442 Reject the value? #710.
1435 1443
1436 When doing "vi buf.md" a BufNew autocommand for *.md is not triggered. 1444 When doing "vi buf.md" a BufNew autocommand for *.md is not triggered.
1437 Because of using the initial buffer? (Dun Peal, 2016 May 12) 1445 Because of using the initial buffer? (Dun Peal, 2016 May 12)
1438
1439 Add redrawtabline command. (Naruhiko Nishino, 2016 Jun 11)
1440 1446
1441 Neovim patch for utfc_ptr2char_len() https://github.com/neovim/neovim/pull/4574 1447 Neovim patch for utfc_ptr2char_len() https://github.com/neovim/neovim/pull/4574
1442 No test, needs some work to include. 1448 No test, needs some work to include.
1443 1449
1444 Patch to improve indenting for C++ constructor with initializer list. 1450 Patch to improve indenting for C++ constructor with initializer list.
1505 2016 Apr 25, #780) 1511 2016 Apr 25, #780)
1506 1512
1507 Patch to avoid redrawing tabline when the popup menu is visible. 1513 Patch to avoid redrawing tabline when the popup menu is visible.
1508 (Christian Brabandt, 2016 Jan 28) 1514 (Christian Brabandt, 2016 Jan 28)
1509 1515
1510 Patch to show search statistics. (Christian Brabandt, 2016 Jul 22)
1511
1512 When the CursorMovedI event triggers, and CTRL-X was typed, a script cannot 1516 When the CursorMovedI event triggers, and CTRL-X was typed, a script cannot
1513 restore the mode properly. (Andrew Stewart, 2016 Apr 20) 1517 restore the mode properly. (Andrew Stewart, 2016 Apr 20)
1514 Do not trigger the event? 1518 Do not trigger the event?
1515
1516 Using ":windo" to set options in all windows has the side effect that it
1517 changes the window layout and the current window. Make a variant that saves
1518 and restores. Use in the matchparen plugin.
1519 Perhaps we can use ":windo <restore> {cmd}"?
1520 Patch to add <restore> to :windo, :bufdo, etc. (Christian Brabandt, 2015 Jan
1521 6, 2nd message)
1522 Alternative: ":keeppos" command modifier: ":keeppos windo {cmd}".
1523 1519
1524 Patch to fix display of listchars on the cursorline. (Nayuri Aohime, 2013) 1520 Patch to fix display of listchars on the cursorline. (Nayuri Aohime, 2013)
1525 Update suggested by Yasuhiro Matsumoto, 2014 Nov 25: 1521 Update suggested by Yasuhiro Matsumoto, 2014 Nov 25:
1526 https://gist.github.com/presuku/d3d6b230b9b6dcfc0477 1522 https://gist.github.com/presuku/d3d6b230b9b6dcfc0477
1527 1523
1547 1543
1548 Python: ":py raw_input('prompt')" doesn't work. (Manu Hack) 1544 Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
1549 1545
1550 Comparing nested structures with "==" uses a different comparator than when 1546 Comparing nested structures with "==" uses a different comparator than when
1551 comparing individual items. 1547 comparing individual items.
1552 Also, "'' == 0" evaluates to true, which isn't nice.
1553 Add "===" to have a strict comparison (type and value match).
1554 Add "==*" (?) to have a value match, but no automatic conversion, and v:true
1555 equals 1 and 1.0, v:false equals 0 and 0.0.?
1556 1548
1557 Using uninitialized memory. (Dominique Pelle, 2015 Nov 4) 1549 Using uninitialized memory. (Dominique Pelle, 2015 Nov 4)
1558 1550
1559 MS-Windows: When editing a file with a leading space, writing it uses the 1551 MS-Windows: When editing a file with a leading space, writing it uses the
1560 wrong name. (Aram, 2014 Nov 7) Vim 7.4. 1552 wrong name. (Aram, 2014 Nov 7) Vim 7.4.
1721 Perhaps only the checks that can be done without looping over the dict or 1713 Perhaps only the checks that can be done without looping over the dict or
1722 arguments. 1714 arguments.
1723 1715
1724 Problem with transparent and matchgroup. Issue #475 1716 Problem with transparent and matchgroup. Issue #475
1725 1717
1726 Patch to add :arglocal and :arglists. (Marcin Szamotulski, 2014 Aug 6)
1727
1728 Spell files use a latin single quote. Unicode also has another single quote: 1718 Spell files use a latin single quote. Unicode also has another single quote:
1729 0x2019. (Ron Aaron, 2014 Apr 4) 1719 0x2019. (Ron Aaron, 2014 Apr 4)
1730 New OpenOffice spell files support this with ICONV. But they are not 1720 New OpenOffice spell files support this with ICONV. But they are not
1731 compatible with Vim spell files. The old files can no longer be downloaded. 1721 compatible with Vim spell files. The old files can no longer be downloaded.
1732 1722
1749 from? 1739 from?
1750 1740
1751 Problem with upwards search on Windows (works OK on Linux). (Brett Stahlman, 1741 Problem with upwards search on Windows (works OK on Linux). (Brett Stahlman,
1752 2014 Jun 8) 1742 2014 Jun 8)
1753 1743
1754 Include a plugin manager with Vim? Neobundle seems to be the best currently. 1744 Include a plugin manager with Vim? vim-plug seems to be the best currently:
1745 https://github.com/junegunn/vim-plug.
1755 Also Vundle: https://github.com/gmarik/vundle 1746 Also Vundle: https://github.com/gmarik/vundle
1747 Or minpac: https://github.com/k-takata/minpac, since it leverages the builtin
1748 package feature.
1756 Long message about this from ZyX, 2014 Mar 23. And following replies. 1749 Long message about this from ZyX, 2014 Mar 23. And following replies.
1757 Also see http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html 1750 Also see http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html
1758 User view: 1751 User view:
1759 - Support multiple sources, basically any http:// URL. Or a central place that 1752 - Support multiple sources, basically any http:// URL. Or a central place that
1760 will work for everybody (github? redirects from vim.org?). 1753 will work for everybody (github? redirects from vim.org?).
1805 VMS: Select() doesn't work properly, typing ESC may hang Vim. Use sys$qiow 1798 VMS: Select() doesn't work properly, typing ESC may hang Vim. Use sys$qiow
1806 instead. (Samuel Ferencik, 2013 Sep 28) 1799 instead. (Samuel Ferencik, 2013 Sep 28)
1807 1800
1808 Patch for XDG base directory support. (Jean François Bignolles, 2014 Mar 4) 1801 Patch for XDG base directory support. (Jean François Bignolles, 2014 Mar 4)
1809 Remark on the docs. Should not be a compile time feature. But then what? 1802 Remark on the docs. Should not be a compile time feature. But then what?
1803 Also see #2034.
1810 1804
1811 Completion of ":e" is ":earlier", should be ":edit". Complete to the matching 1805 Completion of ":e" is ":earlier", should be ":edit". Complete to the matching
1812 command instead of doing this alphabetically. (Mikel Jorgensen) 1806 command instead of doing this alphabetically. (Mikel Jorgensen)
1813 1807
1814 Patch to define macros for hardcoded values. (Elias Diem, 2013 Dec 14) 1808 Patch to define macros for hardcoded values. (Elias Diem, 2013 Dec 14)
1866 Patch to add {lhs} to :mapclear: clear all maps starting with {lhs}. 1860 Patch to add {lhs} to :mapclear: clear all maps starting with {lhs}.
1867 (Christian Brabandt, 2013 Dec 9) 1861 (Christian Brabandt, 2013 Dec 9)
1868 1862
1869 Exception caused by argument of return is not caught by try/catch. 1863 Exception caused by argument of return is not caught by try/catch.
1870 (David Barnett, 2013 Nov 19) 1864 (David Barnett, 2013 Nov 19)
1865 Bug in try/catch: return with invalid compare throws error that isn't caught.
1866 (ZyX, 2011 Jan 26)
1867 try/catch not working for argument of return. (Matt Wozniski, 2008 Sep 15)
1868 try/catch not working when inside a for loop. (ZyX, 2011 Jan 25)
1871 1869
1872 Patch to fix that 'cedit' is recognized after :normal. (Christian Brabandt, 1870 Patch to fix that 'cedit' is recognized after :normal. (Christian Brabandt,
1873 2013 Mar 19, later message) 1871 2013 Mar 19, later message)
1874 1872
1875 Patch to view coverage of the tests. (Nazri Ramliy, 2013 Feb 15) 1873 Patch to view coverage of the tests. (Nazri Ramliy, 2013 Feb 15)
1901 In the ATTENTION message about an existing swap file, mention the name of the 1899 In the ATTENTION message about an existing swap file, mention the name of the
1902 process that is running. It might actually be some other program, e.g. after 1900 process that is running. It might actually be some other program, e.g. after
1903 a reboot. 1901 a reboot.
1904 1902
1905 patch to add "combine" flag to syntax commands. (so8res, 2012 Dec 6) 1903 patch to add "combine" flag to syntax commands. (so8res, 2012 Dec 6)
1904 Patch to add "combine" to :syntax, combines highlight attributes. (Nate
1905 Soares, 2012 Dec 3)
1906 1906
1907 Syntax update problem in one buffer opened in two windows, bottom window is 1907 Syntax update problem in one buffer opened in two windows, bottom window is
1908 not correctly updated. (Paul Harris, 2012 Feb 27) 1908 not correctly updated. (Paul Harris, 2012 Feb 27)
1909 1909
1910 Patch to add getsid(). (Tyru, 2011 Oct 2) Do we want this? Update Oct 4. 1910 Patch to add getsid(). (Tyru, 2011 Oct 2) Do we want this? Update Oct 4.
2087 2087
2088 When setqflist() uses a filename that triggers a BufReadCmd autocommand Vim 2088 When setqflist() uses a filename that triggers a BufReadCmd autocommand Vim
2089 doesn't jump to the correct line with :cfirst. (ZyX, 2011 Sep 18) 2089 doesn't jump to the correct line with :cfirst. (ZyX, 2011 Sep 18)
2090 2090
2091 Behavior of i" and a" text objects isn't logical. (Ben Fritz, 2013 Nov 19) 2091 Behavior of i" and a" text objects isn't logical. (Ben Fritz, 2013 Nov 19)
2092
2093 Bug in try/catch: return with invalid compare throws error that isn't caught.
2094 (ZyX, 2011 Jan 26)
2095 2092
2096 When setting a local option value from the global value, add a script ID that 2093 When setting a local option value from the global value, add a script ID that
2097 indicates this, so that ":verbose set" can give a hint. Check with options in 2094 indicates this, so that ":verbose set" can give a hint. Check with options in
2098 the help file. 2095 the help file.
2099 2096
2279 2276
2280 Add local time at start of --startuptime output. 2277 Add local time at start of --startuptime output.
2281 Requires configure check for localtime(). 2278 Requires configure check for localtime().
2282 Use format year-month-day hr:min:sec. 2279 Use format year-month-day hr:min:sec.
2283 2280
2284 Patch to add "combine" to :syntax, combines highlight attributes. (Nate
2285 Soares, 2012 Dec 3)
2286
2287 Patch to make ":hi link" also take arguments. (Nate Soares, 2012 Dec 4) 2281 Patch to make ":hi link" also take arguments. (Nate Soares, 2012 Dec 4)
2288 2282
2289 Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3) 2283 Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3)
2290 Find tail? Might have a / in argument. Find space? Might have space in 2284 Find tail? Might have a / in argument. Find space? Might have space in
2291 path. 2285 path.
2476 Add cscope target to Makefile. (Tony Mechelynck, 2009 Jun 18, replies by 2470 Add cscope target to Makefile. (Tony Mechelynck, 2009 Jun 18, replies by
2477 Sergey Khorev) 2471 Sergey Khorev)
2478 2472
2479 Consider making YankRing or something else that keeps a list of yanked text 2473 Consider making YankRing or something else that keeps a list of yanked text
2480 part of standard Vim. The "1 to "9 registers are not sufficient. 2474 part of standard Vim. The "1 to "9 registers are not sufficient.
2475 6 When yanking into the unnamed registers several times, somehow make the
2476 previous contents also available (like it's done for deleting). What
2477 register names to use? g"1, g"2, etc.?
2481 2478
2482 After doing "su" $HOME can be the old user's home, thus ~root/file is not 2479 After doing "su" $HOME can be the old user's home, thus ~root/file is not
2483 correct. Don't use it in the swap file. 2480 correct. Don't use it in the swap file.
2484 2481
2485 Completion for ":buf" doesn't work properly on Win32 when 'shellslash' is off. 2482 Completion for ":buf" doesn't work properly on Win32 when 'shellslash' is off.
2681 Problem with 'ts' set to 9 and 'showbreak' to ">>>". (Matthew Winn, 2007 Oct 2678 Problem with 'ts' set to 9 and 'showbreak' to ">>>". (Matthew Winn, 2007 Oct
2682 1) 2679 1)
2683 2680
2684 In the swapfile dialog, add a H(elp) option that gives more info about what 2681 In the swapfile dialog, add a H(elp) option that gives more info about what
2685 each choice does. Similar to ":help swap-exists-choices" 2682 each choice does. Similar to ":help swap-exists-choices"
2686
2687 try/catch not working for argument of return. (Matt Wozniski, 2008 Sep 15)
2688
2689 try/catch not working when inside a for loop. (ZyX, 2011 Jan 25)
2690 2683
2691 ":tab help" always opens a new tab, while ":help" re-uses an existing window. 2684 ":tab help" always opens a new tab, while ":help" re-uses an existing window.
2692 Would be more consistent when an existing tab is re-used. (Tony Mechelynck) 2685 Would be more consistent when an existing tab is re-used. (Tony Mechelynck)
2693 2686
2694 Add ":nofold". Range will apply without expanding to closed fold. 2687 Add ":nofold". Range will apply without expanding to closed fold.
3255 8 The quickfix file is read without conversion, thus in 'encoding'. Add an 3248 8 The quickfix file is read without conversion, thus in 'encoding'. Add an
3256 option to specify the encoding of the errorfile and convert it. Also for 3249 option to specify the encoding of the errorfile and convert it. Also for
3257 ":grep" and ":helpgrep". 3250 ":grep" and ":helpgrep".
3258 More generic solution: support a filter (e.g., by calling a function). 3251 More generic solution: support a filter (e.g., by calling a function).
3259 7 Add a command that goes back to the position from before jumping to the 3252 7 Add a command that goes back to the position from before jumping to the
3260 first quickfix location. ":cbefore"? 3253 first quickfix location.
3261 3254
3262 Vi incompatibility: 3255 Vi incompatibility:
3263 - Try new POSIX tests, made after my comments. (Geoff Clare, 2005 April 7) 3256 - Try new POSIX tests, made after my comments. (Geoff Clare, 2005 April 7)
3264 Version 1.5 is in ~/src/posix/1.5. (Lynne Canal) 3257 Version 1.5 is in ~/src/posix/1.5. (Lynne Canal)
3265 8 With undo/redo only marks in the changed lines should be changed. Other 3258 8 With undo/redo only marks in the changed lines should be changed. Other
3292 On the other hand, an ":undo" command in an Ex script only undoes the last 3285 On the other hand, an ":undo" command in an Ex script only undoes the last
3293 change (e.g., use two :append commands, then :undo). 3286 change (e.g., use two :append commands, then :undo).
3294 7 The ":map" command output overwrites the command. Perhaps it should keep 3287 7 The ":map" command output overwrites the command. Perhaps it should keep
3295 the ":map" when it's used without arguments? 3288 the ":map" when it's used without arguments?
3296 7 CTRL-L is not the end of a section? It is for Posix! Make it an option. 3289 7 CTRL-L is not the end of a section? It is for Posix! Make it an option.
3297 7 Implement 'prompt' option. Init to off when stdin is not a tty.
3298 7 Add a way to send an email for a crashed edit session. Create a file when 3290 7 Add a way to send an email for a crashed edit session. Create a file when
3299 making changes (containing name of the swap file), delete it when writing 3291 making changes (containing name of the swap file), delete it when writing
3300 the file. Supply a program that can check for crashed sessions (either 3292 the file. Supply a program that can check for crashed sessions (either
3301 all, for a system startup, or for one user, for in a .login file). 3293 all, for a system startup, or for one user, for in a .login file).
3302 7 Vi doesn't do autoindenting when input is not from a tty (in Ex mode). 3294 7 Vi doesn't do autoindenting when input is not from a tty (in Ex mode).
3470 9 When running an external program, it can't always be killed with CTRL-C. 3462 9 When running an external program, it can't always be killed with CTRL-C.
3471 e.g., on Solaris 5.5, when using "K" (Keech). Other 'guipty' problems on 3463 e.g., on Solaris 5.5, when using "K" (Keech). Other 'guipty' problems on
3472 Solaris 2.6. (Marley) 3464 Solaris 2.6. (Marley)
3473 9 On Solaris: Using a "-geometry" argument, bigger than the window where Vim 3465 9 On Solaris: Using a "-geometry" argument, bigger than the window where Vim
3474 is started from, causes empty lines below the cmdline. (raf) 3466 is started from, causes empty lines below the cmdline. (raf)
3475 8 X11 GUI: When menu is disabled by excluding 'm' from 'guioptions', ALT key
3476 should not be used to trigger a menu (like the Win32 version).
3477 8 When setting 'langmenu', it should be effective immediately. Store both 3467 8 When setting 'langmenu', it should be effective immediately. Store both
3478 the English and the translated text in the menu structure. Re-generate 3468 the English and the translated text in the menu structure. Re-generate
3479 the translation when 'langmenu' has changed. 3469 the translation when 'langmenu' has changed.
3480 8 Basic flaw in the GUI code: NextScreen is updated before calling 3470 8 Basic flaw in the GUI code: NextScreen is updated before calling
3481 gui_write(), but the GUI code relies on NextScreen to represent the state 3471 gui_write(), but the GUI code relies on NextScreen to represent the state
3510 8 X11: When the window size is reduced to fit on screen, there are blank 3500 8 X11: When the window size is reduced to fit on screen, there are blank
3511 lines below the text and bottom scrollbar. "gvim -geometry 80x78+0+0". 3501 lines below the text and bottom scrollbar. "gvim -geometry 80x78+0+0".
3512 When the "+0+0" is omitted it works. 3502 When the "+0+0" is omitted it works.
3513 8 When starting an external command, and 'guipty' set, BS and DEL are mixed 3503 8 When starting an external command, and 'guipty' set, BS and DEL are mixed
3514 up. Set erase character somehow? 3504 up. Set erase character somehow?
3515 8 A dead circumflex followed by a space should give the '^' character
3516 (Rommel). Look how xterm does this.
3517 Also: Bednar has some code for dead key handling.
3518 Also: Nedit 5.0.2 with USE_XMIM does it right. (Gaya)
3519 8 The compose key doesn't work properly (Cepas). Both for Win32 and X11. 3505 8 The compose key doesn't work properly (Cepas). Both for Win32 and X11.
3520 7 The cursor in an inactive window should be hollow. Currently it's not 3506 7 The cursor in an inactive window should be hollow. Currently it's not
3521 visible. 3507 visible.
3522 7 GUI on Solaris 2.5.1, using /usr/dt/..: When gvim starts, cursor is 3508 7 GUI on Solaris 2.5.1, using /usr/dt/..: When gvim starts, cursor is
3523 hollow, after window lowered/raised it's OK. (Godfrey) 3509 hollow, after window lowered/raised it's OK. (Godfrey)
3610 a problem with writing a file that starts with a dot. (Giacalone) 3596 a problem with writing a file that starts with a dot. (Giacalone)
3611 9 In mac_expandpath() check that handling of backslashes is done properly. 3597 9 In mac_expandpath() check that handling of backslashes is done properly.
3612 3598
3613 3599
3614 "Small" problems: 3600 "Small" problems:
3615 - Can't disable terminal flow control, to enable the use of CTRL-S and
3616 CTRL-Q. Add an option for it?
3617 - When using e_secure in do_one_cmd() mention the command being executed, 3601 - When using e_secure in do_one_cmd() mention the command being executed,
3618 otherwise it's not clear where it comes from. 3602 otherwise it's not clear where it comes from.
3619 - When the quickfix window is open and executing ":echo 'hello'" using the
3620 Command-line window, the text is immediately removed by the redrawing.
3621 (Michael Henry, 2008 Nov 1)
3622 Generic solution: When redrawing while there is a message on the
3623 cmdline, don't erase the display but draw over the existing text.
3624 Other solution, redraw after closing the cmdline window, before executing
3625 the command.
3626 9 For Turkish vim_tolower() and vim_toupper() also need to use utf_ 3603 9 For Turkish vim_tolower() and vim_toupper() also need to use utf_
3627 functions for characters below 0x80. (Sertacyildiz) 3604 functions for characters below 0x80. (Sertacyildiz)
3628 9 When the last edited file is a help file, using '0 in a new Vim doesn't 3605 9 When the last edited file is a help file, using '0 in a new Vim doesn't
3629 edit the file as a help file. 'filetype' is OK, but 'iskeyword' isn't, 3606 edit the file as a help file. 'filetype' is OK, but 'iskeyword' isn't,
3630 file isn't readonly, etc. 3607 file isn't readonly, etc.
4080 items than other spell files with the ISO-8859-2 encoding, that causes 4057 items than other spell files with the ISO-8859-2 encoding, that causes
4081 problem when changing 'spelllang'. There is no obvious way to fix this. 4058 problem when changing 'spelllang'. There is no obvious way to fix this.
4082 - Considering Hunspell 1.1.4: 4059 - Considering Hunspell 1.1.4:
4083 What does MAXNGRAMSUGS do? 4060 What does MAXNGRAMSUGS do?
4084 Is COMPLEXPREFIXES necessary when we have flags for affixes? 4061 Is COMPLEXPREFIXES necessary when we have flags for affixes?
4085 - Support spelling words in CamelCase as if they were two separate words.
4086 Requires some option to enable it. (Timothy Knox)
4087 - There is no Finnish spell checking file. For openoffice Voikko is now 4062 - There is no Finnish spell checking file. For openoffice Voikko is now
4088 used, which is based on Malaga: http://home.arcor.de/bjoern-beutel/malaga/ 4063 used, which is based on Malaga: http://home.arcor.de/bjoern-beutel/malaga/
4089 (Teemu Likonen) 4064 (Teemu Likonen)
4090 8 ":mkspell" still takes much too long in Hungarian dictionary from 4065 8 ":mkspell" still takes much too long in Hungarian dictionary from
4091 hunspell. Only solution appears to be to postpone secondary suffixes. 4066 hunspell. Only solution appears to be to postpone secondary suffixes.
4456 they can give useful debugging info. The whole call stack would be ideal. 4431 they can give useful debugging info. The whole call stack would be ideal.
4457 At least use this for error messages. 4432 At least use this for error messages.
4458 7 Execute a function with standard option values. No need to save and 4433 7 Execute a function with standard option values. No need to save and
4459 restore option values. Especially useful for new options. Problem: how 4434 restore option values. Especially useful for new options. Problem: how
4460 to avoid a performance penalty (esp. for string options)? 4435 to avoid a performance penalty (esp. for string options)?
4461 8 Add referring to key options with "&t_xx". Both for "echo &t_xx" and
4462 ":let &t_xx =". Useful for making portable mappings.
4463 - range for ":exec", pass it on to the executed command. (Webb) 4436 - range for ":exec", pass it on to the executed command. (Webb)
4464 8 ":{range}source": source the lines from the current file. 4437 8 ":{range}source": source the lines from the current file.
4465 You can already yank lines and use :@" to execute them. 4438 You can already yank lines and use :@" to execute them.
4466 Most of do_source() would not be used, need a new function. 4439 Most of do_source() would not be used, need a new function.
4467 It's easy when not doing breakpoints or profiling. 4440 It's easy when not doing breakpoints or profiling.
4688 8 Use 'report' for ":bdel"? (Krishna) To avoid these messages when using a 4661 8 Use 'report' for ":bdel"? (Krishna) To avoid these messages when using a
4689 script. 4662 script.
4690 - Delete message after new command has been entered and have waited for key. 4663 - Delete message after new command has been entered and have waited for key.
4691 Perhaps after ten seconds? 4664 Perhaps after ten seconds?
4692 - Make message history available in "msg" variables: msg1, msg2, .. msg9. 4665 - Make message history available in "msg" variables: msg1, msg2, .. msg9.
4693 8 When reading from stdin allow suppressing the "reading from stdin"
4694 message.
4695 9 Check handling of overwriting of messages and delays: 4666 9 Check handling of overwriting of messages and delays:
4696 Very wrong: errors while redrawing cause endless loop. 4667 Very wrong: errors while redrawing cause endless loop.
4697 When switching to another file and screen scrolls because of the long 4668 When switching to another file and screen scrolls because of the long
4698 message and return must be typed, don't scroll the screen back before 4669 message and return must be typed, don't scroll the screen back before
4699 redrawing. 4670 redrawing.
5977 Registers: 5948 Registers:
5978 8 Don't display empty registers with ":display". (Etienne) 5949 8 Don't display empty registers with ":display". (Etienne)
5979 8 Add put command that overwrites existing text. Should also work for 5950 8 Add put command that overwrites existing text. Should also work for
5980 blocks. Useful to move text around in a table. Works like using "R ^R r" 5951 blocks. Useful to move text around in a table. Works like using "R ^R r"
5981 for every line. 5952 for every line.
5982 6 When yanking into the unnamed registers several times, somehow make the
5983 previous contents also available (like it's done for deleting). What
5984 register names to use? g"1, g"2, etc.?
5985 - When appending to a register, also report the total resulting number of 5953 - When appending to a register, also report the total resulting number of
5986 lines. Or just say "99 more lines yanked", add the "more". 5954 lines. Or just say "99 more lines yanked", add the "more".
5987 - When inserting a register in Insert mode with CTRL-R, don't insert comment 5955 - When inserting a register in Insert mode with CTRL-R, don't insert comment
5988 leader when line wraps? 5956 leader when line wraps?
5989 - The ":@r" commands should take a range and execute the register for each 5957 - The ":@r" commands should take a range and execute the register for each