Re: Modified keypresses

2011-04-20 Fir de Conversatie Paul LeoNerd Evans
On Wed, Apr 20, 2011 at 09:22:23AM +1000, Ben Schmidt wrote: Nevertheless, we still have two things to test here: the situation where Vim gets ^I and doesn't know whether it's Ctrl-I, and the situation where Vim gets ^I and knows it can't be Ctrl-I, because it knows Ctrl-I would have been

Re: Modified keypresses

2011-04-20 Fir de Conversatie Paul LeoNerd Evans
On Wed, Apr 20, 2011 at 11:21:01AM +1000, Ben Schmidt wrote: It should know by $TERM or somehow, though, or be able to find out using a callback or something, that the terminal supports or is in 'CSI mode' where it will use CSI for Ctrl-M, though, right, and therefore deduce that ^M is

Re: Modified keypresses

2011-04-20 Fir de Conversatie Paul LeoNerd Evans
On Wed, Apr 20, 2011 at 09:46:49AM +1000, Ben Schmidt wrote: What things did you have in mind that would even need the private use area? Would these be non-keypress events? The CSI model is able to represent any of the keypresses already, so I'm not sure what's left to consider. You're spot

Re: no error raised for :let list[out-of-range] = value

2011-04-20 Fir de Conversatie Ben Fritz
On Apr 19, 4:40 am, Yukihiro Nakadaira yukihiro.nakada...@gmail.com wrote: When assigning or deleting list item no error raised for out-of-range index.    :let list = []    :let list[0] = 0    :echo list    []    :let list = []    :unlet list[0] I expected E684: list index out of

Re: no error raised for :let list[out-of-range] = value

2011-04-20 Fir de Conversatie Ben Schmidt
On 21/04/11 10:10 AM, Ben Fritz wrote: On Apr 19, 4:40 am, Yukihiro Nakadairayukihiro.nakada...@gmail.com wrote: When assigning or deleting list item no error raised for out-of-range index. :let list = [] :let list[0] = 0 :echo list [] :let list = [] :unlet list[0] I