Martin Krischik wrote:
> the following command won't write the result of "&modified" to the
> file "X" but display it inside a pop-up window:
>
> --------------------------------------------------------------------------------------------
> gvim --nofork --servername 'Eclipse' --remote-expr "&modified" >x
> --------------------------------------------------------------------------------------------
>
> Am I mistaken or does this does make "--remote-expr" rather useless on
> Windows?
Gvim on MS-Windows is a Windows application, which means there is no
stdout. Vim works around that by presenting the output in a message box.
Try using vim.exe, the console Vim.
--
TALL KNIGHT: Firstly. You must get us another shrubbery!
OTHER KNIGHTS: More shrubberies! More shrubberies for the ex-Knights of Ni!
ARTHUR: Not another shrubbery -
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---