unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set
@ 2012-08-02 20:40 Dan Nicolaescu
  2012-09-16  5:10 ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2012-08-02 20:40 UTC (permalink / raw)
  To: 12125

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set
  2012-08-02 20:40 bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set Dan Nicolaescu
@ 2012-09-16  5:10 ` Chong Yidong
  2012-09-19 16:00   ` Dan Nicolaescu
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2012-09-16  5:10 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 12125

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set
  2012-09-16  5:10 ` Chong Yidong
@ 2012-09-19 16:00   ` Dan Nicolaescu
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2012-09-19 16:00 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 12125-done

Chong Yidong <cyd@gnu.org> writes:

> 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.

Thanks. I get the same too, I might have had an old emacsclient in my path, so
closing this bug.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-19 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02 20:40 bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set Dan Nicolaescu
2012-09-16  5:10 ` Chong Yidong
2012-09-19 16:00   ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).