GNU bug report logs - #12125
emacsclient should work like "emacsclient -t" when $DISPLAY is not set

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> gnu.org>

Date: Thu, 2 Aug 2012 20:48:01 UTC

Severity: minor

Done: Dan Nicolaescu <dann <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12125 in the body.
You can then email your comments to 12125 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12125; Package emacs. (Thu, 02 Aug 2012 20:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Nicolaescu <dann <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 02 Aug 2012 20:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: emacsclient should work like "emacsclient -t" when $DISPLAY is not set
Date: Thu, 02 Aug 2012 16:40:21 -0400
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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12125; Package emacs. (Sun, 16 Sep 2012 05:12:02 GMT) Full text and rfc822 format available.

Message #8 received at 12125 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 12125 <at> debbugs.gnu.org
Subject: Re: bug#12125: emacsclient should work like "emacsclient -t" when
	$DISPLAY is not set
Date: Sun, 16 Sep 2012 13:10:38 +0800
Dan Nicolaescu <dann <at> 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.




Reply sent to Dan Nicolaescu <dann <at> gnu.org>:
You have taken responsibility. (Wed, 19 Sep 2012 16:02:02 GMT) Full text and rfc822 format available.

Notification sent to Dan Nicolaescu <dann <at> gnu.org>:
bug acknowledged by developer. (Wed, 19 Sep 2012 16:02:02 GMT) Full text and rfc822 format available.

Message #13 received at 12125-done <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 12125-done <at> debbugs.gnu.org
Subject: Re: bug#12125: emacsclient should work like "emacsclient -t" when
	$DISPLAY is not set
Date: Wed, 19 Sep 2012 12:00:16 -0400
Chong Yidong <cyd <at> gnu.org> writes:

> Dan Nicolaescu <dann <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 Oct 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.