On Sunday, October 13, 2013 7:51:41 AM UTC-5, Axel Bender wrote: > gvim 7.4.052, compiled with MinGW64 on Windows7, 64bit > > With an instance of the gvim server up, the following command line will not > work as expected: > > gvim -R --remote-silent <file> > > The command will open <file>, but it will not set the RO attribute > accordingly. > The same command line, w/o the server being up, will correctly open <file> as > RO.
That's an issue already in the TODO list, and it's caused because the Vim that runs your command is a different Vim than actually edits the file. --remote-silent works by launching a new Vim, and if there is an existing Vim, sending a message to that Vim telling it to open the file. None of the command-line parameters like -R are sent over to that new Vim. According to the todo list, the issue was reported by YOU back in May 2012 :-) -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
