1- * todo.txt* For Vim version 7.4. Last change: 2016 Jan 21
1+ todo.txt* For Vim version 7.4. Last change: 2016 Jan 27
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -78,9 +78,24 @@ Regexp problems:
7878- "\%1l^#.*" does not match on a line starting with "#". The zero-width match
7979 clears the start-of-line flag.
8080
81+ +channel:
82+ - cleanup on exit? in mch_getout() and getout().
83+ - more contents in channel.txt
84+
8185C89: remove __ARGS in more places
82- - Script: Hirohito Higashi, Jan 21.
83- - Update to osdef.sh, Hirohito Higashi, 2016 Jan 21.
86+ - /tmp/noargs.vim
87+ - /tmp/eliminate__ARGS.vim
88+ - Script: Hirohito Higashi, Jan 25, 2nd one.
89+ - Assume HAVE_STDARG_H is always defined.
90+
91+ This difference is unexpected:
92+ echo v:true == 1
93+ 1
94+ echo [v:true] == [1]
95+ 0
96+ It's because tv_equal() works different.
97+
98+ Do we need to roll-back patch 1165, that put libintl-8.dll before libintl.dll?
8499
85100Need to try out instructions in INSSTALLpc.txt about how to install all
86101interfaces and how to build Vim with them.
@@ -96,9 +111,18 @@ work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24)
96111
97112Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15)
98113
114+ jsonencode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
115+ What if there is an invalid character?
116+
117+ Should jsonencode()/jsondecode() restrict recursiveness?
118+ Or avoid recursiveness.
119+
99120Use vim.vim syntax highlighting for help file examples, but without ":" in
100121'iskeyword' for syntax.
101122
123+ Patch to make "%:h:h" return "." instead of the full path.
124+ (Coot, 2016 Jan 24, #592)
125+
102126Remove SPACE_IN_FILENAME ? What could possibly go wrong?
103127
104128Installation of .desktop files does not work everywhere.
@@ -118,6 +142,13 @@ Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
118142More tests May 14. Update May 29. Update Aug 10.
119143Now part of large file patches. (Ken Takata, 2016 Jan 19, second one)
120144Updated patches with ordering: Jan 20.
145+ And another update: Jan 24
146+
147+ 7 Add a watchpoint in the debug mode: An expression that breaks execution
148+ when evaluating to non-zero. Add the "watchadd expr" command, stop when
149+ the value of the expression changes. ":watchdel" deletes an item,
150+ ":watchlist" lists the items. (Charles Campbell)
151+ Patch by Christian Brabandt, 2016 Jan 27.
121152
122153Using ":windo" to set options in all windows has the side effect that it
123154changes the window layout and the current window. Make a variant that saves
@@ -140,13 +171,22 @@ Instead of separately uploading patches to the ftp site, we can get them from
140171github with a URL like this:
141172 https://github.com/vim/vim/compare/v7.4.920%5E...v7.4.920.diff
142173Diff for version.c contains more context, can't skip a patch.
174+
175+ Duplication of completion suggestions for ":!hom". Issue 539.
143176>
144177 When t_Co is changed from termresponse, the OptionSet autocmmand event isn't
145178triggered. Use the code from the end of set_num_option() in
146179set_color_count().
147180
148181Python: ":py raw_input('prompt' )" doesn't work. (Manu Hack)
149182
183+ Comparing nested structures with "==" uses a different comperator than when
184+ comparing individual items.
185+ Also, "'' == 0" evaluates to true, which isn't nice.
186+ Add "===" to have a strict comparison (type and value match).
187+ Add "==*" (?) to have a value match, but no automatic conversion, and v:true
188+ equals 1 and 1.0, v:false equals 0 and 0.0.?
189+
150190Plugin to use Vim in MANPAGER. Konfekt, PR #491
151191
152192Using uninitialized memory. (Dominique Pelle, 2015 Nov 4)
@@ -171,6 +211,10 @@ Build with Python on Mac does not always use the right library.
171211(Kazunobu Kuriyama, 2015 Mar 28)
172212
173213Need a Vim equivalent of Python's None and a way to test for it.
214+ Use v:none. var == v:none
215+
216+ Patch to add arguments to argc() and argv(). (Yegappan Lakshmanan, 2016 Jan
217+ 24) Also need a way to get the global arg list? Update later on Jan 24
174218
175219To support Thai (and other languages) word boundaries, include the ICU
176220library: http://userguide.icu-project.org/boundaryanalysis
@@ -221,7 +265,7 @@ Sep 10)
221265Patch to be able to use hex numbers with :digraph. (Lcd, 2015 Sep 6)
222266Update Sep 7. Update by Christian Brabandt, 2015 Sep 8.
223267
224- Patch to improve I/O for Perl. (Damine , 2015 Jan 9)
268+ Patch to improve I/O for Perl. (Damien , 2015 Jan 9, update Jan 22 2nd one )
225269
226270Patch to set antialiasing style on Windows. (Ondrej Balaz, 2013 Mar 14)
227271Needs a different check for CLEARTYPE_QUALITY.
@@ -258,6 +302,9 @@ same thing. Remarks on issue 543 (Roland Puntaier).
258302Patch to add grepfile(). (Scott Prager, 2015 May 26)
259303Work in progress.
260304
305+ Would be useful to have a treemap() or deepmap() function. Like map() but
306+ when an item is a list or dict would recurse into it.
307+
261308Patch for global-local options consistency. (Arnaud Decara, 2015 Jul 22)
262309Is this right?
263310
@@ -326,6 +373,8 @@ Should be easy to highlight all matches with 'incsearch'. Idea by Itchyny,
326373Wrong scrolling when using incsearch. Patch by Christian Brabandt, 2014 Dec 4.
327374Is this a good solution?
328375
376+ Patch to add /pattern/ to :oldfiles. Pull #575.
377+
329378Patch to allow setting w:quickfix_title via setqflist() and setloclist()
330379functions. (Christian Brabandt, 2013 May 8, update May 21)
331380Patch to add getlocstack() / setlocstack(). (Christian Brabandt, 2013 May 14)
@@ -1115,8 +1164,6 @@ Use json format for new items in .viminfo:
11151164 |["text","text text text"
11161165 |"continuation line"]
11171166 |["hist",242342342,{"arg":"value"} ]
1118- Use \" for a single ". Use \\ for a \.
1119- See http://www.ietf.org/rfc/rfc4627.txt
11201167
11211168Writing nested List and Dict in viminfo gives error message and can't be read
11221169back. (Yukihiro Nakadaira, 2010 Nov 13)
@@ -2136,28 +2183,6 @@ Add an option for a minimal text length before inserting a line break for
21362183
21372184
21382185Better plugin support (not plugin manager, see elsewhere for that):
2139- - Add interface to another process, e.g. to run a background plugin.
2140- Can use the code from netbeans to communicate over a socket.
2141- A bit like +clientserver but without the hassle of starting another Vim.
2142- Use json for the messages.
2143- let handle = startjob({command} ) # uses stdin/stdout
2144- let handle = startjob({command} , {address} ) # uses socket
2145- let handle = connect({address} ) # uses socket
2146- let handle = deamon({command} , {address} ) # start it if connect fails
2147- let response = sendjson(handle, {json} ) # sync
2148- call sendjson(handle, {json} , {callback} ) # async
2149- call sethandler(handle, {callback} )
2150- The response json is wrapped in an array:
2151- [{code} ,{response} ]
2152- {code} must be positive, when zero the callback from sethandler() is called
2153- The job can send Vim commands that do not require a handler:
2154- ['ex' , {Ex command}]
2155- ['normal' , {Normal mode command}]
2156- ['keys' , {condition} , {key sequence}]
2157- ['eval' , {expression} ] sync, will send back result
2158- ['expr' , {expression} ] async
2159- - Native JSON support (to be able to commucate with any interface in the same
2160- way).
21612186- Avoid use of feedkeys, add eval functions where needed:
21622187 - manipulating the Visual selection?
21632188- Add createmark(): add a mark like mM, but return a unique ID. Need some way
@@ -2166,6 +2191,8 @@ Better plugin support (not plugin manager, see elsewhere for that):
21662191- Plugins need to make a lot of effort, lots of mappings, to know what
21672192 happened before pressing the key that triggers a plugin action. How about
21682193 keeping the last N pressed keys, so that they do not need to be mapped?
2194+ - equivalent of netbeans_beval_cb(). With an autocommand?
2195+ - Add something to enable debugging when a remote message is received.
21692196
21702197
21712198More patches:
@@ -5242,13 +5269,8 @@ Registers:
52425269
52435270
52445271Debug mode:
5245- 7 Add something to enable debugging when a remote message is received.
524652728 Add breakpoints for setting an option
524752738 Add breakpoints for assigning to a variable.
5248- 7 Add a watchpoint in the debug mode: An expression that breaks execution
5249- when evaluating to non-zero. Add the "watchadd expr" command, stop when
5250- the value of the expression changes. ":watchdel" deletes an item,
5251- ":watchlist" lists the items. (Charles Campbell)
525252747 Store the history from debug mode in viminfo.
525352757 Make the debug mode history available with histget() et al.
52545276
0 commit comments