How to set a default path to the Winmanager plugin?

2006-09-03 Thread Jeo
I have installed the winmanager plugin and it seem to work in a way that I prefer. However I have tried to find a way of specifying a default path when starting the file browser. As it is now the browser always start in my home directory, I would like it to start in let say ~/workspace/. Does

Re: Font problems on Linux after upgrade

2006-09-03 Thread Boris Dinkevich
Hello everyone Thank you very much for your help. Unfortunately after playing more with the settings I was unable to restore the same font as were before. Is there possible to run the old executable configuration as before the 7 installation or do I have to upgrade/downgrade to return to the

Re: Font problems on Linux after upgrade

2006-09-03 Thread A.J.Mechelynck
Boris Dinkevich wrote: Hello everyone Thank you very much for your help. Unfortunately after playing more with the settings I was unable to restore the same font as were before. Is there possible to run the old executable configuration as before the 7 installation or do I have to

Re: Font problems on Linux after upgrade

2006-09-03 Thread Yakov Lerner
On 9/3/06, Boris Dinkevich [EMAIL PROTECTED] wrote: Hello everyone Thank you very much for your help. Unfortunately after playing more with the settings I was unable to restore the same font as were before. Is there possible to run the old executable configuration as before the 7

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread Bram Moolenaar
Hari Krishna Dara wrote: I just want to thank Bram specially for all the scripting related improvements that were done in Vim7. After converting most of my plugins to use Lists instead of multvals plugin, other than having a cleaner and more compact code, my productivity has improved

Re: bug in confirm() and default option

2006-09-03 Thread Bram Moolenaar
Hari Krishna Dara wrote: According to the help, if you specify a value of 0 for default, none of the choices should be selected, but this is not how it is working. I tried both on win32 and cygwin (X) gvim and both default to 1 instead. Is there another trick to not select any of the

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread Yakov Lerner
On 9/3/06, Bram Moolenaar [EMAIL PROTECTED] wrote: I still miss pre and post increment and decrement operators (avoids a separate :let command by itself), You mean, as in: :let linenr = a++ I don't know how difficult this is to implement, and if there are any conflicts in the

Re: Vim BOF session

2006-09-03 Thread Mikolaj Machowski
Dnia sobota, 2 września 2006 12:36, Kim Schulz napisał: Omnicompletion++: --- Omnicompletion is a great new feature, but I would like to see it become even stronger. The intellisense plugin for gvim on win32 has some of the features I would love to see in the generic omni

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread Bram Moolenaar
Yakov Lerner wrote: On 9/3/06, Bram Moolenaar [EMAIL PROTECTED] wrote: I still miss pre and post increment and decrement operators (avoids a separate :let command by itself), You mean, as in: :let linenr = a++ I don't know how difficult this is to implement, and if

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread Kim Schulz
On Sun, 03 Sep 2006 14:23:26 +0200 Bram Moolenaar [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 9/3/06, Bram Moolenaar [EMAIL PROTECTED] wrote: I still miss pre and post increment and decrement operators (avoids a separate :let command by itself), You mean, as in:

Re: Vim BOF session

2006-09-03 Thread Kim Schulz
On Sun, 3 Sep 2006 13:21:06 +0200 Mikolaj Machowski [EMAIL PROTECTED] wrote: You point can be split in two: 1. Intellisense plugin is tied to widget system. It could mean that popup system had to be written each time for each GUI. Monstrous effort for writing and maintaining. I dont

Re: Vim BOF session

2006-09-03 Thread mzyzik
On Sun, Sep 03, 2006 at 01:21:06PM +0200, Mikolaj Machowski wrote: Dnia sobota, 2 wrze?nia 2006 12:36, Kim Schulz napisa?: Omnicompletion++: --- Omnicompletion is a great new feature, but I would like to see it become even stronger. The intellisense plugin for gvim on

Re: bug in confirm() and default option

2006-09-03 Thread Hari Krishna Dara
On Sun, 3 Sep 2006 at 12:53pm, Bram Moolenaar wrote: Hari Krishna Dara wrote: According to the help, if you specify a value of 0 for default, none of the choices should be selected, but this is not how it is working. I tried both on win32 and cygwin (X) gvim and both default to 1

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread Hari Krishna Dara
On Sun, 3 Sep 2006 at 12:53pm, Bram Moolenaar wrote: Can't you use something like: for loop_index in range(1, 10) body endfor As I said in my reply to Tony, this is inefficient when the range is big, and to avoid this problem Python has irange() which is an enumeration.

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread Hari Krishna Dara
On Sun, 3 Sep 2006 at 2:23pm, Bram Moolenaar wrote: Yakov Lerner wrote: On 9/3/06, Bram Moolenaar [EMAIL PROTECTED] wrote: I still miss pre and post increment and decrement operators (avoids a separate :let command by itself), You mean, as in: :let linenr = a++

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread A.J.Mechelynck
Hari Krishna Dara wrote: On Sun, 3 Sep 2006 at 2:23pm, Bram Moolenaar wrote: Yakov Lerner wrote: On 9/3/06, Bram Moolenaar [EMAIL PROTECTED] wrote: I still miss pre and post increment and decrement operators (avoids a separate :let command by itself), You mean, as in: :let linenr

ANN: perforce 4.1 release

2006-09-03 Thread Hari Krishna Dara
The version 4.1 has significant changes over the 3.x version, both internally and in terms of features. The plugin has also undergone a major overhaul to use the new Vim7 features and this should make it a lot more cleaner to work with. Some of you wanted to contributed before, but I know it was

How to set line N as top line of screen...

2006-09-03 Thread GARY FURASH
Is there an easy way to say make line N (e.g., 502) the top line of the visual screen?

Re: How to set line N as top line of screen...

2006-09-03 Thread Yakov Lerner
On 9/3/06, GARY FURASH [EMAIL PROTECTED] wrote: Is there an easy way to say make line N (e.g., 502) the top line of the visual screen? zcr makes current line the top line of screen. To make line 502 top line of screen, use following mapping nmap f2 Gzcr and type 502f2 :help zcr Yakov

Re: How to set line N as top line of screen...

2006-09-03 Thread Tim Chase
Is there an easy way to say make line N (e.g., 502) the top line of the visual screen? I'm not sure there is much easier than 502Gzt You could map the Gzt portion to something if you wanted... :nnoremap f4 Gzt which will default to the last line in the file if you don't

Re: bug in confirm() and default option

2006-09-03 Thread Bram Moolenaar
Hari Krishna Dara wrote: According to the help, if you specify a value of 0 for default, none of the choices should be selected, but this is not how it is working. I tried both on win32 and cygwin (X) gvim and both default to 1 instead. Is there another trick to not

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread Bram Moolenaar
Hari Krishna Dara wrote: On Sun, 3 Sep 2006 at 12:53pm, Bram Moolenaar wrote: Can't you use something like: for loop_index in range(1, 10) body endfor As I said in my reply to Tony, this is inefficient when the range is big, What performance degradation have you

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread A.J.Mechelynck
Bram Moolenaar wrote: Hari Krishna Dara wrote: [...] but adding a for loop variant should be much simpler. [...] I don't know what you mean with loop variant. I think he means something like :for i=1 to 100 [by 5] :do something :endfor or :for

Re: Thank you for Vim7 scripting improvements

2006-09-03 Thread Hari Krishna Dara
On Sun, 3 Sep 2006 at 8:21pm, Bram Moolenaar wrote: Hari Krishna Dara wrote: On Sun, 3 Sep 2006 at 12:53pm, Bram Moolenaar wrote: Can't you use something like: for loop_index in range(1, 10) body endfor As I said in my reply to Tony, this is inefficient when

Re: bug in confirm() and default option

2006-09-03 Thread Hari Krishna Dara
On Sun, 3 Sep 2006 at 8:21pm, Bram Moolenaar wrote: Hari Krishna Dara wrote: According to the help, if you specify a value of 0 for default, none of the choices should be selected, but this is not how it is working. I tried both on win32 and cygwin (X) gvim and both

Re: ANN: perforce 4.1 release

2006-09-03 Thread Kim Schulz
On Sun, 3 Sep 2006 10:24:30 -0700 (PDT) Hari Krishna Dara [EMAIL PROTECTED] wrote: [snip] thanks for this great plugin. At work I have been forced by my employer to work in Emacs because it has a good perforce integration plugin. With this Vim plugin I finally was allowed to use Vim instead of

Re: ANN: perforce 4.1 release

2006-09-03 Thread Hari Krishna Dara
On Sun, 3 Sep 2006 at 10:32pm, Kim Schulz wrote: On Sun, 3 Sep 2006 10:24:30 -0700 (PDT) Hari Krishna Dara [EMAIL PROTECTED] wrote: [snip] thanks for this great plugin. At work I have been forced by my employer to work in Emacs because it has a good perforce integration plugin. With this

BufWinEnter autocmd is not invoked when splitting a window

2006-09-03 Thread Yegappan Lakshmanan
Hi all, The BufWinEnter autocmd is not invoked when splitting a window. According to the help for the BufWinEnter autocmd, this autocmd is invoked when a buffer is displayed in a window. For example, use the following autocmd: au BufWinEnter * echomsg Entering buffer . expand(afile) With

Re: BufWinEnter autocmd is not invoked when splitting a window

2006-09-03 Thread Bram Moolenaar
Yegappan Lakshmanan wrote: The BufWinEnter autocmd is not invoked when splitting a window. According to the help for the BufWinEnter autocmd, this autocmd is invoked when a buffer is displayed in a window. For example, use the following autocmd: au BufWinEnter * echomsg Entering

Patch 7.0.082

2006-09-03 Thread Bram Moolenaar
Patch 7.0.082 Problem:Calling a function that waits for input may cause List and Dictionary arguments to be freed by the garbage collector. Solution: Keep a list of all arguments to internal functions. Files: src/eval.c *** ../vim-7.0.081/src/eval.c Sat Sep 2 13:45:01

Re: Patch 7.0.082

2006-09-03 Thread Bram Moolenaar
I wrote: Patch 7.0.082 Problem:Calling a function that waits for input may cause List and Dictionary arguments to be freed by the garbage collector. Solution: Keep a list of all arguments to internal functions. Files:src/eval.c I vaguely recall that some people

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Ilya
Yakov Lerner wrote: When I removed both 'keepend' and 'extend', it started to work as expected. No, it would not work as I want it to. Block would not end unclosed String. Like this: { Some string with a quote ( ) inside } With ''kepend extend', it apparently takes identifier-closing

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Yakov Lerner
On 9/3/06, Ilya [EMAIL PROTECTED] wrote: Yakov Lerner wrote: When I removed both 'keepend' and 'extend', it started to work as expected. No, it would not work as I want it to. Block would not end unclosed String. Like this: { Some string with a quote ( ) inside } Ah, I have a guess what

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Ilya
Yakov Lerner wrote: On 9/3/06, Ilya [EMAIL PROTECTED] wrote: Yakov Lerner wrote: When I removed both 'keepend' and 'extend', it started to work as expected. No, it would not work as I want it to. Block would not end unclosed String. Like this: { Some string with a quote ( ) inside } Ah,

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Ilya
Sorry for duplicating, but my mailer for some reason removed several spaces from my pictures. Yakov Lerner wrote: On 9/3/06, Ilya [EMAIL PROTECTED] wrote: Yakov Lerner wrote: When I removed both 'keepend' and 'extend', it started to work as expected. No, it would not work as I want it to.

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Yakov Lerner
On 9/2/06, Ilya [EMAIL PROTECTED] wrote: Hello. I have a question regarding syntax matching. I have some kind of syntax and I have some solution to highlight it, but it does not work the way I expect it to. What I want: match syntax that consists of blocks (enclosed in {}), strings (enclosed

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Ilya
Yakov Lerner wrote: On 9/2/06, Ilya [EMAIL PROTECTED] wrote: Hello. I have a question regarding syntax matching. I have some kind of syntax and I have some solution to highlight it, but it does not work the way I expect it to. What I want: match syntax that consists of blocks (enclosed in

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Yakov Lerner
On 9/3/06, Ilya [EMAIL PROTECTED] wrote: Yakov Lerner wrote: When I removed both 'keepend' and 'extend', it started to work as expected. No, it would not work as I want it to. Block would not end unclosed String. Like this: { Some string with a quote ( ) inside } What about the following

Re: Syntax matching. extend inside normal inside keepend

2006-09-03 Thread Yakov Lerner
On 9/3/06, Ilya [EMAIL PROTECTED] wrote: Yakov Lerner wrote: On 9/2/06, Ilya [EMAIL PROTECTED] wrote: Hello. I have a question regarding syntax matching. I have some kind of syntax and I have some solution to highlight it, but it does not work the way I expect it to. What I want: match