comparison runtime/doc/todo.txt @ 18343:375a7ecdb351

Update runtime files. Commit: https://github.com/vim/vim/commit/2e693a88b24dc6b12883fad78ff2cb9cd4469c98 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 16 22:35:02 2019 +0200 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Oct 2019 22:45:04 +0200
parents 03b854983b14
children 6d11fc4aa683
comparison
equal deleted inserted replaced
18342:fedab77fee7b 18343:375a7ecdb351
1 *todo.txt* For Vim version 8.1. Last change: 2019 Sep 27 1 *todo.txt* For Vim version 8.1. Last change: 2019 Oct 16
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
45 45
46 Popup windows: 46 Popup windows:
47 - Use popup (or popup menu) for command line completion 47 - Use popup (or popup menu) for command line completion
48 - Implement flip option 48 - Implement flip option
49 - Why does 'nrformats' leak from the popup window buffer??? 49 - Why does 'nrformats' leak from the popup window buffer???
50 Happens in Test_simple_popup() at the second screendump. 50 Happens in Test_simple_popup() at:
51 call VerifyScreenDump(buf, 'Test_popupwin_04a', {})
52 Only when this line is in defaults.vim:
53 set nrformats-=octal
51 - For the "moved" property also include mouse movement? 54 - For the "moved" property also include mouse movement?
52 - Make redrawing more efficient and avoid flicker: 55 - Make redrawing more efficient and avoid flicker:
53 - put popup menu also in popup_mask? 56 - put popup menu also in popup_mask?
54 - Any other commands to disable in a popup window? 57 - Any other commands to disable in a popup window?
55 Use ERROR_IF_POPUP_WINDOW for more commands. 58 Use ERROR_IF_POPUP_WINDOW for more commands.
74 - :%s/foo should take the first match below the cursor line, unless there 77 - :%s/foo should take the first match below the cursor line, unless there
75 isn't one? 78 isn't one?
76 Then :%s?foo should take the first match above the cursor line. 79 Then :%s?foo should take the first match above the cursor line.
77 80
78 Prompt buffer: 81 Prompt buffer:
79 - Add a command line history. 82 - Add a command line history, using up/down keys. #5010
80 - delay next prompt until plugin gives OK? 83 - delay next prompt until plugin gives OK?
81 - add prompt_addtext({buf}, {expr}) none add text to a prompt buffer 84 - add prompt_addtext({buf}, {expr}) none add text to a prompt buffer
82 85
83 Terminal debugger: 86 Terminal debugger:
84 - Make prompt-buffer variant work better. 87 - Make prompt-buffer variant work better.
132 Error numbers available: 135 Error numbers available:
133 E279, E290, E292, E362, E366, E450, E451, E452, 136 E279, E290, E292, E362, E366, E450, E451, E452,
134 E453, E454, E460, E489, E491, E565, E578, E610, E611, E653, 137 E453, E454, E460, E489, E491, E565, E578, E610, E611, E653,
135 E654, E856, E857, E860, E861, E863, E889, E900 138 E654, E856, E857, E860, E861, E863, E889, E900
136 139
140 Try out enabling modifyOtherKeys in xterm:
141 CSI > 4 ; 2 m
142 Need to disable when going to cooked mode:
143 CSI > 4 ; m
144 Known problems:
145 - CTRL-V key inserts Esc sequence
146
147 Patch to skip tests that don't work when run as root. (James McCoy, #5020)
148 Or just bail out completely?
149
150 Patch to test right click. (Dominique Pelle, #5018)
151
152 Python output doesn't stop when got_int is set. #5053
153 Check got_int in write_output() in if_py_both.h?
154
137 Running test_gui and test_gui_init with Motif sometimes kills the window 155 Running test_gui and test_gui_init with Motif sometimes kills the window
138 manager. Problem with Motif? Now test_gui crashes in submenu_change(). 156 manager. Problem with Motif? Now test_gui crashes in submenu_change().
139 Athena is OK. 157 Athena is OK.
140 Motif: Build on Ubuntu can't enter any text in dialog text fields. 158 Motif: Build on Ubuntu can't enter any text in dialog text fields.
141 159
142 Improve running tests on MS-Windows: #4922 160 Improve running tests on MS-Windows: #4922
143 161
144 Patch to properly break CJK lines: #3875 162 In a function these two lines are different:
145 Ready to include now? 163 let [a, b, c] =<< trim END fails
164 let [a,b,c] =<< trim END works
165 issue #5051
166
167 Patch to properly break CJK lines: Anton Kochkov, #3875
168 Should be ready to include now.
146 169
147 Remove check for cmd_silent when calling search_stat()? (Gary Johnson) 170 Remove check for cmd_silent when calling search_stat()? (Gary Johnson)
148 171
149 undo result wrong: Masato Nishihata, #4798 172 undo result wrong: Masato Nishihata, #4798
150 173
156 179
157 Patch to sort buffers on b_last_used time. (Andy Massimino, #4722) 180 Patch to sort buffers on b_last_used time. (Andy Massimino, #4722)
158 181
159 Patch to highlight the line number differently below the cursor line. (Shaun 182 Patch to highlight the line number differently below the cursor line. (Shaun
160 Brady, #624) 183 Brady, #624)
184
185 Patch to add more tests for cmd.exe: #4928
161 186
162 Patch to fix session file when using multiple tabs. (Jason Franklin, 2019 May 187 Patch to fix session file when using multiple tabs. (Jason Franklin, 2019 May
163 20) 188 20)
164 Also put :argadd commands at the start for all buffers, so that their order 189 Also put :argadd commands at the start for all buffers, so that their order
165 remains equal? Then %argdel to clean it up. Do try this with 'hidden' set. 190 remains equal? Then %argdel to clean it up. Do try this with 'hidden' set.
191 Also #4994: window-local options not always restored, related to using :badd.
166 192
167 Completion mixes results from the current buffer with tags and other files. 193 Completion mixes results from the current buffer with tags and other files.
168 Happens when typing CTRL-N while still search for results. E.g., type "b_" in 194 Happens when typing CTRL-N while still search for results. E.g., type "b_" in
169 terminal.c and then CTRL-N twice. 195 terminal.c and then CTRL-N twice.
170 Should do current file first and not split it up when more results are found. 196 Should do current file first and not split it up when more results are found.
174 Ready to include now? 200 Ready to include now?
175 201
176 Adding "10" to 'spellsuggest' causes spell suggestions to become very slow. 202 Adding "10" to 'spellsuggest' causes spell suggestions to become very slow.
177 (#4087) 203 (#4087)
178 204
205 ":helptags ALL" should skip directories where "tags" cannot be written.
206 (Matěj Cepl, #5026)
207
179 ":bnext" in a help buffer is supposed to go to the next help buffer, but it 208 ":bnext" in a help buffer is supposed to go to the next help buffer, but it
180 goes to any buffer, and then :bnext skips help buffers, since they are 209 goes to any buffer, and then :bnext skips help buffers, since they are
181 unlisted. (#4478) 210 unlisted. (#4478)
182 211
183 Patch to fix using zero sc_sid. (#4877) 212 Patch to fix using zero sc_sid. (#4877)
213
214 Enable 'termbidi' if $VTE_VERSION >= 5703 ?
184 215
185 Universal solution to detect if t_RS is working, using cursor position. 216 Universal solution to detect if t_RS is working, using cursor position.
186 Koichi Iwamoto, #2126 217 Koichi Iwamoto, #2126
187 218
188 Make 'showbreak' global-local. 219 Make 'showbreak' global-local.
210 241
211 Patch to remove FORTIFY_SOURCE also from CPPFLAGS. (Benedikt Morbach, #2786) 242 Patch to remove FORTIFY_SOURCE also from CPPFLAGS. (Benedikt Morbach, #2786)
212 243
213 Patch from Namsh to allow building with both XIM and hangulin. (2019 Aug 29) 244 Patch from Namsh to allow building with both XIM and hangulin. (2019 Aug 29)
214 245
215 Patch to fix redirect of shell on MS-Windows. (Yasuhiro Matsumoto, #2054)
216
217 When using :packadd files under "later" are not used, which is inconsistent 246 When using :packadd files under "later" are not used, which is inconsistent
218 with packages under "start". (xtal8, #1994) 247 with packages under "start". (xtal8, #1994)
219 248
220 Modeless selection doesn't work in gvim. (#4783) 249 Modeless selection doesn't work in gvim. (#4783)
221 Caused by patch 8.1.1534. 250 Caused by patch 8.1.1534.
240 13, #2910) Can't reproduce? 269 13, #2910) Can't reproduce?
241 270
242 Patch to configure BUILD_DATE for reproducible builds. (James McCoy, #513) 271 Patch to configure BUILD_DATE for reproducible builds. (James McCoy, #513)
243 272
244 Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275) 273 Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275)
274
275 xterm should be able to pass focus changes to Vim, so that Vim can check for
276 buffers that changed. Perhaps in misc.c, function selectwindow().
277 Xterm 224 supports it!
278 Patch to make FocusGained and FocusLost work in modern terminals. (Hayaki
279 Saito, 2013 Apr 24) Update 2016 Aug 12.
280 Also see issue #609.
281 We could add the enable/disable sequences to t_ti/t_te or t_ks/t_ke.
245 282
246 Check_external_diff() is used too often. (Daniel Hahler, #4800) 283 Check_external_diff() is used too often. (Daniel Hahler, #4800)
247 284
248 Incorrect formatting with autoindent. (Sebastian Gniazdowski, #4909) 285 Incorrect formatting with autoindent. (Sebastian Gniazdowski, #4909)
249 286
294 331
295 '[ mark in wrong column after put. (#4776) 332 '[ mark in wrong column after put. (#4776)
296 333
297 "exepath('bin/cmd')" does not work while ":!bin/cmd" does work. 334 "exepath('bin/cmd')" does not work while ":!bin/cmd" does work.
298 (Daniel Hahler, #4710) and executable('bin/cmd') returns 1 335 (Daniel Hahler, #4710) and executable('bin/cmd') returns 1
336
337 Error drawing the number column when 'cursorline' is set. (#3893)
299 338
300 Problem with :tlmenu: Detach item added with all modes? Issue #3563. 339 Problem with :tlmenu: Detach item added with all modes? Issue #3563.
301 340
302 The quoting of the [command] argument of :terminal is not clearly documented. 341 The quoting of the [command] argument of :terminal is not clearly documented.
303 Give a few examples. (#4288) 342 Give a few examples. (#4288)
1602 compatible with Vim spell files. The old files can no longer be downloaded. 1641 compatible with Vim spell files. The old files can no longer be downloaded.
1603 1642
1604 Spell checking: Add a feature to only consider two spaces after a dot to start 1643 Spell checking: Add a feature to only consider two spaces after a dot to start
1605 a new sentence. Don't give the capitalization error when there is one space. 1644 a new sentence. Don't give the capitalization error when there is one space.
1606 1645
1607 xterm should be able to pass focus changes to Vim, so that Vim can check for
1608 buffers that changed. Perhaps in misc.c, function selectwindow().
1609 Xterm 224 supports it!
1610 Patch to make FocusGained and FocusLost work in modern terminals. (Hayaki
1611 Saito, 2013 Apr 24) Update 2016 Aug 12.
1612 Also see issue #609.
1613 We could add the enable/disable sequences to t_ti/t_te or t_ks/t_ke.
1614
1615 Idea: For a window in the middle (has window above and below it), use 1646 Idea: For a window in the middle (has window above and below it), use
1616 right-mouse-drag on the status line to move a window up/down without changing 1647 right-mouse-drag on the status line to move a window up/down without changing
1617 its height? It's like dragging the status bar above it at the same time. 1648 its height? It's like dragging the status bar above it at the same time.
1618 1649
1619 Patch to add a :domodeline command. (Christian Brabandt, 2014 Oct 21) 1650 Patch to add a :domodeline command. (Christian Brabandt, 2014 Oct 21)
2153 Looks like only bash can do it. (Yakov Lerner) 2184 Looks like only bash can do it. (Yakov Lerner)
2154 2185
2155 Cscope "cs add" stopped working somewhat before 7.2.438. (Gary Johnson, 2010 2186 Cscope "cs add" stopped working somewhat before 7.2.438. (Gary Johnson, 2010
2156 Jun 29) Caused by 7.2.433? 2187 Jun 29) Caused by 7.2.433?
2157 2188
2158 I often see pasted text (from Firefox, to Vim in xterm) appear twice.
2159 Also, Vim in xterm sometimes loses copy/paste ability (probably after running
2160 an external command).
2161
2162 Jumplist doesn't work properly in Insert mode? (Jean Johner, 2010 Mar 20) 2189 Jumplist doesn't work properly in Insert mode? (Jean Johner, 2010 Mar 20)
2163 2190
2164 Problem with transparent cmdline. Also: Terminal title is wrong with 2191 Problem with transparent cmdline. Also: Terminal title is wrong with
2165 non-ASCII character. (Lily White, 2010 Mar 7) 2192 non-ASCII character. (Lily White, 2010 Mar 7)
2166 2193
2752 If the variable "g:x#y#z" exists completion after ":echo g:x#" doesn't work. 2779 If the variable "g:x#y#z" exists completion after ":echo g:x#" doesn't work.
2753 2780
2754 Feature request: Command to go to previous tab, like what CTRL-W p does for 2781 Feature request: Command to go to previous tab, like what CTRL-W p does for
2755 windows. (Adam George) 2782 windows. (Adam George)
2756 2783
2757 F1 - F4 in an xterm produce a different escape sequence when used with a
2758 modifier key. Need to catch three different sequences. Use K_ZF1, like
2759 K_ZHOME? (Dickey, 2007 Dec 2)
2760
2761 In debug mode, using CTRL-R = to evaluate a function causes stepping through 2784 In debug mode, using CTRL-R = to evaluate a function causes stepping through
2762 the function. (Hari Krishna Dara, 2006 Jun 28) 2785 the function. (Hari Krishna Dara, 2006 Jun 28)
2763 2786
2764 C++ indenting wrong with "=". (James Kanze, 2007 Jan 26) 2787 C++ indenting wrong with "=". (James Kanze, 2007 Jan 26)
2765 2788
2890 highlight Normal ctermbg=DarkGray 2913 highlight Normal ctermbg=DarkGray
2891 set background=dark 2914 set background=dark
2892 This is undesired, 'background' is supposed to tell Vim what the background 2915 This is undesired, 'background' is supposed to tell Vim what the background
2893 color is, not reset it. 2916 color is, not reset it.
2894 2917
2895 Linux distributions:
2896 - Suggest compiling xterm with --enable-tcap-query, so that nr of colors is
2897 known to Vim. 88 colors instead of 16 works better. See ":help
2898 xfree-xterm".
2899 - Suggest including bare "vi" and "vim" with X11, syntax, etc.
2900
2901 Completion menu: For a wrapping line, completing a long file name, only the 2918 Completion menu: For a wrapping line, completing a long file name, only the
2902 start of the path is shown in the menu. Should move the menu to the right to 2919 start of the path is shown in the menu. Should move the menu to the right to
2903 show more text of the completions. Shorten the items that don't fit in the 2920 show more text of the completions. Shorten the items that don't fit in the
2904 middle? 2921 middle?
2905 2922
2909 current tab, use an existing tab, if possible. Like finding a window where 2926 current tab, use an existing tab, if possible. Like finding a window where
2910 the buffer is displayed. (Antonios Tsakiridis) 2927 the buffer is displayed. (Antonios Tsakiridis)
2911 2928
2912 When ":cn" moves to an error in the same line the message isn't shortened. 2929 When ":cn" moves to an error in the same line the message isn't shortened.
2913 Only skip shortening for ":cc"? 2930 Only skip shortening for ":cc"?
2914
2915 Write "making vim work better" for the docs (mostly pointers): *nice*
2916 - sourcing $VIMRUNTIME/vimrc_example.vim
2917 - setting 'mouse' to "a"
2918 - getting colors in xterm
2919 - compiling Vim with X11, GUI, etc.
2920 2931
2921 Problem with ":call" and dictionary function. Hari Krishna Dara, Charles 2932 Problem with ":call" and dictionary function. Hari Krishna Dara, Charles
2922 Campbell 2006 Jul 06. 2933 Campbell 2006 Jul 06.
2923 2934
2924 Syntax HL error caused by "containedin". (Peter Hodge, 2006 Oct 6) 2935 Syntax HL error caused by "containedin". (Peter Hodge, 2006 Oct 6)
3008 Create a gvimtutor.1 file and change Makefiles to install it. 3019 Create a gvimtutor.1 file and change Makefiles to install it.
3009 3020
3010 When 'encoding' is utf-8 typing text at the end of the line causes previously 3021 When 'encoding' is utf-8 typing text at the end of the line causes previously
3011 typed characters to be redrawn. Caused by patch 7.1.329. (Tyler Spivey, 2008 3022 typed characters to be redrawn. Caused by patch 7.1.329. (Tyler Spivey, 2008
3012 Sep 3, 11) 3023 Sep 3, 11)
3013
3014 When Vim in an xterm owns the selection and the user does ":shell" Vim doesn't
3015 respond to selection requests. Invoking XtDisownSelection() before executing
3016 the shell doesn't help. Would require forking and doing a message loop, like
3017 what happens for the GUI.
3018 3024
3019 ":vimgrep" does not recognize a recursive symlink. Is it possible to detect 3025 ":vimgrep" does not recognize a recursive symlink. Is it possible to detect
3020 this, at least for Unix (using device/inode)? 3026 this, at least for Unix (using device/inode)?
3021 3027
3022 When switching between windows the cursor is often put in the middle. 3028 When switching between windows the cursor is often put in the middle.
3102 - Win32: add options to print dialog. Patch from Vipin Aravind. 3108 - Win32: add options to print dialog. Patch from Vipin Aravind.
3103 - Patch to add highlighting for whitespace. (Tom Schumm, 2003 Jul 5) 3109 - Patch to add highlighting for whitespace. (Tom Schumm, 2003 Jul 5)
3104 use the patch that keeps using HLF_8 if HLF_WS has not 3110 use the patch that keeps using HLF_8 if HLF_WS has not
3105 been given values. 3111 been given values.
3106 Add section in help files for these highlight groups? 3112 Add section in help files for these highlight groups?
3107 8 "fg" and "bg" don't work in an xterm. Get default colors from xterm
3108 with an ESC sequence.
3109 xterm can send colors for many things. E.g. for the cursor:
3110 <Esc>]12;?<Bel>
3111 Can use this to get the background color and restore the colors on exit.
3112 7 Add "DefaultFG" and "DefaultBG" for the colors of the menu. (Marcin 3113 7 Add "DefaultFG" and "DefaultBG" for the colors of the menu. (Marcin
3113 Dalecki has a patch for Motif and Carbon) 3114 Dalecki has a patch for Motif and Carbon)
3114 - Add possibility to highlight specific columns (for Fortran). Or put a 3115 - Add possibility to highlight specific columns (for Fortran). Or put a
3115 line in between columns (e.g., for 'textwidth'). 3116 line in between columns (e.g., for 'textwidth').
3116 Patch to add 'hlcolumn' from Vit Stradal, 2004 May 20. 3117 Patch to add 'hlcolumn' from Vit Stradal, 2004 May 20.
3700 8 When the builtin xterm termcap contains codes that are not wanted, need a 3701 8 When the builtin xterm termcap contains codes that are not wanted, need a
3701 way to avoid using the builtin termcap. 3702 way to avoid using the builtin termcap.
3702 8 Xterm sends ^[[H for <Home> and ^[[F for <End> in some mode. Also 3703 8 Xterm sends ^[[H for <Home> and ^[[F for <End> in some mode. Also
3703 recognize these keys? Mostly useful for xterm simulators, like gnometerm. 3704 recognize these keys? Mostly useful for xterm simulators, like gnometerm.
3704 See http://dickey.his.com/xterm/xterm.faq.html#xterm_pc_style. 3705 See http://dickey.his.com/xterm/xterm.faq.html#xterm_pc_style.
3705 8 For xterm also recognize keypad up/down/left/right and insert.
3706 8 '[ and '] should be set to start/end of line when using a linewise operator 3706 8 '[ and '] should be set to start/end of line when using a linewise operator
3707 (e.g., ":w"). 3707 (e.g., ":w").
3708 8 CTRL-A can't handle big "long" numbers, they become negative. Check for 3708 8 CTRL-A can't handle big "long" numbers, they become negative. Check for
3709 "-" character, if not present, use unsigned long. 3709 "-" character, if not present, use unsigned long.
3710 8 Add suspending with CTRL-Z at the "more" prompt, and when executing a long 3710 8 Add suspending with CTRL-Z at the "more" prompt, and when executing a long
3715 changes. 3715 changes.
3716 8 With 'viminfo' set such that the ".viminfo" file is written on a FAT 3716 8 With 'viminfo' set such that the ".viminfo" file is written on a FAT
3717 filesystem, an illegal file name may be created: ".vim". 3717 filesystem, an illegal file name may be created: ".vim".
3718 8 For each buffer that is opened, the viminfo file is opened and read to 3718 8 For each buffer that is opened, the viminfo file is opened and read to
3719 check for file marks. This can be slow. 3719 check for file marks. This can be slow.
3720 7 In xterm, recognize both vt100 and vt220 cursor keys. Change
3721 add_termcode() to not remove an existing entry for a name, when it's
3722 needed.
3723 Need a generic solution to recognize different codes for the same key.
3724 8 Core dump within signal function: gdb doesn't show stack backtrace! Option 3720 8 Core dump within signal function: gdb doesn't show stack backtrace! Option
3725 to skip catch_signals()? 3721 to skip catch_signals()?
3726 9 Repeating a "cw" with "." doesn't work if the text was pasted from the 3722 9 Repeating a "cw" with "." doesn't work if the text was pasted from the
3727 clipboard. (Thomas Jones) It's because the menu/toolbar item exits Insert 3723 clipboard. (Thomas Jones) It's because the menu/toolbar item exits Insert
3728 mode and uses "gP". How to fix this without breaking inserting a block of 3724 mode and uses "gP". How to fix this without breaking inserting a block of