comparison runtime/doc/todo.txt @ 8440:4c6ad81d41fe

commit https://github.com/vim/vim/commit/5f148ec0b5a6cedd9129b3abac351034b83cc4f7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 7 22:59:26 2016 +0100 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Mon, 07 Mar 2016 23:00:08 +0100
parents 1bf1b88968a2
children da01d5da2cfa
comparison
equal deleted inserted replaced
8439:e2c8b6671ec0 8440:4c6ad81d41fe
1 *todo.txt* For Vim version 7.4. Last change: 2016 Mar 04 1 *todo.txt* For Vim version 7.4. Last change: 2016 Mar 07
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
33 33
34 *known-bugs* 34 *known-bugs*
35 -------------------- Known bugs and current work ----------------------- 35 -------------------- Known bugs and current work -----------------------
36 36
37 +channel: 37 +channel:
38 - move code from eval.c to channel.c
38 - implement TODO items in ":help channel": 39 - implement TODO items in ":help channel":
39 - Send last line of buffer when it's added.
40 - job_start() options: 40 - job_start() options:
41 in-io: null, file (in-name), in-buf 41 in-io: null, in-buf
42 out-io: null, file, out-buf 42 out-io: null, file, out-buf
43 err-io: null, file (err-name), buffer (err-buf) 43 err-io: null, file (err-name), buffer (err-buf)
44 existing channel to use 44 existing channel to use
45 - job_maystart() 45 - job_maystart()
46 - add job_info(): process ID, run/dead, etc. 46 - add job_info(): process ID, run/dead, etc.
52 - When decoding json, don't read all the typeahead at once, use the reader 52 - When decoding json, don't read all the typeahead at once, use the reader
53 properly. 53 properly.
54 - When a message in the queue but there is no callback, drop it after a while? 54 - When a message in the queue but there is no callback, drop it after a while?
55 Add timestamp to queued messages and callbacks with ID, remove after a 55 Add timestamp to queued messages and callbacks with ID, remove after a
56 minute. 56 minute.
57 - cleanup on exit? in mch_getout() and getout().
58 - Add more log calls, basically at every branch, before every callback, etc. 57 - Add more log calls, basically at every branch, before every callback, etc.
59 - add remark about undo sync, is there a way to force it? 58 - add remark about undo sync, is there a way to force it?
60 - When starting a job, have an option to open the server socket, so we know 59 - When starting a job, have an option to open the server socket, so we know
61 the port, and pass it to the command with --socket-fd {nr}. (Olaf Dabrunz, 60 the port, and pass it to the command with --socket-fd {nr}. (Olaf Dabrunz,
62 Feb 9) How to do this on MS-Windows? 61 Feb 9) How to do this on MS-Windows?
70 - job_start(): run job in a newly opened terminal. 69 - job_start(): run job in a newly opened terminal.
71 With xterm could use -S{pty}. 70 With xterm could use -S{pty}.
72 71
73 emoji patch from Yasuhiro Matsumoto. Asked Thomas Dickey. 72 emoji patch from Yasuhiro Matsumoto. Asked Thomas Dickey.
74 73
74 Packages:
75 - Add command to update help tags in 'runtimepath'. Pathogen has something
76 like that.
77 - colorscheme command in .vimrc doesn't work.
78 - Postpone until later?
79 - Also search in 'packpath'?
80 - command to load packages now?
81
75 More plugin support: 82 More plugin support:
76 - Have a way to install a callback from the main loop. Called every second or 83 - Have a way to install a callback from the main loop. Called every second or
77 so. 84 so.
78 - Need way to uniquely identify a window, no matter how windows are 85 - Need way to uniquely identify a window, no matter how windows are
79 rearranged. Same for tab pages. 86 rearranged. Same for tab pages.
111 Should recognize float (so long as it's not ".1.1"). 118 Should recognize float (so long as it's not ".1.1").
112 119
113 Allow for an empty dictionary key? 120 Allow for an empty dictionary key?
114 121
115 Patch to improve I/O for Perl. (Damien, 2016 Jan 9, update Jan 22 2nd one) 122 Patch to improve I/O for Perl. (Damien, 2016 Jan 9, update Jan 22 2nd one)
123
124 Patch to fix ml_get error. (Alexander Freiherr von Buddenbrock, 2016 Mar 4,
125 #676)
116 126
117 Regexp problems: 127 Regexp problems:
118 - The regexp engines are not reentrant, causing havoc when interrupted by a 128 - The regexp engines are not reentrant, causing havoc when interrupted by a
119 remote expression or something else. Move global variables onto the stack 129 remote expression or something else. Move global variables onto the stack
120 or into an allocated struct. 130 or into an allocated struct.
167 177
168 Patch to have better check for {action} argument of setqflist(). 178 Patch to have better check for {action} argument of setqflist().
169 Nikolai Pavlov, Feb 25, #661. Can be even more strict. 179 Nikolai Pavlov, Feb 25, #661. Can be even more strict.
170 Also see patch from Hirohito Higash, Feb 25. 180 Also see patch from Hirohito Higash, Feb 25.
171 181
172 Patch for clearing history. (Yegappan Lakshmanan, 2016 Jan 31, second message
173 has tests)
174
175 Patch to update the GTK icon cache when installing. (Kazunobu Kuriyama, 2016 182 Patch to update the GTK icon cache when installing. (Kazunobu Kuriyama, 2016
176 Feb 3) 183 Feb 3)
177 184
178 Patch for test86 and test87. (Roland Puntaier, #622) 185 Patch for test86 and test87. (Roland Puntaier, #622)
186
187 We can use '. to go to the last change in the current buffer, but how about
188 the last change in any buffer? Can we use ', (, is next to .)?
179 189
180 Patch for Python: #622. (Roland Puntaier, 2016 Feb 2) 190 Patch for Python: #622. (Roland Puntaier, 2016 Feb 2)
181 What does it change? 191 What does it change?
182 192
183 Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12) 193 Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
332 Need a Vim equivalent of Python's None and a way to test for it. 342 Need a Vim equivalent of Python's None and a way to test for it.
333 Use v:none. var == v:none 343 Use v:none. var == v:none
334 344
335 Patch to add arguments to argc() and argv(). (Yegappan Lakshmanan, 2016 Jan 345 Patch to add arguments to argc() and argv(). (Yegappan Lakshmanan, 2016 Jan
336 24) Also need a way to get the global arg list? Update later on Jan 24 346 24) Also need a way to get the global arg list? Update later on Jan 24
347 Update Mar 5.
337 348
338 To support Thai (and other languages) word boundaries, include the ICU 349 To support Thai (and other languages) word boundaries, include the ICU
339 library: http://userguide.icu-project.org/boundaryanalysis 350 library: http://userguide.icu-project.org/boundaryanalysis
340 351
341 When complete() first argument is before where insert started and 'backspace' 352 When complete() first argument is before where insert started and 'backspace'
1747 Fail to edit file after failed register access. Error flag remains set? 1758 Fail to edit file after failed register access. Error flag remains set?
1748 (Lech Lorens, 2010 Aug 30) 1759 (Lech Lorens, 2010 Aug 30)
1749 1760
1750 Patch for redo register. (Ben Schmidt, 2007 Oct 19) 1761 Patch for redo register. (Ben Schmidt, 2007 Oct 19)
1751 Await response to question to make the register writable. 1762 Await response to question to make the register writable.
1752
1753 src/testdir/Make_dos.mak: not all tests are included, e.g., test49, without a
1754 remark why.
1755 1763
1756 Problem with 'ts' set to 9 and 'showbreak' to ">>>". (Matthew Winn, 2007 Oct 1764 Problem with 'ts' set to 9 and 'showbreak' to ">>>". (Matthew Winn, 2007 Oct
1757 1) 1765 1)
1758 1766
1759 In the swapfile dialog, add a H(elp) option that gives more info about what 1767 In the swapfile dialog, add a H(elp) option that gives more info about what
2718 4 Re-write the code so that the highlighting isn't changed multiple times 2726 4 Re-write the code so that the highlighting isn't changed multiple times
2719 when doing a ":hi clear". The color changes happen three or more times 2727 when doing a ":hi clear". The color changes happen three or more times
2720 currently. This is very obvious on a 66Mhz 486. 2728 currently. This is very obvious on a 66Mhz 486.
2721 2729
2722 2730
2723 MSDOS/DJGPP: 2731 Win32 console:
2724 9 Pressing CTRL-C often crashes the console Vim runs in. (Ken Liao)
2725 When 'bioskey' isn't set it doesn't happen. Could be a problem with the
2726 BIOS emulation of the console. Version 5.6 already had this problem.
2727 8 DJGPP: "cd c:" can take us to a directory that no longer exists.
2728 change_drive() doesn't check this. How to check for this error?
2729 9 The 16 bit version runs out of memory very quickly. Should find unused
2730 code and reduce static data. Resetting 'writebackup' helps to be able to
2731 write a file.
2732 9 Crash when running on Windows 98 in a console window and pressing CTRL-C.
2733 Happens now and then. When debugging Vim in gdb this also happens. Since
2734 the console crashes, might be a bug in the DOS console. Resetting
2735 'bioskey' avoids it, but then CTRL-C doesn't work.
2736 9 DOS: Make CTRL-Fx and ALT-Fx work.
2737 CTRL-F1 = CE-5E, CTRL-F2 = CE-5F, .., CTRL-F10 = CE-67
2738 ALT-F1 = CE-68, ALT-F2 = CE-69, .., ALT-F10 = CE-71
2739 Shifted cursor keys produce same codes as unshifted keys. Use bioskey(2)
2740 to get modifier mask for <S-C-M-Fx>.
2741 Use K_SPECIAL/KS_MODIFIER codes to insert modifier mask in input stream?
2742 Make this work like in Win32 console.
2743 Mapping things like <M-A> doesn't work, because it generates an extended
2744 key code. Use a translation table?
2745 9 Can't read an opened swap file when the "share" command has not been used.
2746 At least ignore the swap files that Vim has opened itself.
2747 8 Use DJGPP 2.03.
2748 8 The Dos32 version (DJGPP) can't use long file names on Windows NT.
2749 Check if new package can be used (v2misc/ntlfn08[bs].zip).
2750 8 setlocale() is bogus.
2751 8 Vim busy waits for new characters or mouse clicks. Should put in some
2752 sort of sleep, to avoid eating 50% of the CPU time. Test on an unpatched
2753 Windows 95 system!
2754 8 DJGPP: when shell is bash, make fails. (Donahoe)
2755 7 Hitting CTRL-P twice quickly (e.g., in keyword completion) on a 8088
2756 machine, starts printer echo! (John Mullin).
2757 7 MSDOS 16 bit version can't work with COMSPEC that has an argument, e.g.:
2758 COMSPEC=C:\WINDOWS\COMMAND.COM /E:4096 (Bradley)
2759 Caused by BCC system() function (Borland "make" has the same problem).
2760 8 Mouse: handle left&right button pressed as middle button pressed. Add
2761 modifier keys shift, ctrl and alt.
2762 7 When too many files are open (depends on FILES), strange things happen.
2763 The Dos16 version runs out of memory, in the Dos32 version "!ls" causes a
2764 crash. Another symptom: .swp files are not deleted, existing files are
2765 "[New file]".
2766 7 DJGPP version doesn't work with graphics display mode. Switch to a mode
2767 that is supported?
2768 8 DJGPP: ":mode" doesn't work for many modes. Disable them.
2769 8 DJGPP: When starting in Ex mode, shouldn't clear the screen. (Walter
2770 Briscoe)
2771
2772
2773 MSDOS, OS/2 and Win32:
2774 8 OS/2: Add backtick expansion. Undefine NO_EXPANDPATH and use
2775 gen_expand_wildcards().
2776 8 OS/2: Add clipboard support? See example clipbrd.exe from Alexander
2777 Wagner.
2778 8 OS/2: Add Extended Attributes support and define HAVE_ACL.
2779 8 OS/2: When editing a file name "foo.txt" that is actually called FOO.txt,
2780 writing uses "foo.txt". Should obtain the real file name.
2781 8 Should $USERPROFILE be preferred above $HOMEDRIVE/$HOMEPATH? No, but it's 2732 8 Should $USERPROFILE be preferred above $HOMEDRIVE/$HOMEPATH? No, but it's
2782 a good fallback, thus use: 2733 a good fallback, thus use:
2783 $HOME 2734 $HOME
2784 $HOMEDRIVE$HOMEPATH 2735 $HOMEDRIVE$HOMEPATH
2785 SHGetSpecialFolderPath(NULL, lpzsPath, CSIDL_APPDATA, FALSE); 2736 SHGetSpecialFolderPath(NULL, lpzsPath, CSIDL_APPDATA, FALSE);