[Top][All Lists]

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

Re: emacsclient's option decoding code

From: Eli Zaretskii
Subject: Re: emacsclient's option decoding code
Date: Tue, 11 Nov 2008 23:16:53 +0200

> From: Chong Yidong <address@hidden>
> Cc: Juanma Barranquero <address@hidden>,  address@hidden
> Date: Mon, 10 Nov 2008 23:14:28 -0500
> 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.

What do you mean by "tty can't be used"?  The Windows port does
support the -nw option, and `-c' could then connect to a -nw session,

reply via email to

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