[Top][All Lists]

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

Re: emacsclient's option decoding code

From: Chong Yidong
Subject: Re: emacsclient's option decoding code
Date: Mon, 10 Nov 2008 23:14:28 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>>  - emacsclient -c causes the same error, because emacsclient thinks
>> that "-c" + null DISPLAY => "-t"; I proposed the attached patch (1),
>> because even if -t is supported on Windows, the assumption that an
>> empty DISPLAY implies a tty frame is false.
> Then why is the patch Windows-specific?  If the above assumption is
> false, it shouldn't be made on Posix platforms as well.

The `-c' option means "create a new frame".  On Posix platforms, we
default to creating an X frame, but if no DISPLAY is available, then we
create a tty frame.  On Windows, presumably tty can't be used.

reply via email to

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