"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "vim72/runtime/doc/todo.txt" of archive vim-7.2.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 *todo.txt* For Vim version 7.2. Last change: 2008 Aug 09
2
3
4 VIM REFERENCE MANUAL by Bram Moolenaar
5
6
7 TODO list for Vim *todo*
8
9 This is a veeeery long list of known bugs, current work and desired
10 improvements. To make it a little bit accessible, the items are grouped by
11 subject. In the first column of the line a classification is used to be able
12 to look for "the next thing to do":
13
14 Priority classification:
15 9 next point release
16 8 next release
17 7 as soon as possible
18 6 soon
19 5 should be included
20 4 nice to have
21 3 consider including
22 2 maybe not
23 1 probably not
24 - unclassified
25
26 *votes-for-changes*
27 See |develop.txt| for development plans. You can vote for which items should
28 be worked on, but only if you sponsor Vim development. See |sponsor|.
29
30 *known-bugs*
31 -------------------- Known bugs and current work -----------------------
32
33 ":pedit %" with a BufReadPre autocommand causes the cursor to move to the
34 first line. (Ingo Karkat, 2008 Jul 1) Ian Kelling is working on this.
35
36 Have a look at patch for utf-8 line breaking. (Yongwei Wu, 2008 Mar 1, Mar 23)
37
38 netrw: dragging status line causes selection of entry. Should check row
39 number to be below last visible line.
40
41 Runtime files for Clojure. (Toralf Wittner, 2008 Jun 25)
42
43 Patch to add extra argument to glob() and globpath() to ignore 'wildignore'.
44 (Ingo Karkat, 2008 Jun 25)
45
46 Crash with dragn-n-drop of file combined with netrw (Marius Gedminas, 2008 Jun
47 11) I can't reproduce it. It's probably caused by a handle_drop() call
48 in combination with autocommands that invoke a ":redraw" command.
49 Another valgrind output Jun 30.
50
51 When reallocating cmdline xp_pattern becomes invalid. Move expand_T xpc into
52 ccline? (Dominique Pelle)
53
54 Wildmenu not deleted: "gvim -u NONE", ":set nocp wildmenu cmdheight=3
55 laststatus=2", CTRL-D CTRL-H CTRL-H CTRL-H. (A.Politz, 2008 April 1)
56 Works OK with Vim in an xterm.
57
58 When using ":e ++enc=foo file" and the file is already loaded with
59 'fileencoding' set to "bar", then do_ecmd() uses that buffer, even though the
60 fileencoding differs. Reload the buffer in this situation? Need to check for
61 the buffer to be unmodified.
62 Unfinished patch by Ian Kelling, 2008 Jul 11. Followup Jul 14, need to have
63 another look at it.
64
65 Fix for matchparen HL doesn't work. beep.
66
67 Win32: associating a type with Vim doesn't take care of space after a
68 backslash? (Robert Vibrant, 2008 Jun 5)
69
70 After using <Tab> for command line completion after ":ta blah" and getting E33
71 (no tags file), further editing the command to e.g., ":echo 'blah'", the
72 command is not executed. Fix by Ian Kelling?
73
74 ":help s/~" jumps to *s/\~*, while ":help s/\~" doesn't find anything. (Tim
75 Chase) Fix by Ian Kelling, 2008 Jul 14.
76
77 Despite adding save_subexpr() this still doesn't work properly:
78 Regexp: matchlist('12a4aaa', '^\(.\{-}\)\(\%5c\@<=a\+\)\(.\+\)\?')
79 Returns ['12a4', 'aaa', '4aaa'], should be ['12a4', 'aaa', '']
80 Backreference not cleared when retrying after \@<= fails?
81 (Brett Stahlman, 2008 March 8)
82
83 Patch for 2html.vim to avoid "&nbsp;". (Markus Heidelberg, 2008 Jul 19)
84
85 Win32: remote editing fails when the current directory name contains "[".
86 (Ivan Tishchenko, Liu Yubao) Suggested patch by Chris Lubinski: Avoid
87 escaping characters where the backslash is not removed later. Asked Chris for
88 an alternate solution, also for src/ex_getln.c.
89 This also fails when the file or directory name contains "%". (Thoml, 2008
90 July 7)
91
92 The str2special() function doesn't handle multi-byte characters properly.
93 Patch from Vladimir Vichniakov, 2007 Apr 24.
94 Should clean up the whole function. Also allow modifiers like <S-Char-32>?
95 find_special_key() also has this problem.
96
97 Problem with 'langmap' parsing. (James Vega, 2008 Jan 27)
98 Problem with 'langmap' being used on the rhs of a mapping. (Nikolai Weibull,
99 2008 May 14)
100
101 Problem with CTRL-F. (Charles Campbell, 2008 March 21)
102 Only happens with "gvim -geometry "160x26+4+27" -u NONE -U NONE prop.c".
103 'lines' is 54. (2008 March 27)
104
105 Unexpectedly inserting a double quote. (Anton Woellert, 2008 Mar 23)
106 Works OK when 'cmdheight' is 2.
107
108 The utf class table is missing some entries:
109 0x2212, minus sign
110 0x2217, star
111 0x2500, bar
112 0x26ab, circle
113
114 Visual line mode doesn't highlight properly when 'showbreak' is used and the
115 line doesn't fit. (Dasn, 2008 May 1)
116
117 GUI: In Normal mode can't yank the modeless selection. Make "gy" do this?
118 Works like CTRL-Y in Command line mode.
119
120 Mac: After a ":vsplit" the left scrollbar doesn't appear until 'columns' is
121 changed or the window is resized.
122
123 Mac: Patch for configure: remove arch from ruby link args. (Knezevic, 2008
124 Mar 5) Alternative: Kazuki Sakamoto, Mar 7.
125
126 Mac: trouble compiling with Motif, requires --disable-darwin. (Raf, 2008 Aug
127 1) Reply by Ben Schmidt.
128
129 ":emenu" works with the translated menu name. Should also work with the
130 untranslated name. Would need to store both the English and the translated
131 name. Patch by Bjorn Winckler, 2008 Mar 30.
132
133 C't: On utf-8 system, editing file with umlaut through Gnome results in URL
134 with %nn%nn, which is taken as two characters instead of one.
135 Try to reproduce at work.
136
137 Patch for redo register. (Ben Schmidt, 2007 Oct 19)
138 Await response to question to make the register writable.
139
140 Problem with 'ts' set to 9 and 'showbreak' to ">>>". (Matthew Winn, 2007 Oct
141 1)
142
143 Including NFA regexp code:
144 Use "\%#= to set the engine: 0 = automatic, 1 = backtracking, 2 = new.
145 Useful in tests.
146 Performance tests:
147 - ~/vim/test/veryslow.js (file from Daniel Fetchinson)
148 - ~/vim/test/slowsearch
149 - ~/vim/test/rgb.vim
150 - search for a.*e*exn in the vim executable. Go to last line to use
151 'hlsearch'.
152
153 Using Aap to build Vim: add remarks about how to set personal preferences.
154 Example on http://www.calmar.ws/tmp/aap.html
155
156 Syntax highlighting wrong for transparent region. (Doug Kearns, 2007 Feb 26)
157 Bug in using a transparent syntax region. (Hanlen in vim-dev maillist, 2007
158 Jul 31)
159
160 C syntax: {} inside () causes following {} to be highlighted as error.
161 (Michalis Giannakidis, 2006 Jun 1)
162
163 When 'diffopt' has "context:0" a single deleted line causes two folds to merge
164 and mess up syncing. (Austin Jennings, 2008 Jan 31)
165
166 Gnome improvements: Edward Catmur, 2007 Jan 7
167 Also use Save/Discard for other GUIs
168
169 New PHP syntax file, use it? (Peter Hodge)
170
171 'foldcolumn' in modeline applied to wrong window when using a session. (Teemu
172 Likonen, March 19)
173
174 The documentation mentions the priority for ":2match" and ":3match", but it
175 appears the last one wins. (John Beckett, 2008 Jul 22) Caused by adding
176 matchadd()? Suggested patch by John, 2008 Jul 24.
177
178 Replace ccomplete.vim by cppcomplete.vim from www.vim.org? script 1520
179 by Vissale Neang. (Martin Stubenschrott)
180 Asked Vissale to make the scripts more friendly for the Vim distribution.
181 New version received 2008 Jan 6.
182
183 Cheng Fang made javacomplete. (2007 Aug 11)
184 Asked about latest version: 0.77.1 is on www.vim.org.
185
186 More AmigaOS4 patches. (Peter Bengtsson, Nov 9)
187
188 Insert mode completion: When editing the text and pressing CTRL-N again goes
189 back to originally completed text, edited text is gone. (Peng Yu, 2008 Jul 24)
190 Suggestion by Ben Schmidt, 2008 Aug 6.
191
192 Problem with compound words? (Bert, 2008 May 6)
193 No warning for when flags are defined after they are used in an affix.
194
195 With Visual selection, "r" and then CTRL-C Visual mode is stopped but the
196 highlighting is not removed.
197
198 Screen redrawing when continuously updating the buffer and resizing the
199 terminal. (Yakov Lerner, 2006 Sept 7)
200
201 Add option settings to help ftplugin. (David Eggum, 2006 Dec 18)
202
203 Autoconf problem: when checking for iconv library we may add -L/usr/local/lib,
204 but when compiling further tests -liconv is added without the -L argument,
205 that may fail (e.g., sizeof(int)). (Blaine, 2007 Aug 21)
206
207 When opening quickfix window, disable spell checking?
208
209 Popup menu redraw: Instead of first redrawing the text and then drawing the
210 popup menu over it, first draw the new popup menu, remember its position and
211 size and then redraw the text, skipping the characters under the popup menu.
212 This should avoid flicker. Other solution by A.Politz, 2007 Aug 22.
213
214 When the popup menu is close to the edge of the window it is truncated. Patch
215 to anchor the popup menu in a different way. (James Vega, 2008 Jul 30)
216
217 Spell checking: Add a way to specify punctuation characters. Add the
218 superscript numbers by default: 0x2070, 0xb9, 0xb2, 0xb3, 0x2074 - 0x2079.
219
220 Windows 98: pasting from the clipboard with text from another application has
221 a trailing NUL. (Joachim Hofmann) Perhaps the length specified for CF_TEXT
222 isn't right?
223
224 Command line completion: Scanning for tags doesn't check for typed key now and
225 then? Hangs for about 5 seconds. Appears to be caused by finding include
226 files with "foo/**" in 'path'. (Kalisiak, 2006 July 15)
227 Additional info: When using the |wildcards| ** globing, vim hangs
228 indefinitely on lots of directories. The |file-searching| globing, like in
229 ":set path=/**" does not hang as often as with globing with |wildcards|, like
230 in ":1find /**/file". This is for a files that unix "find" can find very
231 quick. Merging the 2 kinds of globing might make this an easier fix. (Ian
232 Kelling, 2008 July 4)
233
234 When the file name has parenthesis, e.g., "foo (bar).txt", ":!ls '%'" has the
235 parenthesis escaped but not the space. That's inconsistent. Either escape
236 neither or both. No escaping might be best, because it doesn't depend on
237 particularities of the shell. (Zvi Har'El, 2007 Nov 10) (Teemu Likonen, 2008
238 Jun 3)
239 However, for backwards compatibility escaping might be necessary. Check if
240 the user put quotes around the expanded item?
241
242 Color for cUserLabel should differ from case label, so that a mistake in a
243 switch list is noticed:
244 switch (i)
245 {
246 case 1:
247 foobar:
248 }
249
250 Look at http://www.gtk-server.org/ . It has a Vim script implementation.
251
252 Netbeans problem. Use "nc -l 127.0.0.1 55555" for the server, then run gvim
253 with "gvim -nb:localhost:55555:foo". From nc do: '1:editFile!0 "foo"'. Then
254 go to Insert mode and add a few lines. Then backspacing every other time
255 moves the cursor instead of deleting. (Chris Kaiser, 2007 Sep 25)
256
257 Redraw problem when appending digraph causes line to wrap. (James Vega, 2007
258 Sep 18) Patch by Ian Kelling, 2008 Aug 8.
259
260 Changes for Win32 makefile. (Mike Williams, 2007 Jan 22, Alexei Alexandrov,
261 2007 Feb 8)
262
263 Patch for Win32 clipboard under Cygwin. (Frodak Baksik, Feb 15)
264 Sutcliffe says it works well.
265 Update 2007 May 22 for Vim 7.1
266
267 Win32: Patch for convert_filterW(). (Taro Muraoka, 2007 Mar 2)
268
269 Win32: Patch for cscope external command. (Mike Williams, 2007 Aug 7)
270
271 ":cscope find f filename" doesn't work because of the extra space. (Ethan
272 Mallove)
273
274 Win32: XPM support only works with path without spaces. Patch by Mathias
275 Michaelis, 2006 Jun 9. Another patch for more path names, 2006 May 31.
276 New version: http://members.tcnet.ch/michaelis/vim/patches.zip (also for other
277 patches by Mathias, see mail Feb 22)
278
279 Win32: compiling with normal features and OLE fails. Patch by Mathias
280 Michaelis, 2006 Jun 4.
281
282 Win32: echo doesn't work for gvim.exe.mnf. Use inline file. Patch by Mathias
283 Michaelis. http://groups.yahoo.com/group/vimdev/message/43765
284 Patch that includes this and does more by George Reilly, 2007 Feb 12
285
286 Win16: include patches to make Win16 version work. (Vince Negri, 2006 May 22)
287
288 Win32: after "[I" showing matches, scroll wheel messes up screen. (Tsakiridis,
289 2007 Feb 18)
290 Patch by Alex Dobrynin, 2007 Jun 3. Also fixes other scroll wheel problems.
291
292 Win32: using CTRL-S in Insert mode doesn't remove the "+" from the tab pages
293 label. (Tsakiridis, 2007 Feb 18) Patch from Ian Kelling, 2008 Aug 6.
294
295 When 'bomb' is changed the window title is updated to show/hide a "+", but the
296 tab page label isn't. (Patrick Texier, 2008 Jun 24)
297
298 Win32: using "gvim --remote-tab-silent fname" sometimes gives an empty screen
299 with the more prompt. Caused by setting the guitablabel? (Thomas Michael
300 Engelke, 2007 Dec 20 - 2008 Jan 17)
301
302 Win64: diff.exe crashes on Win64. (Julianne Bailey, 2006 Dec 12)
303 Build another diff.exe somehow?
304
305 Win64: Seek error in swap file for a very big file (3 Gbyte). Check storing
306 pointer in long and seek offset in 64 bit var.
307
308 Win32: patch for fullscreen mode. (Liushaolin, 2008 April 17)
309
310 When file b is a link to file a and editing b twice you get the correct
311 warning for existing swap file, but when trying to recover it doesn't find the
312 swapfile. (Matt Wozniski, 2008 Aug 5)
313
314 Pressing the 'pastetoggle' key doesn't update the statusline. (Jan Christoph
315 Ebersbach, 2008 Feb 1)
316
317 Menu item that does "xxd -r" doesn't work when 'fileencoding' is utf-16.
318 Check for this and use iconv? (Edward L. Fox, 2007 Sep 12)
319 Does the conversion in the other direction work when 'filenecodings' is set
320 properly?
321
322 Cursor displayed in the wrong position when using 'numberwidth'. (James Vega,
323 2007 Jun 21)
324
325 When $VAR contains a backslash expand('$VAR') removes it. (Teemu Likonen, 2008
326 Jun 18)
327
328 If the variable "g:x#y#z" exists completion after ":echo g:x#" doesn't work.
329
330 F1 - F4 in an xterm produce a different escape sequence when used with a
331 modifier key. Need to catch three different sequences. Use K_ZF1, like
332 K_ZHOME? (Dickey, 2007 Dec 2)
333
334 Problem finding swap file for recovery. (Gautam Iyer, 2006 May 16)
335
336 UTF-8: mapping a multi-byte key where the second byte is 0x80 doesn't appear
337 to work. (Tony Mechelynck, 2007 March 2)
338
339 In debug mode, using CTRL-R = to evaluate a function causes stepping through
340 the function. (Hari Krishna Dara, 2006 Jun 28)
341
342 C++ indenting wrong with "=". (James Kanze, 2007 Jan 26)
343
344 ":lockvar" should use copyID to avoid endless loop.
345
346 When using --remote-silent and the file name matches 'wildignore' get an E479
347 error. without --remote-silent it works fine. (Ben Fritz, 2008 Jun 20)
348
349 Gvim: dialog for closing Vim should check if Vim is busy writing a file. Then
350 use a different dialog: "busy saving, really quit? yes / no".
351
352 Check other interfaces for changing curbuf in a wrong way. Patch like for
353 if_ruby.c.
354
355 Problem with cursorcolumn highlighting and folds. (John Mullin, 2008 Jul 18)
356
357 Spell checking in popup menu: If the only problem is the case of the first
358 character, don't offer "ignore" and "add to word list".
359
360 ":helpgrep" should use the directory from 'helpfile'.
361
362 The need_fileinfo flag is messy. Instead make the message right away and put
363 it in keep_msg?
364
365 Editing a file remotely that matches 'wildignore' results in a "no match"
366 error. Should only happen when there are wildards, not when giving the file
367 name literally, and esp. if there is only one name.
368
369 Test 61 fails sometimes. This is a timing problem: "sleep 2" sometimes takes
370 longer than 2 seconds.
371
372 Changing 'guifont' in the console causes an unnecessary redraw.
373
374 "vim -C" often has 'nocompatible', because it's set in some startup script.
375 Set 'compatible' after startup is done? Patch by James Vega, 2008 Feb 7.
376
377 VMS: while editing a file found in complex, Vim will save file into the first
378 directory of the path and not to the original location of the file.
379 (Zoltan Arpadffy)
380
381 VMS: VFC files are in some cases truncated during reading (Zoltan Arpadffy)
382
383 input() completion should not insert a backslash to escape a space in a file
384 name?
385
386 getpos()/setpos() don't include curswant. getpos() could return a fifth
387 element. setpos() could accept an optional fifth element.
388
389 Ruby completion is insecure. Can this be fixed?
390
391 When 'backupskip' is set from $TEMP special characters need to be escaped.
392 (patch by Grembowietz, 2007 Feb 26, not quite right)
393 Another problem is that file_pat_to_reg_pat() doesn't recognize "\\", so "\\("
394 will be seen as a path separator plus "\(".
395
396 ":python os.chdir('/tmp')" makes short buffer names invalid. (Xavier de Gaye)
397 Check directory and call shorten_fnames()?
398
399 aucmd_prepbuf() should also use a window in another tab page.
400
401 Substituting an area with a line break with almost the same area does change
402 the Visual area. Can this be fixed? (James Vega, 2006 Sept 15)
403
404 Windows installer could add a "open in new tab of existing Vim" menu entry.
405 Gvimext: patch to add "Edit with single Vim &tabbed" menu entry.
406 Just have two choices, always using one Vim and selecting between using an
407 argument list or opening each file in a separate tab.
408 (Erik Falor, 2008 May 21, 2008 Jun 26)
409
410 GUI: When combining fg en bg make sure they are not equal.
411
412 Use different pt_br dictionary for spell checking. (Jackson A. Aquino, 2006
413 Jun 5)
414
415 Mac: Using gvim: netrw window disappears. (Nick Lo, 2006 Jun 21)
416
417 When 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a. Compare with
418 using "ga" on a NUL when 'ff' is "unix". (Andy Wokula, 2008 Jul 16)
419
420 Add an option to specify the character to use when a double-width character is
421 moved to the next line. Default '>', set to a space to blank it out. Check
422 that char is single width when it's set (compare with 'listchars').
423
424 The generated vim.bat can avoid the loop for NT. (Carl Zmola, 2006 Sep 3)
425
426 In a C file with spell checking, in "% integer" "nteger" is seen as an error,
427 but "]s" doesn't find it. "nteger" by itself is found. (Ralf Wildenhues, 2008
428 Jul 22)
429
430 Session file creation: 'autochdir' causes trouble. Keep it off until after
431 loading all files.
432
433 When showing a diff between a non-existant file and an existing one, with the
434 cursor in the empty buffer, the other buffer only shows the last line. Change
435 the "insert" into a change from one line to many? (Yakov Lerner, 2008 May 27)
436
437 Add autocommand for when a tabpage is being closed. Also for when a tab page
438 has been created.
439
440 Using ":make" blocks Vim. Allow running one make in the background (if the
441 shell supports it), catch errors in a file and update the error list on the
442 fly. A bit like "!make > file&" and repeating ":cf file". ":bgmake",
443 background make. ":bgcancel" interrupts it.
444 A.Politz may work on this.
445
446 The spellfile plugin checks for a writable "spell" directory. A user may have
447 a writable runtime directory without a "spell" directory, it could be created
448 then.
449
450 These two abbreviations don't give the same result:
451 let asdfasdf = "xyz\<Left>"
452 cabbr XXX <C-R>=asdfasdf<CR>
453 cabbr YYY xyz<Left>
454
455 Michael Dietrich: maximized gvim sometimes displays output of external command
456 partly. (2006 Dec 7)
457
458 In FileChangedShell command it's no longer allowed to switch to another
459 buffer. But the changed buffer may differ from the current buffer, how to
460 reload it then?
461
462 New syntax files for fstab and resolv from Radu Dineiu, David Necas did
463 previous version.
464
465 For Aap: include a config.arg.example file with hints how to use config.arg.
466
467 Command line completion when 'cmdheight' is maximum and 'wildmenu' is set,
468 only one buffer line displayed, causes display errors.
469
470 Completing with 'wildmenu' and using <Up> and <Down> to move through directory
471 tree stops unexpectedly when using ":cd " and entering a directory that
472 doesn't contain other directories.
473
474 Linux distributions:
475 - Suggest compiling xterm with --enable-tcap-query, so that nr of colors is
476 known to Vim. 88 colors instead of 16 works better. See ":help
477 xfree-xterm".
478 - Suggest including bare "vi" and "vim" with X11, syntax, etc.
479
480 Completion menu: For a wrapping line, completing a long file name, only the
481 start of the path is shown in the menu. Should move the menu to the right to
482 show more text of the completions. Shorten the items that don't fit in the
483 middle?
484
485 When running inside screen it's possible to kill the X server and restart it
486 (using pty's the program can keep on running). Vim dies because it loses the
487 connection to the X server. Can Vim simply quit using the X server instead of
488 dying? Also relevant when running in a console.
489
490 Accessing file#var in a function should not need the g: prepended.
491
492 When ":cn" moves to an error in the same line the message isn't shortened.
493 Only skip shortening for ":cc"?
494
495 Write "making vim work better" for the docs (mostly pointers): *nice*
496 - sourcing $VIMRUNTIME/vimrc_example.vim
497 - setting 'mouse' to "a"
498 - getting colors in xterm
499 - compiling Vim with X11, GUI, etc.
500
501 Problem with ":call" and dictionary function. Hari Krishna Dara, Charles
502 Campbell 2006 Jul 06.
503
504 Syntax HL error caused by "containedin". (Peter Hodge, 2006 Oct 6)
505
506 A custom completion function in a ":command" cannot be a Funcref. (Andy
507 Wokula, 2007 Aug 25)
508
509 Problem with using :redir in user command completion function? (Hari Krishna
510 Dara, 2006 June 21)
511
512 GTK: When maximizing Vim the result is slightly smaller, the filler border is
513 not there, and the "maximize" button is still there. Clicking it again does
514 give a maximized window. (Darren Hiebert)
515 Problem is that gui_mch_set_text_area_pos() is invoked to change the text area
516 size, which causes the toplevel window to resize. When doing this while the
517 size is already right the filler remains there.
518 Detect using the maximize button (GdkWindowState bit
519 GDK_WINDOW_STATE_MAXIMIZED) and set it again?
520
521 Another resizing problem when setting 'columns' and 'lines' to a very large
522 number. (Tony Mechelynck, 2007 Feb 6)
523
524 GTK: when using the -geom argument with an offset from the right edge and the
525 size is smaller than the default, the Vim window is not positioned properly.
526
527 After starting Vim, using '0 to jump somewhere in a file, ":sp" doesn't center
528 the cursor line. It works OK after some other commands.
529
530 Win32: Is it possible to have both postscript and Win32 printing?
531 Does multi-byte printing with ":hardcopy" work? Add remark in documentation
532 about this.
533
534 There should be something about spell checking in the user manual.
535
536 Check: Running Vim in a console and still having connect to the X server for
537 copy/paste: is stopping the X server handled gracefully? Should catch the X
538 error and stop using the connection to the server.
539
540 Problem with 'cdpath' on MS-Windows when a directory is equal to $HOME. (2006
541 Jul 26, Gary Johnson)
542
543 In the Netbeans interface add a "vimeval" function, so that the other side can
544 check the result of has("patch13").
545
546 Add command modifier that skips wildcard expansion, so that you don't need to
547 put backslashes before special chars, only for white space.
548
549 Win32: When the GUI tab pages line is displayed Vim jumps from the secondary
550 to the primary monitor. (Afton Lewis, 2007 Mar 9) Old resizing problem?
551
552 GTK: when the Tab pages bar appears or disappears while the window is
553 maximized the window is no longer maximized. Patch that has some idea but
554 doesn't work from Geoffrey Antos, 2008 May 5.
555
556 The magic clipboard format "VimClipboard2" appears in several places. Should
557 be only one.
558
559 "vim -C" often has 'nocompatible', because it's set somewhere in a startup
560 script. Do "set compatible" after startup?
561
562 It's difficult to debug numbered functions (function in a Dictionary). Print
563 the function name before resolving it to a number?
564 let d = {}
565 fun! d.foo()
566 echo "here"
567 endfun
568 call d.foo(9)
569
570 Add a mark for the other end of the Visual area (VIsual pos). '< and '> are
571 only set after Visual moded is ended.
572 Also add a variable for the Visual mode. So that this mode and '< '> can be
573 used to set what "gv" selects. (Ben Schmidt)
574
575 Win32: When running ":make" and 'encoding' differs from the system locale, the
576 output should be converted. Esp. when 'encoding' is "utf-8". (Yongwei Wu)
577 Should we use 'termencoding' for this?
578
579 Win32, NTFS: When editing an specific infostream directly and 'backupcopy' is
580 "auto" should detect this situation and work like 'backupcopy' is "yes". File
581 name is something like "c:\path\foo.txt:bar", includes a colon. (Alex
582 Jakushev, 2008 Feb 1)
583
584 Small problem displaying diff filler line when opening windows with a script.
585 (David Luyer, 2007 Mar 1 ~/Mail/oldmail/mool/in.15872 )
586
587 Is it allowed that 'backupext' is empty? Problems when backup is in same dir
588 as original file? If it's OK don't compare with 'patchmode'. (Thierry Closen)
589
590 Patch for supporting count before CR in quickfix window. (AOYAMA Shotaro, 2007
591 Jan 1)
592
593 Patch for adding ":lscscope". (Navdeep Parhar, 2007 Apr 26; update 2008 Apr
594 23)
595
596 ":mkview" isn't called with the right buffer argument. Happens when using
597 tabs and the autocommand "autocmd BufWinLeave * mkview". (James Vega, 2007
598 Jun 18)
599
600 xterm should be able to pass focus changes to Vim, so that Vim can check for
601 buffers that changed. Perhaps in misc.c, function selectwindow().
602 Xterm 224 supports it!
603
604 When completing from another file that uses a different encoding completion
605 text has the wrong encoding. E.g., when 'encoding' is utf-8 and file is
606 latin1. Example from Gombault Damien, 2007 Mar 24.
607
608 Is it possible to use "foo#var" instead of "g:foo#var" inside a function?
609
610 Syntax HL: When using "nextgroup" and the group has an empty match, there is
611 no search at that position for another match. (Lukas Mai, 2008 April 11)
612
613 Spell menu: When using the Popup menu to select a replacement word,
614 ":spellrepeat" doesn't work. SpellReplace() uses setline(). Can it use "z="
615 somehow? Or use a new function.
616
617 In gvim the backspace key produces a backspace character, but on Linux the
618 VERASE key is Delete. Set VERASE to Backspace? (patch by Stephane Chazelas,
619 2007 Oct 16)
620
621 When entering a C /* comment, after typing <Enter> for 70 times the indent
622 disappears. (Vincent Beffara, 2008 Jul 3)
623
624 TermResponse autocommand isn't always triggered when using vimdiff. (Aron
625 Griffis, 2007 Sep 19)
626
627 Patch for supporting #rrggbb in color terminals. (Matt Wozniski)
628
629 Create a gvimtutor.1 file and change Makefiles to install it.
630
631
632 Vim 7.3:
633 - Add patch for 'relativenumber' option? Markus Heidelberg, 2008 Jun 27.
634 - Add blowfish encryption. Openssl has an implementation. Also by Paul
635 Kocher (LGPL), close to original. Mohsin also has some ideas.
636 Take four bytes and turn them into unsigned to avoid byte-order problems.
637 Need to buffer up to 7 bytes to align on 8 byte boundaries.
638 - ":{range}source": source the lines from the file.
639 You can already yank lines and use :@" to execute them.
640 Most of do_source() would not be used, need a new function.
641 It's easy when not doing breakpoints or profiling.
642
643
644 More patches:
645 - Add 'cscopeignorecase' option. (Liang Wenzhi, 2006 Sept 3)
646 - Argument for feedkeys() to prepend to typeahead (Yakov Lerner, 2006 Oct
647 21)
648 - Load intl.dll too, not only libintl.dll. (Mike Williams, 2006 May 9, docs
649 patch May 10)
650 - Extra argument to strtrans() to translate special keys to their name (Eric
651 Arnold, 2006 May 22)
652 - 'threglookexp' option: only match with first word in thesaurus file.
653 (Jakson A. Aquino, 2006 Jun 14)
654 - Mac: indicate whether a buffer was modified. (Nicolas Weber, 2006 Jun 30)
655 - Allow negative 'nrwidth' for left aligning. (Nathan Laredo, 2006 Aug 16)
656 - ml_append_string(): efficiently append to an existing line. (Brad
657 Beveridge, 2006 Aug 26) Use in some situations, e.g., when pasting a
658 character at a time?
659 - gettabvar() and settabvar() functions. (Yegappan Lakshmanan, 2007 Sep 13,
660 2008 Jun 12)
661 - recognize hex numbers better. (Mark Manning, 2006 Sep 13)
662 - Add <AbbrExpand> key, to expand an abbreviation in a mapping. (Kana
663 Natsuno, 2008 Jul 17)
664 - Add 'wspara' option, also accept blank lines like empty lines for "{" and
665 "}". (Mark Lundquist, 2008 Jul 18)
666 - Patch to add CTRL-T to delete part of a path on cmdline. (Adek, 2008 Jul
667 21)
668 - Instead of creating a copy of the tutor in all the shell scripts, do it in
669 vimtutor.vim. (Jan Minar, 2008 Jul 20)
670 - When fsync() fails there is no hint about what went wrong. Patch by Ben
671 Schmidt, 2008 Jul 22.
672
673
674 Awaiting updated patches:
675 9 Mac unicode patch (Da Woon Jung, Eckehard Berns):
676 8 Add patch from Muraoka Taro (Mar 16) to support input method on Mac?
677 New patch 2004 Jun 16
678 - selecting proportional font breaks display
679 - UTF-8 text causes display problems. Font replacement causes this.
680 - Command-key mappings do not work. (Alan Schmitt)
681 - With 'nopaste' pasting is wrong, with 'paste' Command-V doesn't work.
682 (Alan Schmitt)
683 - remove 'macatsui' option when this has been fixed.
684 - when 'macatsui' is off should we always convert to "macroman" and ignore
685 'termencoding'?
686 9 HTML indenting can be slow. Caused by using searchpair(). Can search()
687 be used instead? A.Politz is looking into a solution.
688 8 Win32: Add minidump generation. (George Reilly, 2006 Apr 24)
689 8 Add ":n" to fnamemodify(): normalize path, remove "../" when possible.
690 Aric Blumer has a patch for this. He will update the patch for 6.3.
691 7 Completion of network shares, patch by Yasuhiro Matsumoto.
692 Update 2004 Sep 6.
693 How does this work? Missing comments.
694 - Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav
695 Smilauer, 2004 Sep 13, fix Oct 31, update 2007 May 30)
696 8 Add a few more command names to the menus. Patch from Jiri Brezina
697 (28 feb 2002). Will mess the translations...
698 7 ATTENTION dialog choices are more logical when "Delete it' appears
699 before "Quit". Patch by Robert Webb, 2004 May 3.
700 - Include flipcase patch: ~/vim/patches/wall.flipcase2 ? Make it work
701 for multi-byte characters.
702 - Win32: add options to print dialog. Patch from Vipin Aravind.
703 - Patch to add highlighting for whitespace. (Tom Schumm, 2003 Jul 5)
704 use the patch that keeps using HLF_8 if HLF_WS has not
705 been given values.
706 Add section in help files for these highlight groups?
707 8 "fg" and "bg" don't work in an xterm. Get default colors from xterm
708 with an ESC sequence.
709 xterm can send colors for many things. E.g. for the cursor:
710 <Esc>]12;?<Bel>
711 Can use this to get the background color and restore the colors on exit.
712 7 Add "DefaultFG" and "DefaultBG" for the colors of the menu. (Marcin
713 Dalecki has a patch for Motif and Carbon)
714 - Add possibility to highlight specific columns (for Fortran). Or put a
715 line in between columns (e.g., for 'textwidth').
716 Patch to add 'hlcolumn' from Vit Stradal, 2004 May 20.
717 8 Add functions:
718 gettext() Translate a message. (Patch from Yasuhiro Matsumoto)
719 Update 2004 Sep 10
720 Another patch from Edward L. Fox (2005 Nov 24)
721 Search in 'runtimepath'?
722 More docs needed about how to use this.
723 How to get the messages into the .po files?
724 charlen() Like strlen() but counting characters instead of
725 bytes.
726 confirm() add "flags" argument, with 'v' for vertical
727 layout and 'c' for console dialog. (Haegg)
728 Flemming Madsen has a patch for the 'c' flag
729 (2003 May 13)
730 raisewin() raise gvim window (see HierAssist patch for
731 Tcl implementation ~/vim/HierAssist/ )
732 taglist() add argument to specify maximum number of matches.
733 useful for interactive things or completion.
734 col('^') column of first non-white character.
735 Can use "len(substitute(getline('.'), '\S.*', '', ''))
736 + 1", but that's ugly.
737 7 Add patch from Benoit Cerrina to integrate Vim and Perl functions
738 better. Now also works for Ruby (2001 Nov 10)
739 - Patch from Herculano de Lima Einloft Neto for better formatting of the
740 quickfix window (2004 dec 2)
741 7 When 'rightleft' is set, the search pattern should be displayed right
742 to left as well? See patch of Dec 26. (Nadim Shaikli)
743 8 Option to lock all used memory so that it doesn't get swapped to disk
744 (uncrypted). Patch by Jason Holt, 2003 May 23. Uses mlock.
745 7 Support a stronger encryption. Jason Holt implemented AES (May 6 2003).
746 7 Add ! register, for shell commands. (patch from Grenie)
747 8 In the gzip plugin, also recognize *.gz.orig, *.gz.bak, etc. Like it's
748 done for filetype detection. Patch from Walter Briscoe, 2003 Jul 1.
749 7 Add a "-@ filelist" argument: read file names from a file. (David
750 Kotchan has a patch for it)
751 8 Include a connection to an external program through a pipe? See
752 patches from Felbinger for a mathematica interface.
753 Or use emacs server kind of thing?
754 7 Add ":justify" command. Patch from Vit Stradal 2002 Nov 25.
755 - findmatch() should be adjusted for Lisp. See remark at
756 get_lisp_indent(). Esp. \( and \) should be skipped. (Dorai Sitaram,
757 incomplete patch Mar 18)
758 - For GUI Find/Replace dialog support using a regexp. Patch for Motif
759 and GTK by degreneir (nov 10 and nov 18).
760 - Patch for "paranoid mode" by Kevin Collins, March 7. Needs much more work.
761
762
763 Vi incompatibility:
764 - Try new POSIX tests, made after my comments. (Geoff Clare, 2005 April 7)
765 Version 1.5 is in ~/src/posix/1.5. (Lynne Canal)
766 8 With undo/redo only marks in the changed lines should be changed. Other
767 marks should be kept. Vi keeps each mark at the same text, even when it
768 is deleted or restored. (Webb)
769 Also: A mark is lost after: make change, undo, redo and undo.
770 Example: "{d''" then "u" then "d''": deletes an extra line, because the ''
771 position is one line down. (Veselinovic)
772 8 When stdin is not a tty, and Vim reads commands from it, an error should
773 make Vim exit.
774 7 Unix Vim (not gvim): Typing CTRL-C in Ex mode should finish the line
775 (currently you can continue typing, but it's truncated later anyway).
776 Requires a way to make CTRL-C interrupt select() when in cooked input.
777 8 When loading a file in the .exrc, Vi loads the argument anyway. Vim skips
778 loading the argument if there is a file already. When no file argument
779 given, Vi starts with an empty buffer, Vim keeps the loaded file. (Bearded)
780 6 In Insert mode, when using <BS> or <Del>, don't wipe out the text, but
781 only move back the cursor. Behaves like '$' in 'cpoptions'. Use a flag
782 in 'cpoptions' to switch this on/off.
783 8 When editing a file which is a symbolic link, and then opening another
784 symbolic link on the same file, Vim uses the name of the first one.
785 Adjust the file name in the buffer to the last one used? Use several file
786 names in one buffer???
787 Also: When first editing file "test", which is symlink to "test2", and
788 then editing "test2", you end up editing buffer "test" again. It's not
789 logical that the name that was first used sticks with the buffer.
790 7 The ":undo" command works differently in Ex mode. Edit a file, make some
791 changes, "Q", "undo" and _all_ changes are undone, like the ":visual"
792 command was one command.
793 On the other hand, an ":undo" command in an Ex script only undoes the last
794 change (e.g., use two :append commands, then :undo).
795 7 The ":map" command output overwrites the command. Perhaps it should keep
796 the ":map" when it's used without arguments?
797 7 CTRL-L is not the end of a section? It is for Posix! Make it an option.
798 7 Implement 'prompt' option. Init to off when stdin is not a tty.
799 7 CTRL-T in Insert mode inserts 'shiftwidth' of spaces at the cursor. Add a
800 flag in 'cpoptions' for this.
801 7 Add a way to send an email for a crashed edit session. Create a file when
802 making changes (containing name of the swap file), delete it when writing
803 the file. Supply a program that can check for crashed sessions (either
804 all, for a system startup, or for one user, for in a .login file).
805 7 Vi doesn't do autoindenting when input is not from a tty (in Ex mode).
806 7 "z3<CR>" should still use the whole window, but only redisplay 3 lines.
807 7 ":tag xx" should move the cursor to the first non-blank. Or should it go
808 to the match with the tag? Option?
809 7 Implement 'autoprint'/'ap' option.
810 7 Add flag in 'cpoptions' that makes <BS> after a count work like <Del>
811 (Sayre).
812 7 Add flag in 'cpoptions' that makes operator (yank, filter) not move the
813 cursor, at least when cancelled. (default Vi compatible).
814 7 This Vi-trick doesn't work: "Q" to go to Ex mode, then "g/pattern/visual".
815 In Vi you can edit in visual mode, and when doing "Q" you jump to the next
816 match. Nvi can do it too.
817 7 Support '\' for line continuation in Ex mode for these commands: (Luebking)
818 g/./a\ g/pattern1/ s/pattern2/rep1\\
819 line 1\ line 2\\
820 line 2\ line 3\\
821 . line4/
822 6 ":e /tmp/$tty" doesn't work. ":e $uid" does. Is $tty not set because of
823 the way the shell is started?
824 6 Vi compatibility (optional): make "ia<CR><ESC>10." do the same strange
825 thing. (only repeat insert for the first line).
826
827
828 GTK+ 1 (OK in GTK 2):
829 8 When using "gvim -geom 40x30" or setting 'columns' in .gvimrc or with a
830 GUIEnter autocommand, the width is still set to fit the toolbar. Also
831 happens when changing the font. How to avoid that the toolbar specifies
832 the minimal window width?
833 8 When using a theme with different scrollbars (gtkstep), the scrollbars can
834 be too narrow. (Drazen Kacar)
835 8 Font "7x14" has a bold version "7x14bold". Try to find the bold font by
836 appending "bold" when there are not 14 dashes.
837
838 GTK+ GUI known bugs:
839 9 Crash with X command server over ssh. (Ciaran McCreesh, 2006 Feb 6)
840 8 GTK 2: Combining UTF-8 characters not displayed properly in menus (Mikolaj
841 Machowski) They are displayed as separate characters. Problem in
842 creating a label?
843 8 GTK 2: Combining UTF-8 characters are sometimes not drawn properly.
844 Depends on the font size, "monospace 13" has the problem. Vim seems to do
845 everything right, must be a GTK bug. Is there a way to work around it?
846 9 Can't paste a Visual selection from GTK-gvim to vim in xterm or Motif gvim
847 when it is longer than 4000 characters. Works OK from gvim to gvim and
848 vim to vim. Pasting through xterm (using the shift key) also works.
849 It starts working after GTK gvim loses the selection and gains it again.
850 - Gnome2: When moving the toolbar out of the dock, so that it becomes
851 floating, it can no longer be moved. Therefore making it float has been
852 blocked for now.
853
854
855 Win32 GUI known bugs:
856 - Win32: tearoff menu window should have a scrollbar when it's taller than
857 the screen.
858 8 non-ASCII font names don't work. Need to convert from 'encoding' and use
859 the wide functions.
860 8 On Windows 98 the unicows library is needed to support functions with UCS2
861 file names. Can we load unicows.dll dynamically?
862 8 When the primary monitor is below or right of the secondary monitor and
863 Vim is on the secondary monitor it will often move to the primary monitor.
864 Window position coordinates can be negative. (James Harvey)
865 8 The -P argument doesn't work very well with many MDI applications.
866 The last argument of CreateWindowEx() should be used, see MSDN docs.
867 Tutorial: http://win32assembly.online.fr/tut32.html
868 8 In eval.c, io.h is included when MSWIN32 is defined. Shouldn't this be
869 WIN32? Or can including io.h be moved to vim.h? (Dan Sharp)
870 7 Windows XP: When using "ClearType" for text smoothing, a column of yellow
871 pixels remains when typing spaces in front of a "D" ('guifont' set to
872 "lucida_console:h8").
873 6 Win32 GUI: With "-u NONE -U NONE" and doing "CTRL-W v" "CTRL-W o", the ":"
874 of ":only" is highlighted like the cursor. (Lipelis)
875 8 When 'encoding' is "utf-8", should use 'guifont' for both normal and wide
876 characters to make Asian languages work. Win32 fonts contain both
877 type of characters.
878 7 When font smoothing is enabled, redrawing can become very slow. The reason
879 appears to be drawing with a transparent background. Would it be possible
880 to use an opaque background in most places?
881 8 Use another default for 'termencoding': the active codepage. Means that
882 when 'encoding' is changed typing characters still works properly.
883 Alternative: use the Unicode functions to obtain typed characters.
884 8 Win32: Multi-byte characters are not displayed, even though the same font
885 in Notepad can display them. (Srinath Avadhanula) Try with the
886 UTF-8-demo.txt page with Andale Mono.
887 7 The cursor color indicating IME mode doesn't work properly. (Shizhu Pan,
888 2004 May 9)
889 8 Win32: When clicking on the gvim title bar, which gives it focus, produces
890 a file-changed dialog, after clicking on a button in that dialog the gvim
891 window follows the mouse. The button-up event is lost. Only with
892 MS-Windows 98?
893 Try this: ":set sw ts", get enter-prompt, then change the file in a
894 console, go back to Vim and click "reload" in the dialog for the changed
895 file: Window moves with the cursor!
896 Put focus event in input buffer and let generic Vim code handle it?
897 8 Win32: When mouse is hidden and in the toolbar, moving it won't make it
898 appear. (Sami Salonen)
899 8 Win32 GUI: With maximized window, ":set go-=r" doesn't use the space that
900 comes available. (Poucet) It works OK on Win 98 but doesn't work on Win
901 NT 4.0. Leaves a grey area where the scrollbar was. ":set go+=r" also
902 doesn't work properly.
903 8 When Vim is minimized and when maximizing it a file-changed dialog pops
904 up, Vim isn't maximized. It should be done before the dialog, so that it
905 appears in the right position. (Webb)
906 9 When selecting at the more-prompt or hit-enter-prompt, the right mouse
907 button doesn't give popup menu.
908 At the hit-enter prompt CTRL-Y doesn't work to copy the modeless
909 selection.
910 On the command line, don't get a popup menu for the right mouse button.
911 Let the middle button paste selected text (not the clipboard but the
912 non-Visual selection)? Otherwise CTRL-Y has to be used to copy the text.
913 8 When 'grepprg' doesn't execute, the error only flashes by, the
914 user can hardly see what is wrong. (Moore)
915 Could use vimrun with an "-nowait" argument to only wait when an error
916 occurs, but "command.com" doesn't return an error code.
917 8 When the 'shell' cannot be executed, should give an appropriate error msg.
918 Esp. for a filter command, currently it only complains the file could not
919 be read.
920 7 Add an option to add one pixel column to the character width? Lucida
921 Console italic is wider than the normal font ("d" overlaps with next char).
922 Opposite of 'linespace': 'columnspace'.
923 7 At the hit-enter prompt scrolling now no longer works. Need to use the
924 keyboard to get around this. Pretend <CR> was hit when the user tries to
925 scroll?
926 7 Scrollbar width doesn't change when selecting other windows appearance.
927 Also background color of Toolbar and rectangle below vert. scrollbar.
928 7 "!start /min cmd" should run in a minimized window, instead of using
929 "/min" as the command name. (Rogall)
930 6 Drawing text transparently doesn't seem to work (when drawing part cursor).
931 8 CTRL key doesn't always work in combination with ALT key. It does work
932 for function keys, not for alphabetic characters. Perhaps this is because
933 CTRL-ALT is used by Windows as AltGr?
934 8 CTRL-- doesn't work for AZERTY, because it's CTRL-[ for QWERTY. How do we
935 know which keyboard is being used?
936 7 When scrolling, and a background color is dithered, the dither pattern
937 doesn't always join correctly between the scrolled area and the new drawn
938 area (Koloseike).
939 8 When gui_init_font() is called with "*", p_guifont is freed while it might
940 still be used somewhere. This is too tricky, do the font selection first,
941 then set the new font by name (requires putting all logfont parameters in
942 the font name).
943
944
945 Athena and Motif:
946 6 New Motif toolbar button from Marcin Dalecki:
947 - When the mouse pointer is over an Agide button the red becomes black.
948 Something with the way colors are specified in the .xpm file.
949 - The pixmap is two pixels smaller than it should be. The gap is filled
950 with grey instead of the current toolbar background color.
951 9 Can configure be changed to disable netbeans if the Xpm library is
952 required and it's missing?
953 8 When using the resource "Vim*borderwidth 2" the widgets are positioned
954 wrong.
955 9 XIM is disabled by default for SGI/IRIX. Fix XIM so that 'imdisable' can
956 be off by default.
957 9 XIM doesn't work properly for Athena/Motif. (Yasuhiro Matsumoto) For now,
958 keep XIM active at all times when the input method has the preediting
959 flag.
960 8 X11: A menu that contains an umlaut is truncated at that character.
961 Happens when the locale is "C", which uses ASCII instead of IS0-8859-1.
962 Is there a way to use latin1 by default? Gnome_init() seems to do this.
963 8 Perhaps use fontsets for everything?
964 6 When starting in English and switching the language to Japanese, setting
965 the locale with ":lang", 'guifontset' and "hi menu font=", deleting all
966 menus and setting them again, the menus don't use the new font. Most of
967 the tooltips work though...
968 7 Motif: when using a file selection dialog, the specified file name is not
969 always used (when specifying a filter or another directory).
970 8 When 'encoding' is different from the current locale (e.g., utf-8) the
971 menu strings don't work. Requires conversion from 'encoding' to the
972 current locale. Workaround: set 'langmenu'.
973
974
975 Athena GUI:
976 9 When dragging the scrollbar thumb very fast, focus is only obtained in
977 the scrollbar itself. And the thumb is no longer updated when moving
978 through files.
979 7 The file selector is not resizable. With a big font it is difficult to
980 read long file names. (Schroeder)
981 4 Re-write the widget attachments and code so that we will not have to go
982 through and calculate the absolute position of every widget every time the
983 window is refreshed/changes size. This will help the "flashing-widgets"
984 problem during a refresh.
985 5 When starting gvim with all the default colors and then typing
986 ":hi Menu guibg=cyan", the menus change color but the background of the
987 pullright pixmap doesn't change colors.
988 If you type ":hi Menu guibg=cyan font=anyfont", then the pixmap changes
989 colors as it should.
990 Allocating a new pixmap and setting the resource doesn't change the
991 pullright pixmap's colors. Why? Possible Athena bug?
992
993
994 Motif GUI:
995 - gui_mch_browsedir() is missing.
996 7 Use XmStringCreateLocalized() instead of XmStringCreateSimple()?
997 David Harrison says it's OK (it exists in Motif 1.2).
998 8 Lesstif: When deleting a menu that's torn off, the torn off menu becomes
999 very small instead of disappearing. When closing it, Vim crashes.
1000 (Phillipps)
1001
1002
1003 GUI:
1004 9 On Solaris, creating the popup menu causes the right mouse button no
1005 longer to work for extending the selection. (Halevy)
1006 9 When running an external program, it can't always be killed with CTRL-C.
1007 e.g., on Solaris 5.5, when using "K" (Keech). Other 'guipty' problems on
1008 Solaris 2.6. (Marley)
1009 9 On Solaris: Using a "-geometry" argument, bigger than the window where Vim
1010 is started from, causes empty lines below the cmdline. (raf)
1011 8 X11 GUI: When menu is disabled by excluding 'm' from 'guioptions', ALT key
1012 should not be used to trigger a menu (like the Win32 version).
1013 8 When setting 'langmenu', it should be effective immediately. Store both
1014 the English and the translated text in the menu structure. Re-generate
1015 the translation when 'langmenu' has changed.
1016 8 Basic flaw in the GUI code: NextScreen is updated before calling
1017 gui_write(), but the GUI code relies on NextScreen to represent the state
1018 of where it is processing the output.
1019 Need better separation of Vim core and GUI code.
1020 8 When fontset support is enabled, setting 'guifont' to a single font
1021 doesn't work.
1022 8 Menu priority for sub-menus for: Amiga, BeOS.
1023 8 When translating menus ignore the part after the Tab, the shortcut. So
1024 that the same menu item with a different shortcut (e.g., for the Mac) are
1025 still translated.
1026 8 Add menu separators for Amiga, RISCOS.
1027 8 Add way to specify the file filter for the browse dialog. At least for
1028 browse().
1029 8 Add dialog for search/replace to other GUIs? Tk has something for this,
1030 use that code? Or use console dialog.
1031 8 When selecting a font with the font dialog and the font is invalid, the
1032 error message disappears too quick.
1033 7 More features in the find/replace dialog:
1034 - regexp on/off
1035 - search in selection/buffer/all buffers/directory
1036 when all buffers/directory is used:
1037 - filter for file name
1038 when directory is used:
1039 - subdirectory on/off
1040 - top directory browser
1041 8 gui_check_colors() is not called at the right moment. Do it much later,
1042 to avoid problems.
1043 8 gui_update_cursor() is called for a cursor shape change, even when there
1044 are mappings to be processed. Only do something when going to wait for
1045 input. Or maybe every 100 ms?
1046 8 X11: When the window size is reduced to fit on screen, there are blank
1047 lines below the text and bottom scrollbar. "gvim -geometry 80x78+0+0".
1048 When the "+0+0" is omitted it works.
1049 8 When starting an external command, and 'guipty' set, BS and DEL are mixed
1050 up. Set erase character somehow?
1051 8 A dead circumflex followed by a space should give the '^' character
1052 (Rommel). Look how xterm does this.
1053 Also: Bednar has some code for dead key handling.
1054 Also: Nedit 5.0.2 with USE_XMIM does it right. (Gaya)
1055 8 The compose key doesn't work properly (Cepas). Both for Win32 and X11.
1056 7 The cursor in an inactive window should be hollow. Currently it's not
1057 visible.
1058 7 GUI on Solaris 2.5.1, using /usr/dt/..: When gvim starts, cursor is
1059 hollow, after window lowered/raised it's OK. (Godfrey)
1060 7 When starting GUI with ":gui", and window is made smaller because it
1061 doesn't fit on the screen, there is an extra redraw.
1062 8 When setting font with .Xdefaults, there is an extra empty line at the
1063 bottom, which disappears when using ":set guifont=<Tab>". (Chadzelek)
1064 8 When font shape changes, but not the size, doing ":set font=" does not
1065 redraw the screen with the new font. Also for Win32.
1066 When the size changes, on Solaris 2.5 there isn't a redraw for the
1067 remaining part of the window (Phillipps).
1068 - Flashes really badly in certain cases when running remotely from a Sun.
1069 4 Re-write the code so that the highlighting isn't changed multiple times
1070 when doing a ":hi clear". The color changes happen three or more times
1071 currently. This is very obvious on a 66Mhz 486.
1072
1073
1074 MSDOS/DJGPP:
1075 9 Pressing CTRL-C often crashes the console Vim runs in. (Ken Liao)
1076 When 'bioskey' isn't set it doesn't happen. Could be a problem with the
1077 BIOS emulation of the console. Version 5.6 already had this problem.
1078 8 DJGPP: "cd c:" can take us to a directory that no longer exists.
1079 change_drive() doesn't check this. How to check for this error?
1080 9 The 16 bit version runs out of memory very quickly. Should find unused
1081 code and reduce static data. Resetting 'writebackup' helps to be able to
1082 write a file.
1083 9 Crash when running on Windows 98 in a console window and pressing CTRL-C.
1084 Happens now and then. When debugging Vim in gdb this also happens. Since
1085 the console crashes, might be a bug in the DOS console. Resetting
1086 'bioskey' avoids it, but then CTRL-C doesn't work.
1087 9 DOS: Make CTRL-Fx and ALT-Fx work.
1088 CTRL-F1 = CE-5E, CTRL-F2 = CE-5F, .., CTRL-F10 = CE-67
1089 ALT-F1 = CE-68, ALT-F2 = CE-69, .., ALT-F10 = CE-71
1090 Shifted cursor keys produce same codes as unshifted keys. Use bioskey(2)
1091 to get modifier mask for <S-C-M-Fx>.
1092 Use K_SPECIAL/KS_MODIFIER codes to insert modifier mask in input stream?
1093 Make this work like in Win32 console.
1094 Mapping things like <M-A> doesn't work, because it generates an extended
1095 key code. Use a translation table?
1096 9 Can't read an opened swap file when the "share" command has not been used.
1097 At least ignore the swap files that Vim has opened itself.
1098 8 Use DJGPP 2.03.
1099 8 The Dos32 version (DJGPP) can't use long file names on Windows NT.
1100 Check if new package can be used (v2misc/ntlfn08[bs].zip).
1101 8 setlocale() is bogus.
1102 8 Vim busy waits for new characters or mouse clicks. Should put in some
1103 sort of sleep, to avoid eating 50% of the CPU time. Test on an unpatched
1104 Windows 95 system!
1105 8 DJGPP: when shell is bash, make fails. (Donahoe)
1106 7 Hitting CTRL-P twice quickly (e.g., in keyword completion) on a 8088
1107 machine, starts printer echo! (John Mullin).
1108 7 MSDOS 16 bit version can't work with COMSPEC that has an argument, e.g.:
1109 COMSPEC=C:\WINDOWS\COMMAND.COM /E:4096 (Bradley)
1110 Caused by BCC system() function (Borland "make" has the same problem).
1111 8 Mouse: handle left&right button pressed as middle button pressed. Add
1112 modifier keys shift, ctrl and alt.
1113 7 When too many files are open (depends on FILES), strange things happen.
1114 The Dos16 version runs out of memory, in the Dos32 version "!ls" causes a
1115 crash. Another symptom: .swp files are not deleted, existing files are
1116 "[New file]".
1117 7 DJGPP version doesn't work with graphics display mode. Switch to a mode
1118 that is supported?
1119 8 DJGPP: ":mode" doesn't work for many modes. Disable them.
1120 8 DJGPP: When starting in Ex mode, shouldn't clear the screen. (Walter
1121 Briscoe)
1122
1123
1124 MSDOS, OS/2 and Win32:
1125 8 OS/2: Add backtick expansion. Undefine NO_EXPANDPATH and use
1126 gen_expand_wildcards().
1127 8 OS/2: Add clipboard support? See example clipbrd.exe from Alexander
1128 Wagner.
1129 8 OS/2: Add Extended Attributes support and define HAVE_ACL.
1130 8 OS/2: When editing a file name "foo.txt" that is actually called FOO.txt,
1131 writing uses "foo.txt". Should obtain the real file name.
1132 8 Should $USERPROFILE be preferred above $HOMEDRIVE/$HOMEPATH? No, but it's
1133 a good fallback, thus use:
1134 $HOME
1135 $HOMEDRIVE$HOMEPATH
1136 SHGetSpecialFolderPath(NULL, lpzsPath, CSIDL_APPDATA, FALSE);
1137 $USERPROFILE
1138 SHGetSpecialFolderPath(NULL, lpzsPath, CSIDL_COMMON_APPDATA, FALSE);
1139 $ALLUSERSPROFILE
1140 $SYSTEMDRIVE\
1141 C:\
1142 8 Win32 console: <M-Up> and <M-Down> don't work. (Geddes) We don't have
1143 special keys for these. Should use modifier + key.
1144 8 Win32 console: caps-lock makes non-alpha keys work like with shift.
1145 Should work like in the GUI version.
1146 8 Environment variables in DOS are not case sensitive. Make a define for
1147 STRCMP_ENV(), and use it when comparing environment var names.
1148 8 Setting 'shellslash' has no immediate effect. Change all file names when
1149 it is set/reset? Or only use it when actually executing a shell command?
1150 8 When editing a file on a Samba server, case might matter. ":e file"
1151 followed by ":e FILE" will edit "file" again, even though "FILE" might be
1152 another one. Set last used name in buflist_new()? Fix do_ecmd(), etc.
1153 8 When a buffer is editing a file like "ftp://mach/file", which is not going
1154 to be used like a normal file name, don't change the slashes to
1155 backslashes. (Ronald Hoellwarth)
1156
1157
1158 Windows 95:
1159 8 Editing a file by it's short file name and writing it, makes the long file
1160 name disappear. Setting 'backupcopy' helps.
1161 Use FindFirstFile()->cAlternateFileName in fname_case() (George Reilly).
1162 8 Doing wildcard expansion, will match the short filename, but result in the
1163 long filename (both DJGPP and Win32).
1164
1165
1166 Win32 console:
1167 9 When editing a file by its short file name, it should be expanded into its
1168 long file name, to avoid problems like these: (Mccollister)
1169 1) Create a file called ".bashrc" using some other editor.
1170 2) Drag that file onto a shortcut or the actual executable.
1171 3) Note that the file name is something like BASHRC~1
1172 4) Go to File->Save As menu item and type ".bashrc" as the file name.
1173 5) Press "Yes" to indicate that I want to overwrite the file.
1174 6) Note that the message "File exists (add ! to override)" is displayed
1175 and the file is not saved.
1176 Use FindFirstFile() to expand a file name and directory in the path to its
1177 long name.
1178 8 Also implement 'conskey' option for the Win32 console version? Look at
1179 how Xvi does console I/O under Windows NT.
1180 7 Re-install the use of $TERM and support the use of different terminals,
1181 besides the console.
1182 8 Use of <altgr> modifier doesn't work? 5.3 was OK. (Garcia-Suarez/Guckes)
1183 9 Mapping <C-S-Tab> doesn't work correctly. How to see the difference with
1184 <C-S-i>?
1185 9 tmpnam() uses file in root of file system: "\asdf". That doesn't work on
1186 a Netware network drive. Use same function as for Win32 GUI?
1187 8 In os_win32.h, HAVE_STRICMP and HAVE_STRNICMP are defined only if __GNUC__
1188 is not defined. Shouldn't that be the other way around?
1189 7 Use SetConsoleCP() and SetConsoleOutputCP() to implement 'termencoding'?
1190 Avoids that input and output work differently. Need to be restored when
1191 exiting.
1192
1193
1194 Amiga:
1195 8 In mch_inchar() should use convert_input_safe() to handle incomplete byte
1196 sequences.
1197 9 In mch_expandpath() a "*" is to be expanded, but "\*" isn't. Remove
1198 backslashes in result.
1199 8 Executing a shell, only one option for 'shell' is separated. Should do
1200 all options, using white space separation.
1201
1202
1203 Macintosh:
1204 - GUI: gui_mch_browsedir() is missing.
1205 7 Patch to add 'transparency' option. Disadvantage: it's slow. (Eckehard
1206 Berns, 2004 May 9) http://ecki.to/vim/TransBack-2004-05-09.diff
1207 Needs more work. Add when someone really wants it.
1208 7 Loading the Perl library only works on OS/X 10.2 or 10.3, never on both.
1209 Load the Perl library dynamically see Python sources file dynload_mac
1210 (Jack)
1211 dynamic linking: http://developer.apple.com/technotes/tn2002/tn2064.html
1212 8 Inputting Unicode characters does not work in the terminal. They appear
1213 to arrive as upper and lower bytes. (David Brown, 2004 April 17)
1214 8 Typing Unicode characters doesn't work at all in the GUI.
1215 8 inputdialog() doesn't resize when giving more text lines. (David Fishburn,
1216 2006 Sept 28)
1217 9 Problems in Carbon version for OS X: (Benji Fisher)
1218 - keyboard shortcuts in the menus get lost.
1219 8 The Vim/About menu doesn't work.
1220 8 ":gui" doesn't fork. Enabling the code in gui.c to fork causes a SEGV.
1221 8 Define vim_mkdir() for Macintosh.
1222 8 Define mch_writable() for Macintosh.
1223 8 Some file systems are case-sensitive, some are not. Turn
1224 CASE_INSENSITIVE_FILENAME into an option, at least for completion.
1225 9 When DiskLock is running, using a swap file causes a crash. Appears to be
1226 a problem with writing a file that starts with a dot. (Giacalone)
1227 9 On G3 Mac, OS version 8, control strip causes characters messed up when
1228 scrolling (CTRL-L cleans it up). (Benji Fisher)
1229 9 On G3 Mac, OS version 8, variable-speed scrolling doesn't work, after two
1230 seconds of scrolling the screen freezes. (Benji Fisher)
1231 9 In mac_expandpath() check that handling of backslashes is done properly.
1232 8 Standard Mac shortcuts are missing. (Amerige)
1233 8 Handling of non-fixed width fonts is wrong. (Amerige)
1234
1235
1236 "Small" problems:
1237 - Can't disable terminal flow control, to enable the use of CTRL-S and
1238 CTRL-Q. Add an option for it?
1239 - When using e_secure in do_one_cmd() mention the command being executed,
1240 otherwise it's not clear where it comes from.
1241 9 For Turkish vim_tolower() and vim_toupper() also need to use utf_
1242 functions for characters below 0x80. (Sertacyildiz)
1243 9 When the last edited file is a help file, using '0 in a new Vim doesn't
1244 edit the file as a help file. 'filetype' is OK, but 'iskeyword' isn't,
1245 file isn't readonly, etc.
1246 8 When an ":edit" is inside a try command and the ATTENTION prompt is used,
1247 the :catch commands are always executed, also when the file is edited
1248 normally. Should reset did_emsg and undo side effects. Also make sure
1249 the ATTENTION message shows up. Servatius Brandt works on this.
1250 8 ":g//" gives "Pattern not found error" with E486. Should not use the
1251 error number, it's not a regular error message.
1252 7 Vimtutor leaves escape sequence in terminal. This is the xterm response to
1253 requesting the version number. (Yasuhiro Matsumoto)
1254 8 When redirecting and using ":silent" the current column for displaying and
1255 redirection can be different. Use a separate variable to hold the column
1256 for redirection.
1257 7 The messages for "vim --help" and "vim --version" don't use
1258 'termencoding'.
1259 - Could the hit-enter prompt be avoided when a message only overlaps the
1260 'showcmd' area? Clear that area when the next cmd is typed.
1261 8 When 'scrollbind' is set, a window won't scroll horizontally if the cursor
1262 line is too short. Add a word in 'scrollopt' to allow moving the cursor
1263 to longer line that is visible. A similar thing is done for the GUI when
1264 using the horizontal scrollbar.
1265 7 VisVim can only open one file. Hard to solve: each opened file is passed
1266 with a separate invocation, would need to use timestamps to know the
1267 invocations belong together.
1268 8 When giving a ":bwipeout" command a file-changed dialog may popup for this
1269 buffer, which is pointless. (Mike Williams)
1270 8 On MS-Windows ":make" doesn't show output while it is working. Use the
1271 tee.exe from http://unxutils.sourceforge.net/ ? About 16 Kbyte in the
1272 UnxUtils.zip archive.
1273 Alternate one: http://www.pramodx.20m.com/tee_for_win32.htm, but Walter
1274 Briscoe says it's not as good.
1275 8 "stl" and "stlnc" in 'fillchars' don't work for multi-byte characters.
1276 8 When doing Insert mode completion a mapping cannot recursively call
1277 edit(), because the completion information is global. Put everything in
1278 an allocated structure?
1279 6 Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
1280 8 Command line completion: buffers "foo.txt" and "../b/foo.txt", completing
1281 ":buf foo<Tab>" doesn't find the second one. (George V. Reilly)
1282 7 Output for ":scriptnames" and ":breaklist" should shorten the file names:
1283 use "~/" when possible.
1284 7 mb_off2cells() doesn't work correctly on the tail byte of a double-byte
1285 character. (Yasuhiro Matsumoto) It should return 1 when used on a tail
1286 byte, like for utf-8. Store second byte of double-byte in ScreenLines2[]
1287 (like for DBCS_JPNU) and put a zero in the second byte (like for UTF-8).
1288 8 'backupdir' and 'directory' should use $TMPDIR, $TMP and/or $TEMP when
1289 defined.
1290 7 Inside a function with "perl <<EOF" a line with "$i++" is recognized as an
1291 ":insert" command, causing the following "endfunction" not to be found.
1292 Add skipping this perl construction inside function definitions.
1293 7 When 'ttimeoutlen' is 10 and 'timeoutlen' is 1000, there is a keycode
1294 "<Esc>a" and a mapping <Esc>x", when typing "<Esc>a" with half a second
1295 delay should not be interpreted as a keycode. (Hans Ginzel)
1296 7 ":botright 1 new" twice causes all window heights to be changed. Make the
1297 bottom window only bigger as much as needed.
1298 7 The Cygwin and MingW makefiles define "PC", but it's not used anywhere.
1299 Remove? (Dan Sharp)
1300 9 User commands use the context of the script they were defined in. This
1301 causes a "s:var" argument to unexpectedly use a variable in the defining
1302 script, not the calling script. Add an argument to ":command":
1303 "-keepcontext". Do replace <SID>, so that a function in the defining
1304 script can be called.
1305 8 The Japanese message translations for MS-Windows are called ja.sjis.po,
1306 but they use encoding cp932. Rename the file and check that it still
1307 works.
1308 8 A very long message in confirm() can't be quit. Make this possible with
1309 CTRL-C.
1310 7 clip_x11_own_selection() uses CurrentTime, that is not allowed. VNC X
1311 server has a problem with this. (Mark Waggoner) Remembering the timestamp
1312 of events isn't always possible. We don't get them in an xterm. GTK
1313 doesn't obtain the selection again when the timestamp differs, thus it
1314 won't work for GTK anyway.
1315 8 When the clipboard isn't supported: ":yank*" gives a confusing error
1316 message. Specifically mention that the register name is invalid.
1317 8 "gf" always excludes trailing punctuation characters. file_name_in_line()
1318 is currently fixed to use ".,:;!". Add an option to make this
1319 configurable?
1320 8 'hkmap' should probably be global-local.
1321 9 When "$" is in 'cpoptions' and folding is active, a "C" command changes
1322 the folds and resets w_lines_valid. The display updating doesn't work
1323 then. (Pritesh Mistry)
1324 8 Using ":s" in a function changes the previous replacement string. Save
1325 "old_sub" in save_search_patterns()?
1326 8 Should allow multi-byte characters for the delimiter: ":s+a+b+" where "+"
1327 is a multi-byte character.
1328 8 When appending to a file and 'patchmode' isn't empty, a backup file is
1329 always written, even when the original file already exists.
1330 7 When using "daw" on the last word in a file and this is a single letter,
1331 nothing is deleted. Should delete the letter and preceding white space.
1332 9 When getting focus while writing a large file, could warn for this file
1333 being changed outside of Vim. Avoid checking this while the file is being
1334 written.
1335 7 The message in bt_dontwrite_msg() could be clearer.
1336 8 The script ID that is stored with an option and displayed with ":verbose
1337 set" isn't reset when the option is set internally. For example when
1338 'foldlevel' is set from 'foldlevelstart'.
1339 8 Also store the line number with the script ID and use it for ":verbose",
1340 so that "set nocompatible" is found when it changes other option values.
1341 When an option is set indirectly mention the command? E.g. when
1342 ":diffsplit" sets 'foldmethod'.
1343 8 In the fileformat dialog, "Cancel" isn't translated. Add a global
1344 variable for this. (Eduardo Fernandez)
1345 9 When editing a file with 'readonly' set, there is no check for an existing
1346 swap file. Then using ":write" (without making any changes) doesn't give
1347 a warning either. Should check for an existing swap file without creating
1348 one. Unfinished patch by Ian Kelling, 2008 July 14.
1349 7 When 'showbreak' is set, the amount of space a Tab occupies changes.
1350 Should work like 'showbreak' is inserted without changing the Tabs.
1351 7 When 'mousefocus' is set and switching to another window with a typed
1352 command, the mouse pointer may be moved to a part of the window that's
1353 covered by another window and we lose focus. Only move in the y
1354 direction, not horizontally?
1355 8 ":hardcopy":
1356 - Using the cterm_color[] table is wrong when t_colors is > 16.
1357 - Need to handle unprintable characters.
1358 - Win32: On a B&W printer syntax highlighting isn't visible. Perform
1359 dithering to make grey text?
1360 - Add a flag in 'printoptions' to add an empty page to make the total
1361 number even. "addempty"? (Mike Williams)
1362 - Respect 'linebreak'. Perhaps also 'showbreak'?
1363 - Should interpreted CTRL-L as a page break.
1364 - Grey line numbers are not always readable. Add field in 'printoptions'.
1365 Default to black when no syntax highlighting.
1366 - Be able to print a window in diff mode.
1367 - Be able to specify a colorscheme to use for printing. And a separate
1368 one for B&W printing (if that can be detected).
1369 8 In Visual block mode with 'lbr' set, a change command doesn't insert the
1370 text in following lines where the linebreak changes.
1371 9 dosinst.c: The DJGPP version can't uninstall the Uninstall registry key on
1372 Windows NT. How to install a .inf file on Windows NT and how to detect
1373 that Windows NT is being used?
1374 8 When 'virtualedit' is "block,insert" and encoding is "utf-8", selecting a
1375 block of one double-wide character, then "d" deletes only half of it.
1376 8 When 'virtualedit' is set, should "I" in blockwise visual mode also insert
1377 in lines that don't extend into the block?
1378 8 With 'virtualedit' set, in Insert mode just after the end of line, CTRL-O
1379 yh does not yank the last character of the line. (Pavel Papushev)
1380 Doing "hl" first appears to make it work.
1381 8 With 'virtualedit' set it's possible to move into the blank area from
1382 'linebreak'.
1383 8 With 'virtualedit' set and 'selection' "exclusive", a Visual selection
1384 that ends in or after a tab, "d" doesn't delete (part of) the tab.
1385 (Helmut Stiegler)
1386 8 With 'virtualedit' set, a blockwise Visual selection that starts and ends
1387 in a tab, "<" shifts too much. (Helmut Stiegler)
1388 9 When jumping to a tag, the search pattern is put in the history. When
1389 'magic' is on, the pattern may not work. Translate the pattern depending
1390 on p_magic when putting it in the history? Alternative: Store value of
1391 'magic' in history. (Margo)
1392 9 optwin.vim: Restoring a mapping for <Space> or <CR> is not correct for
1393 ":noremap". Add "mapcmd({string}, {mode})? Use code from ":mkexrc".
1394 9 incsearch is incorrect for "/that/<Return>/this/;//" (last search pattern
1395 isn't updated).
1396 9 term_console is used before it is set (msdos, Amiga).
1397 9 Get out-of-memory for ":g/^/,$s//@/" on 1000 lines, this is not handled
1398 correctly. Get many error messages while redrawing the screen, which
1399 cause another redraw, etc.
1400 8 [<C-I> doesn't work when '*' is in 'iskeyword'. find_pattern_in_path()
1401 must escape special characters in the pattern.
1402 8 Vim can overwrite a read-only file with ":w!". ":w" can't overwrite an
1403 existing file, "w!" can, but perhaps not a read-only file? Then use
1404 ":w!!" for that.
1405 Or ask for permission to overwrite it (if file can be made writable) and
1406 restore file to readonly afterwards.
1407 Overwriting a file for which a swap file exists is similar issue.
1408 7 When compiled with "xterm_clipboard", startup can be slower and might get
1409 error message for invalid $DISPLAY. Try connecting to the X server in the
1410 background (forked), so that Vim starts up quicker? Connect as soon as
1411 the clipboard is to be used (Visual select mode starts, paste from
1412 clipboard)
1413 7 X11: Some people prefer to use CLIPBOARD instead of PRIMARY for the normal
1414 selection. Add an "xclipboard" argument to the 'clipboard' option? (Mark
1415 Waggoner)
1416 8 For xterm need to open a connection to the X server to get the window
1417 title, which can be slow. Can also get the title with "<Esc>[21t", no
1418 need to use X11 calls. This returns "<Esc>]l{title}<Esc>\".
1419 6 When the xterm reports the number of colors, a redraw occurs. This is
1420 annoying on a slow connection. Wait for the xterm to report the number of
1421 colors before drawing the screen. With a timeout.
1422 8 When the builtin xterm termcap contains codes that are not wanted, need a
1423 way to avoid using the builtin termcap.
1424 8 Xterm sends ^[[H for <Home> and ^[[F for <End> in some mode. Also
1425 recognize these keys? Mostly useful for xterm simulators, like gnometerm.
1426 See http://dickey.his.com/xterm/xterm.faq.html#xterm_pc_style.
1427 8 For xterm also recognize keypad up/down/left/right and insert.
1428 8 '[ and '] should be set to start/end of line when using a linewise operator
1429 (e.g., ":w").
1430 8 CTRL-A can't handle big "long" numbers, they become negative. Check for
1431 "-" character, if not present, use unsigned long.
1432 8 Make it possible to disable the special meaning of "#" in the first column
1433 for ">>".
1434 8 Add suspending with CTRL-Z at the "more" prompt, and when executing a long
1435 script in do_cmdline().
1436 8 When using 'hidden', many swap files will be open. When Vim runs into the
1437 maximum number of open files, error messages will appear. Detect that
1438 this problem is present, and close any hidden files that don't have
1439 changes.
1440 8 With 'viminfo' set such that the ".viminfo" file is written on a FAT
1441 filesystem, an illegal file name may be created: ".vim".
1442 8 For each buffer that is opened, the viminfo file is opened and read to
1443 check for file marks. This can be slow.
1444 7 In xterm, recognize both vt100 and vt220 cursor keys. Change
1445 add_termcode() to not remove an existing entry for a name, when it's
1446 needed.
1447 Need a generic solution to recognize different codes for the same key.
1448 8 Core dump within signal function: gdb doesn't show stack backtrace! Option
1449 to skip catch_signals()?
1450 9 Repeating a "cw" with "." doesn't work if the text was pasted from the
1451 clipboard. (Thomas Jones) It's because the menu/toolbar item exits Insert
1452 mode and uses "gP". How to fix this without breaking inserting a block of
1453 text?
1454 8 In Replace mode pasting from the clipboard (using menu or toolbar) inserts
1455 all the text. Add ":rmenu"?
1456 8 Pasting with the mouse in Replace mode inserts the text, instead of
1457 overwriting, when it is more than one line. Same for using <C-R>.
1458 9 CTRL-E and CTRL-Y don't work in small window when 'so' is 4 and lines are
1459 wrapping (Acevedo/in.226). E.g., when using CTRL-E, window height 7,
1460 window might actually scroll down when last line of buffer is displayed.
1461 --> Remember if the previous command was "cursor follows screen" or
1462 "screen follow cursor" and use this in cursupdate().
1463 7 tilde_replace() can only handle "~/", should also do "~user/".
1464 Get the list of home directories (from /etc/passwd? Use getpwent()) and
1465 use some clever algorithm to match a path with that. Find common strings
1466 in the list?
1467 8 When dragging status line with mouse, sometimes a jump when first clicking
1468 on the status line (caused by 'winheight'). Select window on button up,
1469 instead of on button down.
1470 8 Dragging the status line doesn't scroll but redraw.
1471 9 Evaluating 'statusline' in build_stl_str_hl() does not properly check for
1472 reaching the end of the available buffer.
1473 Patch to dynamically allocate the buffer for % items. (Eric Arnold, 2006
1474 May 14)
1475 8 When performing incremental search, should abort searching as soon as a
1476 character is typed.
1477 8 When the value of $MAKE contains a path, configure can't handle this.
1478 It's an autoconf bug. Remove the path from $MAKE to work around it.
1479 8 How to set VIMRC_FILE to \"something\" for configure? Why does this not
1480 work: CFLAGS='-DVIMRC_FILE=\"/mydir/myfile\"' ./configure
1481 8 The temporary file is sometimes not writable. Check for this, and use an
1482 alternate name when it isn't. Or add the 'temptemplate' option: template
1483 for the temp file name ":set temptemplate=/usr/tmp/?????.tmp".
1484 Also: Win32 version uses Windows temp directory, which might not work for
1485 cygwin bash.
1486 7 Get error "*, \+ or \( operand could be empty" for pattern "\(.\)\1\{3}".
1487 Remember flags for backreferences.