comparison runtime/doc/todo.txt @ 14637:0ecb909e3249

Update runtime files. commit https://github.com/vim/vim/commit/fc65cabb15d0236bce001ad78e12a40511caf941 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 28 22:58:02 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 28 Aug 2018 23:00:08 +0200
parents 5c5908e81e93
children 34fd018452ed
comparison
equal deleted inserted replaced
14636:91eef21ff090 14637:0ecb909e3249
36 browser use: https://github.com/vim/vim/issues/1234 36 browser use: https://github.com/vim/vim/issues/1234
37 (replace 1234 with the issue/pull number) 37 (replace 1234 with the issue/pull number)
38 *known-bugs* 38 *known-bugs*
39 -------------------- Known bugs and current work ----------------------- 39 -------------------- Known bugs and current work -----------------------
40 40
41 'incsearch' with :s: (#3321)
42 - :/foo/s//<Esc> changes last search pattern. Also E486.
43 - :s/foo using CTRL-G moves to another line, should not happen, or use the
44 correct line (it uses the last but one line) (Lifepillar, Aug 18, #3345)
45 - Also support range: :/foo/,/bar/delete
46 - :%s/foo should take the first match below the cursor line, unless there
47 isn't one?
48 Then :%s?foo should take the first match above the cursor line.
49
41 Prompt buffer: 50 Prompt buffer:
42 - Add a command line history. 51 - Add a command line history.
43 - delay next prompt until plugin gives OK? 52 - delay next prompt until plugin gives OK?
44 53
45 Terminal debugger: 54 Terminal debugger:
48 - Termdebug does not work when Vim was build with mzscheme: gdb hangs just 57 - Termdebug does not work when Vim was build with mzscheme: gdb hangs just
49 after "run". Everything else works, including communication channel. Not 58 after "run". Everything else works, including communication channel. Not
50 initializing mzscheme avoid the problem, thus it's not some #ifdef. 59 initializing mzscheme avoid the problem, thus it's not some #ifdef.
51 60
52 Terminal emulator window: 61 Terminal emulator window:
62 - GUI: When using ":set go+=!" a system() call causes the hit-enter prompt.
63 (#3327)
53 - When the job in the terminal doesn't use mouse events, let the scroll wheel 64 - When the job in the terminal doesn't use mouse events, let the scroll wheel
54 scroll the scrollback, like a terminal does at the shell prompt. #2490 65 scroll the scrollback, like a terminal does at the shell prompt. #2490
55 And use modeless selection. #2962 66 And use modeless selection. #2962
67 - Allow for specifying the directory, with ++cwd={dir}.
56 - With a vertical split only one window is updated. (Linwei, 2018 Jun 2, 68 - With a vertical split only one window is updated. (Linwei, 2018 Jun 2,
57 #2977) 69 #2977)
70 - Add a way to make ":term cmd" run "cmd" in a shell, instead of executing it
71 directly. Perhaps ":term ++shell cmd". (#3340)
58 - When pasting should call vterm_keyboard_start_paste(), e.g. when using 72 - When pasting should call vterm_keyboard_start_paste(), e.g. when using
59 K_MIDDLEMOUSE, calling insert_reg(). 73 K_MIDDLEMOUSE, calling insert_reg().
60 - Users expect parsing the :term argument like a shell does, also support 74 - Users expect parsing the :term argument like a shell does, also support
61 single quotes. E.g. with: :term grep 'alice says "hello"' (#1999) 75 single quotes. E.g. with: :term grep 'alice says "hello"' (#1999)
62 - Win32: Redirecting input does not work, half of Test_terminal_redir_file() 76 - Win32: Redirecting input does not work, half of Test_terminal_redir_file()
72 - For the GUI fill termios with default values, perhaps like pangoterm: 86 - For the GUI fill termios with default values, perhaps like pangoterm:
73 http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134 87 http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134
74 - When 'encoding' is not utf-8, or the job is using another encoding, setup 88 - When 'encoding' is not utf-8, or the job is using another encoding, setup
75 conversions. 89 conversions.
76 90
77 Patch to support ":tag <tagkind> <tagname". (emmrk, 2018 May 7, #2871) 91 Not possible to have a comment in between line continuation. Use |\":
78 92 let array = [
79 Patch to parse ":line" in tags file and use it for search. (Daniel Hahler, 93 \ item,
80 #2546) Fixes #1057. Missing a test. 94 |\" comment
81 95 \ item,
82 Problem with quickfix giving E42 when filtering the error list. 96 \ ]
83 (Nobuhiro Takasaki, 2018 Aug 1, #3270)
84 Patch with test from Yegappan, Aug 2.
85
86 Patch to add variable name after "scope add". (Eddie Lebow, 2018 Feb 7, #2620)
87 Maybe not needed?
88
89 Patch in issue 3268, fix suggestion window appearing on wrong screen.
90 Also from Ken Takata, 2018 Aug 2.
91
92 Patch for Lua support. (Kazunobu Kuriyama, 2018 May 26)
93
94 Patch to use NGETTEXT() in many more places. (Sergey Alyoshin, 2018 May 25)
95 Updated patch May 27.
96
97 Patch to add winlayout() function. (Yegappan Lakshmanan, 2018 Jan 4)
98
99 Patch to fix profiling condition lines. (Ozaki Kiichi,, 2017 Dec 26, #2499)
100
101 Issue #686: apply 'F' in 'shortmess' to more messages. Also #3221.
102 Patch on #3221 from Christian. Does it work now?
103
104 Patch to include a cfilter plugin to filter quickfix/location lists.
105 (Yegappan Lakshmanan, 2018 May 12)
106 97
107 Does not build with MinGW out of the box: 98 Does not build with MinGW out of the box:
108 - _stat64 is not defined, need to use "struct stat" in vim.h 99 - _stat64 is not defined, need to use "struct stat" in vim.h
109 - WINVER conflict, should use 0x0600 by default? 100 - WINVER conflict, should use 0x0600 by default?
110 101
111 Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May 102 Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May
112 13, #2910) Can't reproduce? 103 13, #2910) Can't reproduce?
113 104
114 On Win32 when not in the console and t_Co >= 256, allow using 'tgc'.
115 (Nobuhiro Takasaki, #2833) Also check t_Co.
116
117 Errors found with random data: 105 Errors found with random data:
118 heap-buffer-overflow in alist_add (#2472) 106 heap-buffer-overflow in alist_add (#2472)
119 107
120 Improve fallback for menu translations, to avoid having to create lots of 108 Improve fallback for menu translations, to avoid having to create lots of
121 files that source the actual file. E.g. menu_da_de -> menu_da 109 files that source the actual file. E.g. menu_da_de -> menu_da
122 Include part of #3242? 110 Include part of #3242?
123 111
124 Inlcude Chinese-Taiwan translations. (bystar, #3261) 112 Using ":file" in quickfix window during an autocommand doesn't work.
113 (Jason Franklin, 2018 May 23) Allow for using it when there is no argument.
114 Patch should now work. (Jason Franklin, 2018 Aug 12)
115
116 Include Chinese-Taiwan translations. (bystar, #3261)
117
118 Screendump test fails even though characters are the same.
119 Some attribute difference that isn't included in the screenshot?
120 (Elimar Riesebieter, 2018 Aug 21)
125 121
126 Completion mixes results from the current buffer with tags and other files. 122 Completion mixes results from the current buffer with tags and other files.
127 Happens when typing CTRL-N while still search for results. E.g., type "b_" in 123 Happens when typing CTRL-N while still search for results. E.g., type "b_" in
128 terminal.c and then CTRL-N twice. 124 terminal.c and then CTRL-N twice.
129 Should do current file first and not split it up when more results are found. 125 Should do current file first and not split it up when more results are found.
130 (Also #1890) 126 (Also #1890)
131 127
132 Using mouse for inputlist() doesn't work after patch 8.0.1756. (Dominique 128 Patch to support VTP better. (Nobuhiro Takasaki, 2018 Aug 19, #3347)
133 Pelle, 2018 Jul 22, #3239) Also see 8.0.0722. Check both console and GUI. 129
130 Patch with improvement for ccomplete: #3350
131 Try it out. Perhaps write a test?
134 132
135 More warnings from static analysis: 133 More warnings from static analysis:
136 https://lgtm.com/projects/g/vim/vim/alerts/?mode=list 134 https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
137 135
138 Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17) 136 Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17)
139 Related to bracketed paste. I cannot reproduce it. 137 Related to bracketed paste. I cannot reproduce it.
140 138
141 Using ":file" in quickfix window during an autocommand doesn't work.
142 (Jason Franklin, 2018 May 23) Allow for using it when there is no argument.
143
144 Patch in pull request #2967: Allow white space in sign text. (Ben Jackson) 139 Patch in pull request #2967: Allow white space in sign text. (Ben Jackson)
145 Test fails in AppVeyor. 140 Test fails in AppVeyor.
141
142 Patch to add script line number to script ID. (ichizok, Ozaki Kiichi, 2018 Aug
143 24, #3362)
146 144
147 Removing flags from 'cpoptions' breaks the Winbar buttons in termdebug. 145 Removing flags from 'cpoptions' breaks the Winbar buttons in termdebug.
148 (Dominique Pelle, 2018 Jul 16) 146 (Dominique Pelle, 2018 Jul 16)
149 147
150 Problem with two buffers with the same name a/b, if it didn't exist before and 148 Problem with two buffers with the same name a/b, if it didn't exist before and
184 Delete the src/main.aap file? 182 Delete the src/main.aap file?
185 183
186 matchaddpos() gets slow with many matches. Proposal by Rick Howe, 2018 Jul 184 matchaddpos() gets slow with many matches. Proposal by Rick Howe, 2018 Jul
187 19. 185 19.
188 186
187 Patch to support ":tag <tagkind> <tagname>". (emmrk, 2018 May 7, #2871)
188 Use something like ":tag {kind}/{tagname}".
189 Not ready to include.
190
189 home_replace() uses $HOME instead of "homedir". (Cesar Martins, 2018 Aug 9) 191 home_replace() uses $HOME instead of "homedir". (Cesar Martins, 2018 Aug 9)
190 192
191 Adjust windows installer explanation of behavior. (scootergrisen, #3310) 193 Adjust windows installer explanation of behavior. (scootergrisen, #3310)
192 194
193 Set g:actual_curbuf when evaluating 'statusline', not just with an expression. 195 Set g:actual_curbuf when evaluating 'statusline', not just with an expression.
194 (Daniel Hahler, 2018 Aug 8, #3299) 196 (Daniel Hahler, 2018 Aug 8, #3299)
197
198 Difference between two regexp engines: #3373
199
200 When the last line wraps, selecting with the mouse below that line only
201 includes the first screen line. (2018 Aug 23, #3368)
202
203 Refactored HTML indent file. (Michael Lee, #1821)
204
205 Patch to add getregpoint() and setreg() with an option to set "".
206 (Andy Massimino, 2018 Aug 24, #3370)
207 Better name?
195 208
196 Script generated by :mksession does not work well if there are windows with 209 Script generated by :mksession does not work well if there are windows with
197 modified buffers 210 modified buffers
198 change "silent only" into "silent only!" 211 change "silent only" into "silent only!"
199 change "edit fname" of first buffer to "hide edit fname" 212 change "edit fname" of first buffer to "hide edit fname"
207 - undefined left shift in get_string_tv() (#2250) 220 - undefined left shift in get_string_tv() (#2250)
208 221
209 Win32 console: <F11> and <F12> typed in Insert mode don't result in normal 222 Win32 console: <F11> and <F12> typed in Insert mode don't result in normal
210 characters. (#3246) 223 characters. (#3246)
211 224
225 Height of quickfix window is not retained with vertical splits. (Lifepillar,
226 2018 Aug 24, #2998)
227
228 Window size is wrong when using quickfix window. (Lifepillar, 2018 Aug 24,
229 #2999)
230
212 Tests failing for "make testgui" with GTK: 231 Tests failing for "make testgui" with GTK:
213 - Test_setbufvar_options() 232 - Test_setbufvar_options()
214 - Test_exit_callback_interval() 233 - Test_exit_callback_interval()
215 234
216 When using CTRL-W CR in the quickfix window, the jumplist in the opened window 235 When using CTRL-W CR in the quickfix window, the jumplist in the opened window
222 #2948. (related to #1512?) 241 #2948. (related to #1512?)
223 On Win32 it stops showing, because showState is already ShS_SHOWING. 242 On Win32 it stops showing, because showState is already ShS_SHOWING.
224 balloon_show() does not work properly in the terminal. (Ben Jackson, 2017 Dec 243 balloon_show() does not work properly in the terminal. (Ben Jackson, 2017 Dec
225 20, #2481) 244 20, #2481)
226 Also see #2352, want better control over balloon, perhaps set the position. 245 Also see #2352, want better control over balloon, perhaps set the position.
246 Should also be possible to add highlighting, like in the status line?
227 247
228 Try out background make plugin: 248 Try out background make plugin:
229 https://github.com/AndrewVos/vim-make-background 249 https://github.com/AndrewVos/vim-make-background
230 or asyncmake: 250 or asyncmake:
231 https://github.com/yegappan/asyncmake 251 https://github.com/yegappan/asyncmake
237 is a match, remove entries for the buffer from marks, jumplist, etc. To be 257 is a match, remove entries for the buffer from marks, jumplist, etc. To be
238 used for git temp files. 258 used for git temp files.
239 259
240 Cursor in wrong position when line wraps. (#2540) 260 Cursor in wrong position when line wraps. (#2540)
241 261
262 Patch to parse ":line" in tags file and use it for search. (Daniel Hahler,
263 #2546) Fixes #1057. Missing a test.
264
242 Make {skip} argument of searchpair() consistent with other places where we 265 Make {skip} argument of searchpair() consistent with other places where we
243 pass an expression to evaluate. Allow passing zero for "never skip". 266 pass an expression to evaluate. Allow passing zero for "never skip".
267
268 The 'scrolloff' option is global, make it global-local. #3195
244 269
245 Add an option similar to 'lazyredraw' to skip redrawing while executing a 270 Add an option similar to 'lazyredraw' to skip redrawing while executing a
246 script or function. 271 script or function.
247 272
248 Universal solution to detect if t_RS is working, using cursor position. 273 Universal solution to detect if t_RS is working, using cursor position.
279 Problem: they all work slightly different (e.g. don't install vimrun.exe). 304 Problem: they all work slightly different (e.g. don't install vimrun.exe).
280 How to test that it works well for all Vim users? 305 How to test that it works well for all Vim users?
281 306
282 Alternative manpager.vim. (Enno, 2018 Jan 5, #2529) 307 Alternative manpager.vim. (Enno, 2018 Jan 5, #2529)
283 308
309 Delete all the speficic stuff for the Borland compiler? (#3374)
310 Patch in #3377 (Thomas Dziedzic)
311
284 Does setting 'cursorline' cause syntax highlighting to slow down? Perhaps is 312 Does setting 'cursorline' cause syntax highlighting to slow down? Perhaps is
285 mess up the cache? (Mike Lee Williams, 2018 Jan 27, #2539) 313 mess up the cache? (Mike Lee Williams, 2018 Jan 27, #2539)
286 Also: 'foldtext' is evaluated too often. (Daniel Hahler, #2773) 314 Also: 'foldtext' is evaluated too often. (Daniel Hahler, #2773)
287 315
288 With 'foldmethod' "indent" and appending an empty line, what follows isn't 316 With 'foldmethod' "indent" and appending an empty line, what follows isn't
318 sequence of these commands. (Andy Stewart, 2018 Mar 16) 346 sequence of these commands. (Andy Stewart, 2018 Mar 16)
319 347
320 ch_sendraw() with long string does not try to read in between, which may cause 348 ch_sendraw() with long string does not try to read in between, which may cause
321 a deadlock if the reading side is waiting for the write to finish. (Nate 349 a deadlock if the reading side is waiting for the write to finish. (Nate
322 Bosch, 2018 Jan 13, #2548) 350 Bosch, 2018 Jan 13, #2548)
323 Perhaps just make chunks of 1024 bytes? Make the write non-blocking? 351 Perhaps just make chunks of 1024 bytes?
352 Probably better: Make the write non-blocking
324 Also a problem on MS-Windows: #2828. 353 Also a problem on MS-Windows: #2828.
325 354
326 Add Makefiles to the runtime/spell directory tree, since nobody uses Aap. 355 Add Makefiles to the runtime/spell directory tree, since nobody uses Aap.
327 Will have to explain the manual steps (downloading the .aff and .dic files, 356 Will have to explain the manual steps (downloading the .aff and .dic files,
328 applying the diff, etc. 357 applying the diff, etc.
386 No profile information for function that executes ":quit". (Daniel Hahler, 415 No profile information for function that executes ":quit". (Daniel Hahler,
387 2017 Dec 26, #2501) 416 2017 Dec 26, #2501)
388 417
389 A function on a dictionary is not profiled. (ZyX, 2010 Dec 25) 418 A function on a dictionary is not profiled. (ZyX, 2010 Dec 25)
390 419
420 Add script number to profile? (#3330 breaks tests).
421
391 A function defined locally and lambda's are not easily recognized. 422 A function defined locally and lambda's are not easily recognized.
392 Mention where they were defined somewhere. 423 Mention where they were defined somewhere.
393 424
394 Get a "No Name" buffer when 'hidden' is set and opening a new window from the 425 Get a "No Name" buffer when 'hidden' is set and opening a new window from the
395 quickfix list. (bfrg, 2018 Jan 22, #2574) 426 quickfix list. (bfrg, 2018 Jan 22, #2574)
483 514
484 Include Haiku port. (Adrien Destugues, Siarzhuk Zharski, 2013 Oct 24) 515 Include Haiku port. (Adrien Destugues, Siarzhuk Zharski, 2013 Oct 24)
485 It can replace the BeOS code, which is likely not used anymore. 516 It can replace the BeOS code, which is likely not used anymore.
486 Now on github: #1856. Updated Oct 2017 517 Now on github: #1856. Updated Oct 2017
487 Got permission to include this under the Vim license. 518 Got permission to include this under the Vim license.
488
489 Refactored HTML indent file. (Michael Lee, #1821)
490 519
491 Test_writefile_fails_conversion failure on Solaris because if different iconv 520 Test_writefile_fails_conversion failure on Solaris because if different iconv
492 behavior. Skip when "uname" returns "SunOS"? (Pavel Heimlich, #1872) 521 behavior. Skip when "uname" returns "SunOS"? (Pavel Heimlich, #1872)
493 522
494 'tagrelative' is broken in specific situation. (xaizek, 2017 Oct 19, #2221) 523 'tagrelative' is broken in specific situation. (xaizek, 2017 Oct 19, #2221)
564 593
565 Profile of a dict function is lost when the dict is deleted. Would it be 594 Profile of a dict function is lost when the dict is deleted. Would it be
566 possible to collect this? (Daniel Hahler, #2350) 595 possible to collect this? (Daniel Hahler, #2350)
567 596
568 Add `:filter` support for various commands (Marcin Szamotulski, 2017 Nov 12 597 Add `:filter` support for various commands (Marcin Szamotulski, 2017 Nov 12
569 #2322) Now in #2327? 598 #2322) Patch now in #2856.
570 599
571 When checking if a bufref is valid, also check the buffer number, to catch the 600 When checking if a bufref is valid, also check the buffer number, to catch the
572 case of :bwipe followed by :new. 601 case of :bwipe followed by :new.
573 602
574 Patch to skip writing a temp file for diffing if the buffer is equal to the 603 Patch to skip writing a temp file for diffing if the buffer is equal to the
749 778
750 ":sbr" docs state it respects 'switchbuf', but "vsplit" does not cause a 779 ":sbr" docs state it respects 'switchbuf', but "vsplit" does not cause a
751 vertical split. (Haldean Brown, 2017 Mar 1) 780 vertical split. (Haldean Brown, 2017 Mar 1)
752 781
753 Use ADDR_OTHER instead of ADDR_LINES for many more commands. 782 Use ADDR_OTHER instead of ADDR_LINES for many more commands.
783 E.g. all the location list commands use a count.
754 Add tests for using number larger than number of lines in buffer. 784 Add tests for using number larger than number of lines in buffer.
755 785
756 Might be useful to have isreadonly(), like we have islocked(). 786 Might be useful to have isreadonly(), like we have islocked().
757 Avoids exceptions, e.g. when using the b: namespace as a dict. 787 Avoids exceptions, e.g. when using the b: namespace as a dict.
758 788