Re: vim 7.1.309, win xp: Problem --remote & with % in file/directory name

2008-07-07 Thread Tony Mechelynck
On 07/07/08 11:46, ThoML wrote: >> We have a command line and an instance of gvim that tries to expand >> the % given in a parameter from the command line. > > Well, "gvim --remote" is of course a second instance of gvim so you're > right of course. I looks as if the server tries to expand the %.

Re: vim 7.1.309, win xp: Problem --remote & with % in file/directory name

2008-07-07 Thread ThoML
> We have a command line and an instance of gvim that tries to expand > the % given in a parameter from the command line. Well, "gvim --remote" is of course a second instance of gvim so you're right of course. I looks as if the server tries to expand the %. If I do: > start gvim -u NONE --noplu

Re: vim 7.1.309, win xp: Problem --remote & with % in file/directory name

2008-07-07 Thread ThoML
> In Vim, % usually means "the current file name". Here we have one Vim > instance (the client) trying to pass to another instance (the server) a > file name whose full name contains a percent sign We have a command line and an instance of gvim that tries to expand the % given in a parameter fro

Re: vim 7.1.309, win xp: Problem --remote & with % in file/directory name

2008-07-07 Thread Tony Mechelynck
On 07/07/08 10:13, ThoML wrote: > Hi, > > I get an "E499: Empty file name for '%' or '#', only works with > ':p:h'" when a directory/file name contains % and I try to open the > file with --remote: > > start gvim -u NONE --noplugin > cd foo%bar > gvim --remote foo > => E499 > > I tried verbose=12

vim 7.1.309, win xp: Problem --remote & with % in file/directory name

2008-07-07 Thread ThoML
Hi, I get an "E499: Empty file name for '%' or '#', only works with ':p:h'" when a directory/file name contains % and I try to open the file with --remote: start gvim -u NONE --noplugin cd foo%bar gvim --remote foo => E499 I tried verbose=12 but don't get any hints what exactly is causing this.