[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY i
From: |
Chong Yidong |
Subject: |
bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set |
Date: |
Sun, 16 Sep 2012 13:10:38 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Dan Nicolaescu <dann@gnu.org> 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.
- bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set,
Chong Yidong <=