--- Begin Message ---
Subject: |
emacsclient should work like "emacsclient -t" when $DISPLAY is not set |
Date: |
Thu, 02 Aug 2012 16:40:21 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
When connecting to a host which runs "emacs --daemon" with "ssh -x" (so
$DISPLAY is not set)
$ emacsclient FILENAME
says "Waiting for Emacs..." and does not open any frame.
It should instead work like "emacsclient -t FILENAME" and open a
terminal frame.
--dan
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set |
Date: |
Wed, 19 Sep 2012 12:00:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Dan Nicolaescu <address@hidden> writes:
>
>> When connecting to a host which runs "emacs --daemon" with "ssh -x"
>> (so $DISPLAY is not set)
>>
>> $ emacsclient FILENAME
>>
>> says "Waiting for Emacs..." and does not open any frame.
>>
>> It should instead work like "emacsclient -t FILENAME" and open a
>> terminal frame.
>
> Hmm, according to the code in emacsclient.c, emacsclient should already
> do the right thing when DISPLAY is not set. And I verified this by
> doing
>
> $ export DISPLAY=""
> $ emacsclient -c FILENAME
>
> => FILENAME is opened in the terminal.
Thanks. I get the same too, I might have had an old emacsclient in my path, so
closing this bug.
--- End Message ---