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 %.
>
> If I do:
>
>> start gvim -u NONE --noplugin
> In vim: :e X
>> cd foo%bar
>> gvim --remote foo
>
> I get
> E344: Can't find directory "...fooXbar" in cdpath

I suppose it's a bug, but in the meantime you can (I think) use 
--remote-send, e.g. (untested)

        vim --remote-send :cd foo\%bar<CR>
        vim --remote-send :e foo<CR>


Best regards,
Tony.
-- 
I went to the race track once and bet on a horse that was so good that
it took seven others to beat him!

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui