*todo.txt* For Vim version 7.3. Last change: 2010 Aug 15 VIM REFERENCE MANUAL by Bram Moolenaar TODO list for Vim *todo* This is a veeeery long list of known bugs, current work and desired improvements. To make it a little bit accessible, the items are grouped by subject. In the first column of the line a classification is used to be able to look for "the next thing to do": Priority classification: 9 next point release 8 next release 7 as soon as possible 6 soon 5 should be included 4 nice to have 3 consider including 2 maybe not 1 probably not - unclassified *votes-for-changes* See |develop.txt| for development plans. You can vote for which items should be worked on, but only if you sponsor Vim development. See |sponsor|. *known-bugs* -------------------- Known bugs and current work ----------------------- ":find e" completion, editing a file in the Vim source directory, 'path' set to "./proto", does not shorten ./proto/eval.pro, probably because of ./proto/ex_eval.pro. Problem with \NL in Ex script. (Ray Frish, 2010 Aug 10) Bug: E685 error for func_unref(). (ZyX, 2010 Aug 5) CTRL-] on help tag |/[\n]| doesn't jump to the right place. (Tony Mechelynck, 2010 Aug 8) ":command Print echo 'print'" works, but ":Print" doesn't. Builtin Print should be overruled. (Aaron Thoma) GTK: drawing a double-width combining character over single-width characters doesn't look right. (Dominique Pelle, 2010 Aug 8) Editing a file with a ^M with 'ff' set to "mac", opening a help file, then the ^M is displayed as ^J sometimes. Getting 'ff' value from wrong window/buffer? Problem producing tags file when hebrew.frx is present. It has a BOM. Results in E670. (Tony Mechelynck, 2010 May 2) setpos() does not restore cursor position after :normal. (Tyru, 2010 Aug 11) Test 73 fails on MS-Windows when compiled with DJGPP and run twice. How to delete the Xfind directory? Add an rmdir() function, just like we have mkdir(). 'cindent' not correct when 'list' is set. (Zdravi Korusef, 2010 Apr 15) ":helpgrep" does not put the cursor in the correct column when preceded by accented character. (Tony Mechelynck, 2010 Apr 15) Echo starts in the wrong column: while 1 | let s = input('A') | echo 'R' | endw (Boyko Bantchev, 2010 Aug 9) Patch: Let rare word highlighting overrule good word highlighting. (Jakson A. Aquino, 2010 Jul 30) Patch to make more characters work in dialogs. (Yankwei Jia, 2010 Aug 4) ":drop" does not respect 'autochdir'. (Peter Odding, 2010 Jul 24) Problem with cursor in the wrong column. (SungHyun Nam, 2010 Mar 11) Additional info by Dominique Pelle. (also on 2010 Apr 10) Is ~/bin (literally) in $PATH supposed to work? (Paul, 2010 March 29) Looks like only bash can do it. (Yakov Lerner) 8 Add an event like CursorHold that is triggered repeatedly, not just once after typing something. Need for CursorHold that retriggers. Use a key that doesn't do anything, or a function that resets did_cursorhold. Cscope "cs add" stopped working somewhat before 7.2.438. (Gary Johnson, 2010 Jun 29) Caused by 7.2.433? I often see pasted text (from Firefox, to Vim in xterm) appear twice. Also, Vim in xterm sometimes loses copy/paste ability (probably after running an external command). Jumplist doesn't work properly in Insert mode? (Jean Johner, 2010 Mar 20) Problem with transparent cmdline. Also: Terminal title is wrong with non-ASCII character. (Lily White, 2010 Mar 7) iconv() doesn't fail on an illegal character, as documented. (Yongwei Wu, 2009 Nov 15, example Nov 26) Add argument to specify whether iconv() should fail or replace with a character and continue? Add local time at start of --startuptime output. Requires configure check for localtime(). Use format year-month-day hr:min:sec. Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3) Find tail? Might have a / in argument. Find space? Might have space in path. ":function f(x) keepjumps" creates a function where every command is executed like it has ":keepjumps" before it. Coverity: ask someone to create new user: Dominique. Check if there are new reported defects: http://scan.coverity.com/rung2.html When setting 'undofile' while the file is already loaded, but unchanged, try to read the undo file. Requires computing a checksum of the text. (Andy Wokula) Bug with 'incsearch' going to wrong line. (Wolfram Kresse, 2009 Aug 17) Only with "vim -u NONE". Problem with editing file in binary mode. (Ingo Krabbe, 2009 Oct 8) Display error when 'tabline' that includes a file name with double-width characters. (2010 Aug 14, bootleq) Problem with stop directory in findfile(). (Adam Simpkins, 2009 Aug 26) Undo problem: line not removed as expected when using setline() from Insert mode. (Israel Chauca, 2010 May 13, more in second msg) Break undo when CTRL-R = changes the text? Or save more lines? Change to C syntax folding to make it work much faster, but a bit less reliable. (Lech Lorens, 2009 Nov 9) Enable with an option? Most time is spent in in_id_list(). Slow combination of folding and PHP syntax highlighting. Script to reproduce it. Caused by "syntax sync fromstart" in combination with patch 7.2.274. (Christian Brabandt, 2010 May 27) When completion inserts the first match, it may trigger the line to be folded. Disable updating folds while completion is active? (Peter Odding, 2010 Jun 9) In command line window ":close" doesn't work properly. (Tony Mechelynck, 2009 Jun 1) When a:base in 'completefunc' starts with a number it's passed as a number, not a string. (Sean Ma) Need to add flag to call_func_retlist() to force a string value. There is no command line completion for ":lmap". Invalid read error in Farsi mode. (Dominique Pelle, 2009 Aug 2) For running gvim on an USB stick: avoid the OLE registration. Use a command line argument -noregister. When a mapping exists both for insert mode and lang-insert mode, the last one doesn't work. (Tyru, 2010 May 6) Or is this intended? Still a problem with ":make" in the wrong directory. Caused by ":bufdo". (Ajit Thakkar, 2009 Jul 1) More information Jul 9, Jul 15. Caused by "doautoall syntaxset BufEnter *" in syntax/nosyntax.vim ? There also is a BufLeave/BufEnter aucmd to save/restore view. Does the patch to save/restore globaldir work? ":bufdo normal gg" while 'hidden' is set leaves buffers without syntax highlighting. Don't disable Syntax autocommands then? Or add a flag/modifier to avoid changing 'eventignore'? Patch for displaying 0x200c and 0x200d. (Ali Gholami Rudi, 2009 May 6) Probably needs a bit of work. List of encoding aliases. (Takao Fujiware, 2009 Jul 18) Are they all OK? Update Jul 22. Win32: Expanding 'path' runs into a maximum size limit. (bgold12, 2009 Nov 15) Putting a Visual block while 'visualedit' is "all" does not leave the cursor on the first character. (John Beckett, 2010 Aug 7) Setting 'tags' to "tagsdir/*" does not find "tagsdir/tags". (Steven K. Wong, 2009 Jul 18) Patch to add farsi handling to arabic.c (Ali Gholami Rudi, 2009 May 2) Added test, updates, June 23. Patch to add "focusonly" to 'scrollopt', so that scrollbind also applies in window that doesn't have focus. (Jonathon Mah, 2009 Jan 12) Needs more work. Problem with