Feature request -- expression based syntax

2006-05-05 Thread Suresh Govindachar
Hello Bram, Please consider supporting expressions for syntax matching. An example of usage is indicated below: let i = 0 while i < 10 exec 'syn match level'.i \ ( \ (foldlevel(line(".")) != foldlevel(line(".")-1)) && \ (

Re : Re: Question about the substitute() function and the ignorecase user setting

2006-05-05 Thread NEANG Vissale
Ok thanks, but it would be a good thing to indicate that the ignorecase setting is used by substitute() because today I pass a long time to fix a bug with Robert on my script and it was finally due to a different setting in ignorecase. But I agree I would have to use \C. --- Message d'origine ---

Re: Where to submit a patch/modification for consideration?

2006-05-05 Thread Eric Arnold
On 5/5/06, Mikolaj Machowski <[EMAIL PROTECTED]> wrote: Dnia piątek, 5 maja 2006 14:35, Eric Arnold napisał: > I think vim-dev@vim.org is probably a place to start... > > I've been hacking the statusline for a long time to do various things > a keystroke at a time. I've finally got a compiling e

Re: Where to submit a patch/modification for consideration?

2006-05-05 Thread Mikolaj Machowski
Dnia piątek, 5 maja 2006 14:35, Eric Arnold napisał: > I think vim-dev@vim.org is probably a place to start... > > I've been hacking the statusline for a long time to do various things > a keystroke at a time. I've finally got a compiling env, so I decided > to take a stab a creating a key-event.

Re: Question about the substitute() function and the ignorecase user setting

2006-05-05 Thread Yakov Lerner
On 5/5/06, NEANG Vissale <[EMAIL PROTECTED]> wrote: It seems that the substitute() function depends on the user ignorecase setting but there is no indication about this in the help. The help says also the substitute function overrides 'magic' and 'cpoptions' to make scripts portable. But if the

Re: Question about the substitute() function and the ignorecase user setting

2006-05-05 Thread Eric Arnold
If you really care about case, you can use \c and \C to specify case inside the pattern. On 5/5/06, NEANG Vissale <[EMAIL PROTECTED]> wrote: It seems that the substitute() function depends on the user ignorecase setting but there is no indication about this in the help. The help says also the

Re: Where to submit a patch/modification for consideration?

2006-05-05 Thread Eric Arnold
A couple of doc patches I forgot to include: *** autocmd.txtFri May 5 14:37:12 2006 --- autocmd.txt.newFri May 5 14:37:24 2006 *** *** 795,800 --- 795,811 WinLeave autocommands (but not for ":new"). Not used for ":qa" or ":q" wh

Question about the substitute() function and the ignorecase user setting

2006-05-05 Thread NEANG Vissale
It seems that the substitute() function depends on the user ignorecase setting but there is no indication about this in the help. The help says also the substitute function overrides 'magic' and 'cpoptions' to make scripts portable. But if the function depends on the ignorecase option, scripts usi

Re: new + TabEnter is crashing

2006-05-05 Thread Eric Arnold
BTW, I can't get WinDbg to recognize the .pdb files, although I've set the Symbol path to the directory containing them. Is there some trick to this?

new + TabEnter is crashing

2006-05-05 Thread Eric Arnold
I don't know if it's supported to do this, but I'm crashing VIm70g, WinXP by doing a "new" in a "TabEnter" autocommand. The crash doesn't immediately follow the "new" command, but soon after when other functions start looking through the windows. I can't get a crash in a test case, but if you ru

Re: How to convert a string into a "file"

2006-05-05 Thread Yegappan Lakshmanan
Hi Zdenek, On 5/5/06, Zdenek Sekera <[EMAIL PROTECTED]> wrote: I have this problem (trivially simplified a real case): let a="a\nb\nc" When echo'ing it, it displays lines: :echo a a b c Now I need to call system() and have the contents of 'a' as the file, without actually writing the 'a' int

Re: How to convert a string into a "file"

2006-05-05 Thread Yakov Lerner
On 5/5/06, Zdenek Sekera <[EMAIL PROTECTED]> wrote: I have this problem (trivially simplified a real case): let a="a\nb\nc" When echo'ing it, it displays lines: :echo a a b c Now I need to call system() and have the contents of 'a' as the file, without actually writing the 'a' into a temp fil

How to convert a string into a "file"

2006-05-05 Thread Zdenek Sekera
I have this problem (trivially simplified a real case): let a="a\nb\nc" When echo'ing it, it displays lines: :echo a a b c Now I need to call system() and have the contents of 'a' as the file, without actually writing the 'a' into a temp file, something like this: execute "system(". editor . "

RE: list <-> string conversion confusion

2006-05-05 Thread Zdenek Sekera
I am beginning to understand a bit more but not quite all yet: > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] [...] > > echo "list a="a > > " -> list a= [[1,2], [3,4]] > > " This works, but why? Isn't this also concatenation of > two strings? > > " Note: it add

Re: list <-> string conversion confusion

2006-05-05 Thread Bram Moolenaar
Zdenek Sekera wrote: > This is formatted as a script that you can cut & run. > The -> indicates the output of the 'echo' command. > Ignore comments at the beginning of the line, they are there > only to prevent useless errors. > > -- [script start] > let a = [[1,2], [3,4]] > ech

list <-> string conversion confusion

2006-05-05 Thread Zdenek Sekera
This is formatted as a script that you can cut & run. The -> indicates the output of the 'echo' command. Ignore comments at the beginning of the line, they are there only to prevent useless errors. -- [script start] let a = [[1,2], [3,4]] echo a " -> [[1,2], [3,4]] " This works

set pt= doesn't work

2006-05-05 Thread Charles E Campbell Jr
Hello! Instead of getting paste mode when inserting when hitting the key, I'm getting Tag Completion, a popup window, and a selection made for me that I don't want. This is with vim 7.0g02. Regards, Chip Campbell

RE: Recovering sessions, cursor during completion, and omnifunc

2006-05-05 Thread Bram Moolenaar
Robert Webb wrote: > > > I use vim sessions a lot. I use the .vse extension and have them > > > associated with 'gvim.exe -c "source %1"' so I can double click on > > > them. It's nice when they start up without requiring an enter to > > > continue. However there were two I started up today th

Re: Missing new highlight groups list

2006-05-05 Thread Bram Moolenaar
Alexey Froloff wrote: > I think new highlight groups (Spell*, Pmenu*, etc) should be > listed somewhere in version7.txt. Not all colorschemes support > new vim features ant it's unclear for users how to change color > of "that ugly magenta square". The point is to list all new > groups in one p

Re: Network problem

2006-05-05 Thread Edward L. Fox
On 5/5/06, Edward L. Fox <[EMAIL PROTECTED]> wrote: Hi VIMmers, I'm sorry that I'm not able to sync the SVN repository with the CVS repository on time today, because the network is suffering some problems. I had tried different routes but all failed. Maybe there is something wrong with the main

RE: Recovering sessions, cursor during completion, and omnifunc

2006-05-05 Thread Robert Webb
Bram, > > I use vim sessions a lot. I use the .vse extension and have them > > associated with 'gvim.exe -c "source %1"' so I can double click on > > them. It's nice when they start up without requiring an enter to > > continue. However there were two I started up today that both > > required m

Re: Bug: CursorLine highlighting is wrong after search

2006-05-05 Thread Bram Moolenaar
Georg Dahn wrote: > > I tried several versions, starting with "gvim -u NONE -N" > > and still don't see the problem. I have no idea what > > could make it appear. > > It would be interesting, what is common between Mikolaj Machowski and > me, since we both can see the problem. I am working on t

Re: Bug: CursorLine highlighting is wrong after search

2006-05-05 Thread Georg Dahn
Hi! > I tried several versions, starting with "gvim -u NONE -N" > and still don't see the problem. I have no idea what > could make it appear. It would be interesting, what is common between Mikolaj Machowski and me, since we both can see the problem. I am working on two computers and this probl

Re: Bug in CursorMoved?

2006-05-05 Thread Bram Moolenaar
Hari Krishna Dara wrote: > Using Vim 70g, I am seeing a weird problem with CursorMoved autocommand. > In a function, I am removing my CursorMoved autocommand, moving the > cursor and adding the CursorMoved autocommand back, but the cursor > movement somehow ends up triggering the autocommand. At

Re: Bug: CursorLine highlighting is wrong after search

2006-05-05 Thread Bram Moolenaar
Georg Dahn wrote: > > I tried, also on Windows XP, but I don't see the problem. I have no > > idea why it happens for you. Must be something obscure. What > > compiler did you use? Does it also show in the distributed Vim 7.0g? > > That's interesting. I use the same compiler as you (at le

Missing new highlight groups list

2006-05-05 Thread Alexey I. Froloff
I think new highlight groups (Spell*, Pmenu*, etc) should be listed somewhere in version7.txt. Not all colorschemes support new vim features ant it's unclear for users how to change color of "that ugly magenta square". The point is to list all new groups in one place with links do detailed explan