Alexei Alexandrov wrote:
Hi Bram et al.,
here is a rather strange bug. It seems to be specific for Windows and only when I try to open *.exe or *.dll file (yes, it's strange but sometimes I use it). If I open an *.exe file with
gvim bjam.exe
it opens just fine. But if I open it with
gvim --remote-tab-silent bjam.exe
command, I get error message "E479: No match". The problem reproduces even if
bjam.exe file doesn't exist.
Exe or dll files are usually binaries (which shouldn't cause E479 however);
and unlike cmd.exe when "executing" them, Vim doesn't lookup the PATH for
editfiles.
1) Are you sure the directory containing the editfile was current? If it
wasn't, you should mention the path to the file on the command-line.
2) If the file's dir was current, try using
gvim --remote-tab-silent +"set bin" bjam.exe
Note: The Vim help is not very explicit: I'm not sure if the additional
parameter should be
+"set bin"
"+set bin"
or
+set\ bin
If one of them doesn't set 'binary', try another variant.
Best regards,
Tony.