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

Re: Single-File Vim?

2006-09-27 Thread A. S. Budden
On 26/09/06, Gene Kwiecinski [EMAIL PROTECTED] wrote: [snip] Hope you don't mind if I pass along your critique above (name/email redacted, natch; I try to respect other peoples' privacy) to another private list, as U3 was a topic about a month or so ago. Someone liked the idea of being able to

Re: enable multi-byte?

2006-09-27 Thread Yakov Lerner
On 9/26/06, Robert Hicks [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 9/26/06, Robert Hicks [EMAIL PROTECTED] wrote: I did a standard install of Vim7 on HP/UX and multi-byte was not enabled. I looked at my Windows version and multi-byte is enabled. What would determine for me if I need

Re: Getting the output of some commands into a buffer

2006-09-27 Thread Yakov Lerner
On 9/27/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, there are several commands like :map or :version which put a lot of valuable informations (at least for a newbie like me) into a temporary something (buffer seems the wrong nameing to me here). I

Re: Getting the output of some commands into a buffer

2006-09-27 Thread Christian Ebert
* Meino Christian Cramer on Wednesday, September 27, 2006 at 04:16:55 +0200: there are several commands like :map or :version which put a lot of valuable informations (at least for a newbie like me) into a temporary something (buffer seems the wrong nameing to

Re: escape button to alt space

2006-09-27 Thread Horvath Adam
I try to remap the escape button to alt+space combination to come back from insert mode to command mode. I don't know the solution to your specific problem, but I suggest you to use CTRL-C, because it works exactly like Esc in this context. CTRL-C is work as well (putty in ssh session) But

Re: Meta/Alt-confusion and no end

2006-09-27 Thread Yakov Lerner
On 9/27/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, As VIM insists on getting Meta/Alt-keys as binary codes and not as a ESC-key-combination I tried first to revert the rest of my environment, which handles ESC-key-combinations well to what vim exspects. zsh and mrxvt have

Re: Meta/Alt-confusion and no end

2006-09-27 Thread Yakov Lerner
On 9/27/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/27/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, As VIM insists on getting Meta/Alt-keys as binary codes and not as a ESC-key-combination I tried first to revert the rest of my environment, which handles

BOF - Vim 8 session - how did it go?

2006-09-27 Thread Vinay Doma
How did the BOF - Vim 8 session go? Anyone from this group get to go? What were the major highlights? What can we expect in Vim 8?? Thanks, Vinay P.S. - Thanks for everything Bram and co.! :)

Re: escape button to alt space

2006-09-27 Thread Benji Fisher
On Tue, Sep 26, 2006 at 05:27:53PM +0200, Horvath Adam wrote: Hi, I try to remap the escape button to alt+space combination to come back from insert mode to command mode. :map M-Space Esc It works, but: after hitting alt+space the cursor jump to the beginning of the next line. Why?

Re: Meta/Alt-confusion and no end

2006-09-27 Thread Meino Christian Cramer
From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Meta/Alt-confusion and no end Date: Wed, 27 Sep 2006 06:09:34 +0200 Meino Christian Cramer wrote: Hi, As VIM insists on getting Meta/Alt-keys as binary codes and not as a ESC-key-combination I tried first to revert the rest of my

Re: Meta/Alt-confusion and no end

2006-09-27 Thread Meino Christian Cramer
From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: Meta/Alt-confusion and no end Date: Wed, 27 Sep 2006 13:18:06 + On 9/27/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/27/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, As VIM insists on getting Meta/Alt-keys as binary

Re: Meta/Alt-confusion and no end

2006-09-27 Thread Yakov Lerner
On 9/27/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: Meta/Alt-confusion and no end Date: Wed, 27 Sep 2006 13:18:06 + On 9/27/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/27/06, Meino Christian Cramer [EMAIL PROTECTED] wrote:

Re: Getting the output of some commands into a buffer

2006-09-27 Thread Meino Christian Cramer
From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Getting the output of some commands into a buffer Date: Wed, 27 Sep 2006 05:40:41 +0200 Meino Christian Cramer wrote: Hi, there are several commands like :map or :version which put a lot of valuable

Re: Strange behavior when set cot=longest and set ignorecase

2006-09-27 Thread Bram Moolenaar
Karl Guertin wrote: Vim 7.0.35 vim --noplugin -u NONE -U NONE :set cot=menu,longest :set ignorecase If you do a keyword complete on words with mixed case, the initial state is blown away. E.g. say you have 'context','convex','Convent' and type 'conC-NC-P', you're left with nothing on

Re: taglist() bugs related to 'tags'

2006-09-27 Thread Bram Moolenaar
Hari Krishna Dara wrote: I am observing that the taglist() function is not sensitive to the changes in 'tags' value. It also seems to cache the value of 'tags' as of the time the function is called for the first time. To reproduce the problem (you need to have patch 96 applied,

Autoread in tab

2006-09-27 Thread Manu Hack
I have a program to run and the output is a text file which is in other tab. However, every time the text file is modified, I need to switch to other program and come back to see the new output even I have set autoread (I think here autoread is just to suppress the prompt.). Any command to

RE: Autoread in tab

2006-09-27 Thread Max Dyckhoff
I am also using gvim 7 under WinXP :) Max -Original Message- From: Manu Hack [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 2:50 PM To: Max Dyckhoff Subject: Re: Autoread in tab I forgot to say I was talking about gvim 7 under WinXP, if that matters. On 9/27/06,

Re: Turning abbreviations on and off

2006-09-27 Thread Luc Hermitte
Hello, * On Mon, Sep 25, 2006 at 02:41:51PM +0200, Marius Roets [EMAIL PROTECTED] wrote: I have a in my plsql.vim filetype plugin a lot of abbreviations to the effect of : iabbrev buffer then THEN iabbrev buffer else ELSE ... etc. A while back, I implemented a plugin specialised in

Re: abbreviations + indent + movement commands

2006-09-27 Thread Luc Hermitte
Hello, * On Mon, Sep 25, 2006 at 08:29:02PM +0200, Kim Schulz [EMAIL PROTECTED] wrote: I finally converged to the use of search(), on a placeholder regex-pattern. This way neither @/ nor the search history are messed up by irrelevant patterns. I have been playing around with the

changing the vim splash screen?

2006-09-27 Thread earnoth
Is it possible to change the vim splash screen? If so, how? -- View this message in context: http://www.nabble.com/changing-the-vim-splash-screen--tf2348180.html#a6538332 Sent from the Vim - General mailing list archive at Nabble.com.

disabling numbered undo

2006-09-27 Thread Dave McCooey
Hi all, Does anyone know if it's possible to disable the numbered undo capability? For example, is it possible to make a key sequence like 78u do nothing rather than performing 78 undoes? Multiple undo (by hitting the 'u' key repeatedly) is extremely useful, and should still function. Best

Re: changing the vim splash screen?

2006-09-27 Thread A.J.Mechelynck
earnoth wrote: Is it possible to change the vim splash screen? If so, how? It is of course possible, since Vim is open-source; but is it worth the trouble? You can only do it by changing function do_intro_line() in version.c, (adding a modified_by config argument too) and recompiling Vim.

Re: disabling numbered undo

2006-09-27 Thread A.J.Mechelynck
Dave McCooey wrote: Hi all, Does anyone know if it's possible to disable the numbered undo capability? For example, is it possible to make a key sequence like 78u do nothing rather than performing 78 undoes? Multiple undo (by hitting the 'u' key repeatedly) is extremely useful, and should

Re: disabling numbered undo

2006-09-27 Thread A.J.Mechelynck
Dave McCooey wrote: On Sep 27, 2006, at 6:33 PM, A.J.Mechelynck wrote: Dave McCooey wrote: Hi all, Does anyone know if it's possible to disable the numbered undo capability? For example, is it possible to make a key sequence like 78u do nothing rather than performing 78 undoes? Multiple undo

Re: disabling numbered undo

2006-09-27 Thread Dave McCooey
On Sep 27, 2006, at 7:19 PM, A.J.Mechelynck wrote: Dave McCooey wrote: On Sep 27, 2006, at 6:33 PM, A.J.Mechelynck wrote: Dave McCooey wrote: Hi all, Does anyone know if it's possible to disable the numbered undo capability? For example, is it possible to make a key sequence like 78u do

Appending printoptions

2006-09-27 Thread Jeremy Conlin
I have the following as my printoptions paper:letter However, I periodically would like it to include number:y (or some other option(s)). I was wondering how I could just append this option to the existing printoptions instead of typing the entire thing out again. Any ideas? Thanks, Jeremy

Re: Appending printoptions

2006-09-27 Thread A.J.Mechelynck
Jeremy Conlin wrote: I have the following as my printoptions paper:letter However, I periodically would like it to include number:y (or some other option(s)). I was wondering how I could just append this option to the existing printoptions instead of typing the entire thing out again. Any

Re: [2] Appending printoptions

2006-09-27 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Jeremy Conlin wrote: I have the following as my printoptions paper:letter However, I periodically would like it to include number:y (or some other option(s)). I was wondering how I could just append this option to the existing printoptions instead of typing the entire

Re: --enable-gui argument... no GUI support

2006-09-27 Thread Akbar
Ok, I finally made it out. I think this is the case. First I don't have gtk2-devel installed, then I try to configure the vim 7 source. Vim tell me that gui is not supported. I installed gtk2-devel. With the same folder, I try to configure it again. No luck. Until today I try new and fresh