Loading ...
Sorry, an error occurred while loading the content.

Re: GVim fails to load file whose path contains '#' when called with --remote-silent

Expand Messages
  • Bram Moolenaar
    ... This is already in the todo list, around line 997. -- hundred-and-one symptoms of being an internet addict: 10. And even your night dreams are in HTML.
    Message 1 of 3 , Nov 2, 2012
    • 0 Attachment
      Tony Mechelynck wrote:

      > On 02/11/12 01:07, Axel wrote:
      > > Steps:
      > >
      > > 1) md c#
      > > 2) cd c#
      > > 3) gvim --remote-silent test.cs
      > >
      > > GVim starts up and displays "E194: No alternate filename to substitute for '#'".
      > >
      > > GVim 7.3.712 on Windows 7 (64-bit).
      > >
      > > The error doesn't show up if --remote-silent is omitted.
      > >
      > When using the |clientserver| feature, the client (the Vim instance
      > which gets the command-line arguments and passes them to the server)
      > doesn't know the server's PWD so it has to pass an absolute path. Try
      > passing "../c#/test.cs" with the quotes. On Windows you might also try
      > "..\c#\test.cs". If neither of these work, try adding a backslash before
      > the #: "../c\#/test.cs" or maybe with single quotes: '../c\#/test.cs'.
      >
      > Bram, what do you think? Bug or feature?

      This is already in the todo list, around line 997.


      --
      hundred-and-one symptoms of being an internet addict:
      10. And even your night dreams are in HTML.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.