Python/Ruby completion requires language interface ?

2006-09-27 Thread A.J.Mechelynck
Hello developers, I notice that the scripts autoload/pythoncomplete.vim and autoload/rubycomplete.vim terminate early and with error if the corresponding interface is not compiled-in. Is that intentional? I would expect to be able to _edit_ (for instance) a python script even on a Vim version

better user-definition of paragraphs

2006-09-27 Thread Stefano Zacchiroli
Hi all, playing with formatoptions+=a I stumbled on the 'paragraphs' option and I must confess I feel it's quite dumb (probably due to compatibility issue with old vi? don't know ...) My main problem is that I want a way to define where paragraphs start, ... even if I'm not writing nroff! Two

Re: Python/Ruby completion requires language interface ?

2006-09-27 Thread Mikolaj Machowski
Dnia środa, 27 września 2006 11:35, A.J.Mechelynck napisał: I notice that the scripts autoload/pythoncomplete.vim and autoload/rubycomplete.vim terminate early and with error if the corresponding interface is not compiled-in. Is that intentional? I would expect to be able to _edit_ (for

Re: Python/Ruby completion requires language interface ?

2006-09-27 Thread Stefan Walk
The script terminates, not vim... if !has('python') echo Error: Required vim compiled with +python finish endif is right at the start. Regards, Stefan

Re: Non-intuitive default behaviour of gI

2006-09-27 Thread Benji Fisher
On Tue, Sep 26, 2006 at 09:14:46PM -0700, Gautam Iyer wrote: Hi All, I noticed that pressing gI inserts text at column 1 of the current line (as documented in the help). However given the commands gj and gk, wouldn't it be more intuitive to have gI insert text at the first screen column?

Re: vim is scrambling my files

2006-09-27 Thread jinxjinx
i tried ctr-L, i tired vim 7 but no luck. it seems to be only this file that is affected. i think it might have to do with this file being open when my computer crashed. i believe there is a .swp file of the same name in the same directory. not sure if thats relevant Peter Hodge-3 wrote:

Re: Python/Ruby completion requires language interface ?

2006-09-27 Thread Mikolaj Machowski
Dnia środa, 27 września 2006 14:27, Stefan Walk napisał: The script terminates, not vim... if !has('python') echo Error: Required vim compiled with +python finish endif is right at the start. It could at least degrade to syntax highlighting completion. m.

Re: Python/Ruby completion requires language interface ?

2006-09-27 Thread A.J.Mechelynck
Mark Guzman wrote: A.J.Mechelynck wrote: I notice that the scripts autoload/pythoncomplete.vim and autoload/rubycomplete.vim terminate early and with error if the corresponding interface is not compiled-in. Is that intentional? I would expect to be able to _edit_ (for instance) a python script

Re: no winclose event

2006-09-27 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Bram Moolenaar wrote: Charles Campbell wrote: Just a suggestion -- I'd appreciate a WinClose event. BufWinLeave would almost do, but if two or more windows are open on the same buffer, then no event. WinLeave fires whenever one changes windows, which

Re: no winclose event

2006-09-27 Thread Charles E Campbell Jr
Bram Moolenaar wrote: Charles Campbell wrote: Just a suggestion -- I'd appreciate a WinClose event. BufWinLeave would almost do, but if two or more windows are open on the same buffer, then no event. WinLeave fires whenever one changes windows, which isn't what I want, either. Unless

Re: vim is scrambling my files

2006-09-27 Thread A.J.Mechelynck
jinxjinx wrote: i tried ctr-L, i tired vim 7 but no luck. it seems to be only this file that is affected. i think it might have to do with this file being open when my computer crashed. i believe there is a .swp file of the same name in the same directory. not sure if thats relevant [...]

[Fwd: Re: Many GVIM locale problems fixed; one remains]

2006-09-27 Thread A.J.Mechelynck
I got the attached email privately. I guess it should have gone to the list and/or to Yongwei. Best regards, Tony. ---BeginMessage--- Hi Antoine, On 9/26/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Yongwei Wu wrote: [...] It looks like a UTF-8 string is displayed as a GBK string. I

matchparen highlight bug

2006-09-27 Thread Ilya Bobir
Hello. I've found bug in highlighting when matchparen is used. Not sure it is because of a matchparen thought. Test case = gvim i{}EschO Now I can see first line with one character background been highlighted and an insert cursor over it and '{}' on a second line, both highlighted.

Re: Python/Ruby completion requires language interface ?

2006-09-27 Thread Mark Guzman
A.J.Mechelynck wrote: Yes, I never said anything else: ...the scripts... terminate early and with error It surprised me because, after all, Vim doesn't need to be a C compiler to run ccomplete.vim, or a Web browser (hiding tags, the whole HEAD part, and OTOH showing clickable A HREF=...

Re: Python/Ruby completion requires language interface ?

2006-09-27 Thread Aaron Griffin
On 9/27/06, Mark Guzman [EMAIL PROTECTED] wrote: A.J.Mechelynck wrote: Yes, I never said anything else: ...the scripts... terminate early and with error It surprised me because, after all, Vim doesn't need to be a C compiler to run ccomplete.vim, or a Web browser (hiding tags, the whole