Mercurial > vim
comparison runtime/doc/todo.txt @ 29307:0b1d7e910b23
Update runtime files
Commit: https://github.com/vim/vim/commit/069a7d561bbe7e3b9bf132f71b7121c59f99e8f1
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 27 22:16:08 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Jun 2022 23:30:04 +0200 |
parents | dc4de65a7fb7 |
children | f8116058ca76 |
comparison
equal
deleted
inserted
replaced
29306:b84b2e6e4dac | 29307:0b1d7e910b23 |
---|---|
1 *todo.txt* For Vim version 8.2. Last change: 2022 Jun 26 | 1 *todo.txt* For Vim version 8.2. Last change: 2022 Jun 27 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
600 | 600 |
601 Should we include some part of pull request #4505, not increment changedtick | 601 Should we include some part of pull request #4505, not increment changedtick |
602 in some cases? E.g. for ":write" when the changed flag was already off, the | 602 in some cases? E.g. for ":write" when the changed flag was already off, the |
603 buffer didn't change at all. | 603 buffer didn't change at all. |
604 | 604 |
605 Session file contains absolute paths when "curdir" is removed form | |
606 'sessionoptions', making it impossible to have a session with a relative path. | |
607 (#4450) | |
608 | |
609 Session file only contains local option values for buffers that are in a | |
610 window, not other buffers. (#7532) | |
611 | |
612 Script generated by :mksession does not work well if there are windows with | |
613 modified buffers | |
614 change "silent only" into "silent only!" | |
615 change "edit fname" of first buffer to "hide edit fname" | |
616 skip "badd fname" if "fname" is already in the buffer list | |
617 remove remark about unloading buffers from documentation | |
618 | |
619 When session file has name in argument list but the buffer was deleted, the | |
620 buffer is not deleted when using the session file. (#1393) | |
621 Should add the buffer in hidden state. | |
622 | |
623 When a session file is created and there are "nofile" buffers, these are not | |
624 filled. Need to trigger BufReadCmd autocommands. Also handle deleting the | |
625 initial empty buffer better. (ZyX, 2015 March 8) | |
626 | |
627 Setting the spell file in a session only reads the local additions, not the | |
628 normal spell file. (Enno Nagel, 2014 Mar 29) | |
629 | |
630 Directory wrong in session file, caused by ":lcd" in BufEnter autocommand. | |
631 (Felix Kater, 2009 Mar 3) | |
632 | |
633 Something wrong with session that has "cd" commands and "badd", in such a way | |
634 that Vim doesn't find the edited file in the buffer list, causing the | |
635 ATTENTION message? (Tony Mechelynck, 2008 Dec 1) | |
636 Also: swap files are in ~/tmp/ One has relative file name ".mozilla/...". | |
637 | |
638 When using a timer callback vgetc_busy is reset, allowing for using input(). | 605 When using a timer callback vgetc_busy is reset, allowing for using input(). |
639 But in a channel callback this does not happen. We need to do something | 606 But in a channel callback this does not happen. We need to do something |
640 similar to check_due_timer(). Also see #3809. | 607 similar to check_due_timer(). Also see #3809. |
641 | 608 |
642 C syntax: {} inside () causes following {} to be highlighted as error. | 609 C syntax: {} inside () causes following {} to be highlighted as error. |
660 #2948. (related to #1512?) | 627 #2948. (related to #1512?) |
661 Also see #2352, want better control over balloon, perhaps set the position. | 628 Also see #2352, want better control over balloon, perhaps set the position. |
662 Should also be possible to add highlighting, like in the status line? | 629 Should also be possible to add highlighting, like in the status line? |
663 balloonexpr() on MS-Windows GUI doesn't handle accented chars? (nivaemail, | 630 balloonexpr() on MS-Windows GUI doesn't handle accented chars? (nivaemail, |
664 2018 Sep 14) | 631 2018 Sep 14) |
665 Another request: #3811. | |
666 | 632 |
667 More warnings from static analysis: | 633 More warnings from static analysis: |
668 https://lgtm.com/projects/g/vim/vim/alerts/?mode=list | 634 https://lgtm.com/projects/g/vim/vim/alerts/?mode=list |
669 | 635 |
670 Still a E315 error when using terminal. (Masato Nishihata, #3959) | |
671 | |
672 Not existing directory in CDPATH leads to two shell calls. (#4525) | 636 Not existing directory in CDPATH leads to two shell calls. (#4525) |
673 | 637 |
674 Use dict_iterate_start() / dict_iterate_next() instead of relying on the | 638 Use dict_iterate_start() / dict_iterate_next() instead of relying on the |
675 internals of the dict structure. | 639 internals of the dict structure. |
676 | 640 |
677 nvo-mode mapping works on Windows, not on Linux. (#3678) | 641 nvo-mode mapping works on Windows, not on Linux. (#3678) |
678 | |
679 Missing tests for: | |
680 - add_termcap_entry() | |
681 | 642 |
682 Redo only remembers the last change. Could use "{count}g." to redo an older | 643 Redo only remembers the last change. Could use "{count}g." to redo an older |
683 change. How does the user know which change? At least have a way to list | 644 change. How does the user know which change? At least have a way to list |
684 them: ":repeats". Add to history, like search history and command line history. | 645 them: ":repeats". Add to history, like search history and command line history. |
685 | 646 |
686 Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17) | |
687 Related to bracketed paste. I cannot reproduce it. | |
688 | |
689 When 'confirm' is set a "silent q" doesn't show the prompt. It should in this | 647 When 'confirm' is set a "silent q" doesn't show the prompt. It should in this |
690 case. (Nate Peterson, 2019 Jan 31, #3892) | 648 case. (Nate Peterson, 2019 Jan 31, #3892) |
691 For "silent! q" it should not prompt and just fail. | 649 For "silent! q" it should not prompt and just fail. |
692 | 650 |
693 Add <aevent>, which expands to the currently triggered autocommand event name. | 651 Add <aevent>, which expands to the currently triggered autocommand event name. |
705 drawing errors. Fill up the base character? (Dominique, #4328) | 663 drawing errors. Fill up the base character? (Dominique, #4328) |
706 | 664 |
707 When 'sidescrolloff' is set, using "zl" to go to the end of the line, suddenly | 665 When 'sidescrolloff' is set, using "zl" to go to the end of the line, suddenly |
708 scrolls back. Should allow for this scrolling, like 'scrolloff' does when | 666 scrolls back. Should allow for this scrolling, like 'scrolloff' does when |
709 using CTRL-E. (Yee Cheng Chin, #3721) | 667 using CTRL-E. (Yee Cheng Chin, #3721) |
710 | |
711 Invalid memory access with old regexp engine. (Dominique Pelle, 2018 Sep 3, | |
712 #3405) Introduced by 8.0.1517, which was fixing another memory access error. | |
713 (Sep 8) | |
714 | 668 |
715 Add function to make use of internal diff, working on two lists and returning | 669 Add function to make use of internal diff, working on two lists and returning |
716 unified diff (list of lines). | 670 unified diff (list of lines). |
717 | 671 |
718 When splitting a window with few text lines, the relative cursor position is | 672 When splitting a window with few text lines, the relative cursor position is |
728 Add something like 'fillchars' local to window, but allow for specifying a | 682 Add something like 'fillchars' local to window, but allow for specifying a |
729 highlight name. Esp. for the statusline. | 683 highlight name. Esp. for the statusline. |
730 And "extends" and "precedes" are also useful without 'list' set. Also in | 684 And "extends" and "precedes" are also useful without 'list' set. Also in |
731 'fillchars' or another option? | 685 'fillchars' or another option? |
732 | 686 |
733 Sourceforge Vim pages still have content, redirect from empty page. | 687 Sourceforge Vim pages still have content, make them empty, keep redirect. |
734 Check for PHP errors. (Wayne Davison, 2018 Oct 26) | 688 Check for PHP errors. (Wayne Davison, 2018 Oct 26) |
735 | 689 |
736 Problem with Visual yank when 'linebreak' and 'showbreak' are set. | 690 Problem with Visual yank when 'linebreak' and 'showbreak' are set. |
737 Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018 | 691 Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018 |
738 Nov 17) Asked about this, Dec 22. Christian will have a look. | 692 Nov 17) Asked about this, Dec 22. Christian will have a look. |
739 | |
740 home_replace() uses $HOME instead of "homedir". (Cesar Martins, 2018 Aug 9) | |
741 | |
742 When the status line uses term_gettitle(), it does not get updated when the | |
743 terminal title changes. (Josh Triplett, 2018 Sep 9, #3418) | |
744 How would we know that the status line needs to be updated? | |
745 | 693 |
746 Update for xim-input-style help (Tony Mechelynck, 2019 Jan 10). | 694 Update for xim-input-style help (Tony Mechelynck, 2019 Jan 10). |
747 Feedback from someone who uses this? | 695 Feedback from someone who uses this? |
748 | 696 |
749 Only output t_Cs when t_Ce is also set. do not use Cs and Ce termcap entries. (Daniel Hahler, 2018 Sep 25) | 697 Only output t_Cs when t_Ce is also set. do not use Cs and Ce termcap entries. (Daniel Hahler, 2018 Sep 25) |
757 - Can we make this show differences within a line? | 705 - Can we make this show differences within a line? |
758 - add option to use external diff above a certain size. | 706 - add option to use external diff above a certain size. |
759 | 707 |
760 Difference between two regexp engines: #3373 | 708 Difference between two regexp engines: #3373 |
761 | 709 |
762 Patch to add ch_listen() (Yasuhiro Matsumoto, 2018 Nov 26, #3639) | |
763 What is the practical use for this? Need an example. | |
764 | |
765 When the last line wraps, selecting with the mouse below that line only | 710 When the last line wraps, selecting with the mouse below that line only |
766 includes the first screen line. (2018 Aug 23, #3368) | 711 includes the first screen line. (2018 Aug 23, #3368) |
767 | 712 |
768 Refactored HTML indent file. (Michael Lee, #1821) | 713 Refactored HTML indent file. (Michael Lee, #1821) |
769 Asked to write a test. | 714 Asked to write a test. |
771 Merge checking for 'cursorline' and 'concealcursor', see neovim #9492. | 716 Merge checking for 'cursorline' and 'concealcursor', see neovim #9492. |
772 | 717 |
773 Add a windowID argument to placing a sign, so that it only shows up in one | 718 Add a windowID argument to placing a sign, so that it only shows up in one |
774 window for the buffer. | 719 window for the buffer. |
775 | 720 |
776 Win32 key codes are messy. Mike Williams tried to fix that, but now old | |
777 mappings no longer work. Create a new terminal for the better solution? | |
778 | |
779 Compiler warning (geeknik, 2017 Oct 26): | 721 Compiler warning (geeknik, 2017 Oct 26): |
780 - undefined left shift in get_string_tv() (#2250) | 722 - undefined left shift in eval_string(), before hex2nr() (#2250) |
723 Use unsigned for "nr". | |
781 | 724 |
782 Add Native language protocol server (LSP) support. (Yegappan Lakshmanan, 2018 | 725 Add Native language protocol server (LSP) support. (Yegappan Lakshmanan, 2018 |
783 Oct 28) | 726 Oct 28) |
784 | 727 |
785 Patch to be able to use hex numbers with :digraph. (Lcd, 2015 Sep 6) | 728 Patch to be able to use hex numbers with :digraph. (Lcd, 2015 Sep 6) |
787 Patch to be able to disable default digraphs (incomplete) (Eric Pruitt, 2018 | 730 Patch to be able to disable default digraphs (incomplete) (Eric Pruitt, 2018 |
788 Nov 22). | 731 Nov 22). |
789 | 732 |
790 Patch to list user digraphs. (Christian Brabandt, 2012 Apr 14) | 733 Patch to list user digraphs. (Christian Brabandt, 2012 Apr 14) |
791 | 734 |
792 Patch to add digraph() function. (Christian Brabandt, 2013 Aug 22, update Aug | |
793 24) | |
794 | |
795 Try out background make plugin: | |
796 https://github.com/AndrewVos/vim-make-background | |
797 or asyncmake: | |
798 https://github.com/yegappan/asyncmake | |
799 | |
800 Cursor in wrong position when line wraps. (#2540) | |
801 | |
802 Setting 'columns' in a BufEnter autocommand causes a second tab width to | 735 Setting 'columns' in a BufEnter autocommand causes a second tab width to |
803 behave strangely, as if there is a gap and a vertical window separator. | 736 behave strangely, as if there is a gap and a vertical window separator. |
804 (Michael Soyka, 2018 Sep 23, #3477) | 737 (Michael Soyka, 2018 Sep 23, #3477) |
805 | 738 |
806 Make {skip} argument of searchpair() consistent with other places where we | |
807 pass an expression to evaluate. Allow passing zero for "never skip". | |
808 | |
809 Add an option similar to 'lazyredraw' to skip redrawing while executing a | 739 Add an option similar to 'lazyredraw' to skip redrawing while executing a |
810 script or function. | 740 script or function. |
811 | 741 |
812 When using a menu item while the "more" prompt is displayed doesn't work well. | 742 Using a menu item while the "more" prompt is displayed doesn't work well. |
813 E.g. after using help->version. Have a key that ends the "more" prompt and | 743 E.g. after using help->version. Have a key that ends the "more" prompt and |
814 does nothing otherwise? | 744 does nothing otherwise? |
815 | 745 |
816 MS-Windows: write may fail if another program is reading the file. | 746 MS-Windows: write may fail if another program is reading the file. |
817 If 'readonly' is not set but the file appears to be readonly later, try again | 747 If 'readonly' is not set but the file appears to be readonly later, try again |
821 Using --remote to open a file in which a # appears does not work on | 751 Using --remote to open a file in which a # appears does not work on |
822 MS-Windows. Perhaps in \# the \ is seen as a path separator. (Axel Bender, | 752 MS-Windows. Perhaps in \# the \ is seen as a path separator. (Axel Bender, |
823 2017 Feb 9) Can we expand wildcards first and send the path literally to the | 753 2017 Feb 9) Can we expand wildcards first and send the path literally to the |
824 receiving Vim? Or make an exception for #, it's not useful remotely. | 754 receiving Vim? Or make an exception for #, it's not useful remotely. |
825 | 755 |
826 Should add a test for every command line argument. Check coverage for what is | |
827 missing: --nofork, -A , -b, -h, etc. | |
828 | |
829 ":au * * command" should not be allowed, only use * for event when listing or | |
830 deleting autocmds, not when adding them. | |
831 | |
832 Column number is wrong when using 'linebreak' and 'wrap'. (Keith Smiley, 2018 | 756 Column number is wrong when using 'linebreak' and 'wrap'. (Keith Smiley, 2018 |
833 Jan 15, #2555) | 757 Jan 15, #2555) |
834 | |
835 ":bufdo e" disabled syntax HL in windows other than the current. (BPJ) | |
836 | |
837 Check argument of systemlist(). (Pavlov) | |
838 | |
839 No maintainer for Vietnamese translations. | |
840 No maintainer for Simplified Chinese translations. | |
841 | |
842 Python indenting: alternative way to indent arguments: | |
843 http://orchistro.tistory.com/236 | |
844 Should be supported with a flag. | |
845 | 758 |
846 Add Makefiles to the runtime/spell directory tree, since nobody uses Aap. | 759 Add Makefiles to the runtime/spell directory tree, since nobody uses Aap. |
847 Will have to explain the manual steps (downloading the .aff and .dic files, | 760 Will have to explain the manual steps (downloading the .aff and .dic files, |
848 applying the diff, etc. | 761 applying the diff, etc. |
849 | 762 |
850 User dictionary ~/.vim/spell/lang.utf-8.add not used for spell checking until a | 763 User dictionary ~/.vim/spell/lang.utf-8.add not used for spell checking until a |
851 word is re-added to it. (Matej Cepl, 2018 Feb 6) | 764 word is re-added to it. (Matej Cepl, 2018 Feb 6) |
852 | 765 |
853 Fold at end of the buffer behaves inconsistently. (James McCoy, 2017 Oct 9) | 766 Fold at end of the buffer behaves inconsistently. (James McCoy, 2017 Oct 9) |
854 | |
855 Using 'wildignore' also applies to literally entered file name. Also with | |
856 :drop (remote commands). | |
857 | 767 |
858 Implement option_save() and option_restore(): | 768 Implement option_save() and option_restore(): |
859 option_restore({list}) *option_restore()* | 769 option_restore({list}) *option_restore()* |
860 Restore options previously saved by option_save(). | 770 Restore options previously saved by option_save(). |
861 When buffer-local options have been saved, this function must | 771 When buffer-local options have been saved, this function must |
1686 | 1596 |
1687 Should be possible to enable/disable matchparen per window or buffer. | 1597 Should be possible to enable/disable matchparen per window or buffer. |
1688 Add a check for b:no_match_paren in Highlight_matching_Pair() (Marcin | 1598 Add a check for b:no_match_paren in Highlight_matching_Pair() (Marcin |
1689 Szamotulski, 2012 Nov 8) | 1599 Szamotulski, 2012 Nov 8) |
1690 | 1600 |
1691 Session file creation: 'autochdir' causes trouble. Keep it off until after | |
1692 loading all files. | |
1693 | |
1694 'iminsert' global value set when using ":setlocal iminsert"? (Wu, 2012 Jun 23) | 1601 'iminsert' global value set when using ":setlocal iminsert"? (Wu, 2012 Jun 23) |
1695 | 1602 |
1696 Patch to append regexp to tag commands to make it possible to select one out | 1603 Patch to append regexp to tag commands to make it possible to select one out |
1697 of many matches. (Cody Cutler, 2013 Mar 28) | 1604 of many matches. (Cody Cutler, 2013 Mar 28) |
1698 | 1605 |
2102 does not work. (Nieko Maatjes, 2009 Jan 8, Ingo Karkat, 2009 Jan 22) | 2009 does not work. (Nieko Maatjes, 2009 Jan 8, Ingo Karkat, 2009 Jan 22) |
2103 | 2010 |
2104 opening/closing window causes other window with 'winfixheight' to change | 2011 opening/closing window causes other window with 'winfixheight' to change |
2105 height. Also happens when there is another window in the frame, if it's not | 2012 height. Also happens when there is another window in the frame, if it's not |
2106 very high. (Yegappan Lakshmanan, 2010 Jul 22, Michael Peeters, 2010 Jul 22) | 2013 very high. (Yegappan Lakshmanan, 2010 Jul 22, Michael Peeters, 2010 Jul 22) |
2107 | |
2108 Session file generates error upon loading, cause by --remote-silent-tab. | |
2109 (7tommm (ytommm) 2010 Nov 24) | |
2110 | 2014 |
2111 Using ~ works OK on 'a' with composing char, but not on 0x0418 with composing | 2015 Using ~ works OK on 'a' with composing char, but not on 0x0418 with composing |
2112 char 0x0301. (Tony Mechelynck, 2009 Mar 4) | 2016 char 0x0301. (Tony Mechelynck, 2009 Mar 4) |
2113 | 2017 |
2114 This does not work yet: "a\(%C\)" (get composing characters into a submatch). | 2018 This does not work yet: "a\(%C\)" (get composing characters into a submatch). |
5508 - Add an option setting to ask the user if the modelines are to be executed | 5412 - Add an option setting to ask the user if the modelines are to be executed |
5509 or not. Same for .exrc in local dir. | 5413 or not. Same for .exrc in local dir. |
5510 | 5414 |
5511 | 5415 |
5512 Sessions: | 5416 Sessions: |
5417 - Session file contains absolute paths when "curdir" is removed form | |
5418 'sessionoptions', making it impossible to have a session with a relative | |
5419 path. (#4450) | |
5420 - Session file only contains local option values for buffers that are in a | |
5421 window, not other buffers. (#7532) | |
5422 - Script generated by :mksession does not work well if there are windows | |
5423 with modified buffers: | |
5424 change "silent only" into "silent only!" | |
5425 change "edit fname" of first buffer to "hide edit fname" | |
5426 skip "badd fname" if "fname" is already in the buffer list | |
5427 remove remark about unloading buffers from documentation | |
5428 - When session file has name in argument list but the buffer was deleted, | |
5429 the buffer is not deleted when using the session file. (#1393) Should add | |
5430 the buffer in hidden state. | |
5431 - When a session file is created and there are "nofile" buffers, these are | |
5432 not filled. Need to trigger BufReadCmd autocommands. Also handle | |
5433 deleting the initial empty buffer better. (ZyX, 2015 March 8) | |
5434 - Setting the spell file in a session only reads the local additions, not | |
5435 the normal spell file. (Enno Nagel, 2014 Mar 29) | |
5436 - Directory wrong in session file, caused by ":lcd" in BufEnter autocommand. | |
5437 (Felix Kater, 2009 Mar 3) | |
5438 - Something wrong with session that has "cd" commands and "badd", in such a | |
5439 way that Vim doesn't find the edited file in the buffer list, causing the | |
5440 ATTENTION message? (Tony Mechelynck, 2008 Dec 1) Also: swap files are in | |
5441 ~/tmp/ One has relative file name ".mozilla/...". | |
5442 - Session file creation: 'autochdir' causes trouble. Keep it off until | |
5443 after loading all files. | |
5444 - Session file generates error upon loading, cause by --remote-silent-tab. | |
5445 (7tommm (ytommm) 2010 Nov 24) | |
5513 8 DOS/Windows: ":mksession" generates a "cd" command where "aa\#bb" means | 5446 8 DOS/Windows: ":mksession" generates a "cd" command where "aa\#bb" means |
5514 directory "#bb" in "aa", but it's used as "aa#bb". (Ronald Hoellwarth) | 5447 directory "#bb" in "aa", but it's used as "aa#bb". (Ronald Hoellwarth) |
5515 7 When there is a "help.txt" window in a session file, restoring that | 5448 7 When there is a "help.txt" window in a session file, restoring that |
5516 session will not get the "LOCAL ADDITIONS" back. | 5449 session will not get the "LOCAL ADDITIONS" back. |
5517 8 With ":mksession" always store the 'sessionoptions' option, even when | 5450 8 With ":mksession" always store the 'sessionoptions' option, even when |
5519 8 When using ":mksession", also store a command to reset all options to | 5452 8 When using ":mksession", also store a command to reset all options to |
5520 their default value, before setting the options that are not at their | 5453 their default value, before setting the options that are not at their |
5521 default value. | 5454 default value. |
5522 7 With ":mksession" also store the tag stack and jump history. (Michal | 5455 7 With ":mksession" also store the tag stack and jump history. (Michal |
5523 Malecki) | 5456 Malecki) |
5524 7 Persistent variables: "p:var"; stored in viminfo file and sessions files. | |
5525 | 5457 |
5526 | 5458 |
5527 Options: | 5459 Options: |
5528 7 ":with option=value | command": temporarily set an option value and | 5460 7 ":with option=value | command": temporarily set an option value and |
5529 restore it after the command has executed. | 5461 restore it after the command has executed. |