Patch 7.2.011

2008-09-07 Fir de Conversatie Bram Moolenaar
Patch 7.2.011 Problem:Get an error when inserting a float value from the expression register. Solution: Convert the Float to a String automatically in the same place where a List would be converted to a String. Files: src/eval.c *** ../vim-7.2.010/src/eval.c

Patch 7.2.012

2008-09-07 Fir de Conversatie Bram Moolenaar
Patch 7.2.012 Problem:Compiler warnings when building with startup timing. Solution: Add type casts. Files: src/ex_cmds2.c *** ../vim-7.2.011/src/ex_cmds2.c Sun Jul 13 19:36:09 2008 --- src/ex_cmds2.c Tue Sep 2 11:14:41 2008 *** *** 3145,3152

Patch 7.2.013

2008-09-07 Fir de Conversatie Bram Moolenaar
Patch 7.2.013 Problem:While waiting for the X selection Vim consumes a lot of CPU time and hangs until a response is received. Solution: Sleep a bit when the selection event hasn't been received yet. Time out after a couple of seconds to avoid a hang when the

doc bug? index() doesn't check for equality in the same way as ==

2008-09-07 Fir de Conversatie Matt Wozniski
Using ==, strings and numbers can compare as equal, and using index() on a list, this is not the case: :echo 2 == 2 Returns 1 :echo index( [ 2 ], 2) Returns -1 The docs just say that index() will Return the lowest index in |List| {list} where the item has a value equal to {expr},