Re: CursorHold retriggering

2011-05-06 Fir de Conversatie Christian Brabandt
Hi Benjamin! On Mi, 04 Mai 2011, Benjamin R. Haskell wrote: I'm not quite following all of this. What's the use case for firing an event every X milliseconds *if the user isn't moving the cursor*? Wouldn't it be far more useful to have something like JavaScript-style setInterval()?

Re: CursorHold retriggering

2011-05-06 Fir de Conversatie Gary Johnson
On 2011-05-06, Christian Brabandt wrote: Hi Benjamin! On Mi, 04 Mai 2011, Benjamin R. Haskell wrote: I'm not quite following all of this. What's the use case for firing an event every X milliseconds *if the user isn't moving the cursor*? Wouldn't it be far more useful to have

Re: CursorHold retriggering

2011-05-06 Fir de Conversatie Ingo Karkat
On 06-May-2011 09:18, mattn wrote: Sorry about my cutting into your topic. I think vim shouldn't use unique value for timer interval 'updatetime'. I guess most of users won't like this interface. Because, some script application may run the timer quickly. but someone don't expect. We

Re: Logo / Icon contribution

2011-05-06 Fir de Conversatie Tony Mechelynck
On 06/05/11 09:50, Andy Spencer wrote: [...] [1] http://andy753421.ath.cx/linked/vim-new.png [...] hm, IMHO with icons of that size the new icon looks better than the old one, because of the pixelization of the im in the latter. Maybe we should be given the opportunity to see the proposed

Re: CursorHold retriggering

2011-05-06 Fir de Conversatie mattn
I agree your said except No3. ;-) Perhaps, we will hope an interface to stop the timer. And No3 will disappoint that. Thanks. - Yasuhiro Matsumoto On Friday, May 6, 2011 5:25:11 PM UTC+9, Ingo Karkat wrote: On 06-May-2011 09:18, mattn wrote: Sorry about my cutting into your topic. I

Re: CursorHold retriggering

2011-05-06 Fir de Conversatie Ingo Karkat
On 06-May-2011 11:51, mattn wrote: On Friday, May 6, 2011 5:25:11 PM UTC+9, Ingo Karkat wrote: I agree that setInterval() would help. As a script writer, I could also imagine something like this: 3. autocmd timeout=4000 CursorHold * ... I agree your said except No3. ;-) Perhaps, we

RE: Logo / Icon contribution

2011-05-06 Fir de Conversatie Vince Negri
Hi All, The original icon was created years ago by I think Thomas Hopfner, based on my original Vim Hot Icon. You can see them here: http://www.vmunix.com/vim/pics.html FWIW I like the update, but agree with others who think the diamond corners ought to be less rounded. It looks like a

Re: [patch] CursorHold retriggering

2011-05-06 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: Hi Bram! On Do, 05 Mai 2011, Bram Moolenaar wrote: It's simpler if you have it either return zero, KE_CURSORHOLD or KE_CURSORHOLDR. Would we need a separate CursorHoldRepeat and CursorHoldRepeatI? So that we can separate Normal and Insert mode? Would

[BUG] compiled with python, but has('python') returns 0

2011-05-06 Fir de Conversatie H Xu
Hello, Here is the version information: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 6 2011 08:50:20) Included patches: 1-177 Compiled by someone Huge version with GTK2 GUI. Features included (+) or not (-): +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent

Re: [BUG] compiled with python, but has('python') returns 0

2011-05-06 Fir de Conversatie Ben Schmidt
Here is the version information: ... +python/dyn +python3/dyn +quickfix +reltime +rightleft -ruby +scrollbind +signs ... However, :echo has('python') returns 0. Does the :python command work? If not, perhaps it can't find the python library at runtime, as it's only dynamically linked. Have

Re: [BUG] compiled with python, but has('python') returns 0

2011-05-06 Fir de Conversatie H Xu
On 05/07/2011 11:40 AM, Ben Schmidt wrote: Here is the version information: ... +python/dyn +python3/dyn +quickfix +reltime +rightleft -ruby +scrollbind +signs ... However, :echo has('python') returns 0. Does the :python command work? If not, perhaps it can't find the python library at

Re: [BUG] compiled with python, but has('python') returns 0

2011-05-06 Fir de Conversatie H Xu
On 05/07/2011 11:40 AM, Ben Schmidt wrote: Here is the version information: ... +python/dyn +python3/dyn +quickfix +reltime +rightleft -ruby +scrollbind +signs ... However, :echo has('python') returns 0. Does the :python command work? If not, perhaps it can't find the python library at

Re: [BUG] compiled with python, but has('python') returns 0

2011-05-06 Fir de Conversatie Ben Schmidt
:python command doesn't work. It gives the following message: OK. So you need to install Python where Vim can find it. :-) See :help python-dynamic Once Python is properly installed, Vim should find it on startup, and :python should start working and has('python') should return 1. Also note