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