Re: [patch] CursorHold retriggering

2011-05-06 Thread mattn
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 SHOULD have more consider about this issue. I

Re: Logo / Icon contribution

2011-05-06 Thread Andy Spencer
On 2011-05-02 03:02, Tim Cuthbertson wrote: > I love vim, but must admit to not being so fond of the fairly old > looking icon. I recently created a new logo for my own use, and would > be more than happy if you'd like to use it for an actual app icon or > logo. Overall, I like it, the style is go

Re: CursorHold retriggering

2011-05-06 Thread 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. > >

Re: Logo / Icon contribution

2011-05-06 Thread 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 Thread 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. > >

Re: CursorHold retriggering

2011-05-06 Thread 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 CursorHold * ... > > I agree your said except No3. ;-) > Perhaps, we will h

RE: Logo / Icon contribution

2011-05-06 Thread 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 "freshe

Re: [patch] CursorHold retriggering

2011-05-06 Thread 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

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

2011-05-06 Thread 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 +c

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

2011-05-06 Thread 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 Thread 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 runt

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

2011-05-06 Thread 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 runt

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

2011-05-06 Thread 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 t

[bug] Ex command :s/ \?/ /g does not work with multibyte characters

2011-05-06 Thread Dominique Pellé
Hi Consider the Ex command ":s/ \?/ /g". It transforms a line "foo bar" into " f o o b a r " (good so far). Now, if the line contains multibyte characters, it no longer works. If current line contains "café bar" for example, it transforms it into "c a f b a r" (bad). Tested with Vim-7.3.177