bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8783: 24.0.50; emacsclientw.exe behaviour in win32 not the same as i


From: Jason Rumney
Subject: bug#8783: 24.0.50; emacsclientw.exe behaviour in win32 not the same as in linux
Date: Mon, 06 Jun 2011 09:48:50 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> AFACT, the -c option is not really supported in the Windows build,
> because it generally needs the --display argument which Windows
> doesn't support.

That seems like something that should be fixed.  The -c option is short
for --create-frame. This is something that Emacs on Windows can do,
regardless of whether it supports the --display argument, multi-tty
or daemon mode.

As far as I can tell, the problem is in emacsclient.c, where it sets
tty = 1 if --create-frame is given without a --display argument or
DISPLAY environment variable.  Windows then fails to create the new
frame because it can't create tty frames.  Either the code in
emacsclient should be changed not to send tty = 1 on Windows, or the
code in server.el should be changed to ignore the tty option on Windows.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]