From unknown Sun Jun 22 08:08:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Aug 2012 20:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12125 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12125@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134394047925889 (code B ref -1); Thu, 02 Aug 2012 20:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2012 20:47:59 +0000 Received: from localhost ([127.0.0.1]:57486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sx2JL-0006jW-4w for submit@debbugs.gnu.org; Thu, 02 Aug 2012 16:47:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59801) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sx2JI-0006jP-Hm for submit@debbugs.gnu.org; Thu, 02 Aug 2012 16:47:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sx2Bz-0004cS-Lg for submit@debbugs.gnu.org; Thu, 02 Aug 2012 16:40:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx2Bz-0004cO-Im for submit@debbugs.gnu.org; Thu, 02 Aug 2012 16:40:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx2By-0008Lv-NM for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 16:40:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sx2Bx-0004c9-Vv for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 16:40:22 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx2Bx-0004c5-Sc for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 16:40:21 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sx2Bx-0006kQ-Mh for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 16:40:21 -0400 From: Dan Nicolaescu Date: Thu, 02 Aug 2012 16:40:21 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) 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 From unknown Sun Jun 22 08:08:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Sep 2012 05:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12125 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dan Nicolaescu Cc: 12125@debbugs.gnu.org Received: via spool by 12125-submit@debbugs.gnu.org id=B12125.13477723181351 (code B ref 12125); Sun, 16 Sep 2012 05:12:02 +0000 Received: (at 12125) by debbugs.gnu.org; 16 Sep 2012 05:11:58 +0000 Received: from localhost ([127.0.0.1]:36245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TD799-0000Li-Ng for submit@debbugs.gnu.org; Sun, 16 Sep 2012 01:11:57 -0400 Received: from mail-ie0-f172.google.com ([209.85.223.172]:55874) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TD797-0000La-1z for 12125@debbugs.gnu.org; Sun, 16 Sep 2012 01:11:54 -0400 Received: by ieak13 with SMTP id k13so8489643iea.3 for <12125@debbugs.gnu.org>; Sat, 15 Sep 2012 22:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=OQmL299uoDzUJtxAjFtE7BiGDUWSDcU5AxETZE0D6m0=; b=BvJpQKl6cWlgei7Hbyk5OUqYovC4YD+3p0Qs+CoNkL0SOe83W01scdsnIF5EJ9OflJ in2ij0xaXYj9USk7zK+6gmM1i8cXnuv5H+7Nfq/sJNwBUtSjsvMWdTaxoVW+dLySnEJZ ADn1OoA97T92TkMJi36zMQ/G9PqjKxBonztgzHCS0pPhQT5vRKjcV70nx62ISCgbMM/b MC5OWkxHzNq5E+rFthHp+t/er+nPY3SW0HTlvMXH3ROEB6E5jt9R2k/qGPU1D1mK9n3C mrNGv5KEKO6iiVVvBRTZg2MyGqgjzZO/PGRQ/orjNS6KH5UNabskoHs8UvTYWnvH2IBx IcDw== Received: by 10.50.77.227 with SMTP id v3mr3444445igw.64.1347772245671; Sat, 15 Sep 2012 22:10:45 -0700 (PDT) Received: from ulysses (cm162.gamma80.maxonline.com.sg. [202.156.80.162]) by mx.google.com with ESMTPS id uj6sm3309778igb.4.2012.09.15.22.10.42 (version=SSLv3 cipher=OTHER); Sat, 15 Sep 2012 22:10:44 -0700 (PDT) From: Chong Yidong References: Date: Sun, 16 Sep 2012 13:10:38 +0800 In-Reply-To: (Dan Nicolaescu's message of "Thu, 02 Aug 2012 16:40:21 -0400") Message-ID: <878vcapn75.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Dan Nicolaescu 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. From unknown Sun Jun 22 08:08:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dan Nicolaescu Subject: bug#12125: closed (Re: bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set) Message-ID: References: X-Gnu-PR-Message: they-closed 12125 X-Gnu-PR-Package: emacs Reply-To: 12125@debbugs.gnu.org Date: Wed, 19 Sep 2012 16:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1348070522-13725-1" This is a multi-part message in MIME format... ------------=_1348070522-13725-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not = set which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12125@debbugs.gnu.org. --=20 12125: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12125 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1348070522-13725-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12125-done) by debbugs.gnu.org; 19 Sep 2012 16:01:59 +0000 Received: from localhost ([127.0.0.1]:43806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEMis-0003Z9-9o for submit@debbugs.gnu.org; Wed, 19 Sep 2012 12:01:58 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:36265) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEMip-0003Z1-CU for 12125-done@debbugs.gnu.org; Wed, 19 Sep 2012 12:01:56 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TEMhE-0000UT-5G; Wed, 19 Sep 2012 12:00:16 -0400 From: Dan Nicolaescu To: Chong Yidong Subject: Re: bug#12125: emacsclient should work like "emacsclient -t" when $DISPLAY is not set References: <878vcapn75.fsf@gnu.org> Date: Wed, 19 Sep 2012 12:00:16 -0400 In-Reply-To: <878vcapn75.fsf@gnu.org> (Chong Yidong's message of "Sun, 16 Sep 2012 13:10:38 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.5 (-------) X-Debbugs-Envelope-To: 12125-done Cc: 12125-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.5 (-------) Chong Yidong writes: > Dan Nicolaescu 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. ------------=_1348070522-13725-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Aug 2012 20:47:59 +0000 Received: from localhost ([127.0.0.1]:57486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sx2JL-0006jW-4w for submit@debbugs.gnu.org; Thu, 02 Aug 2012 16:47:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59801) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sx2JI-0006jP-Hm for submit@debbugs.gnu.org; Thu, 02 Aug 2012 16:47:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sx2Bz-0004cS-Lg for submit@debbugs.gnu.org; Thu, 02 Aug 2012 16:40:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx2Bz-0004cO-Im for submit@debbugs.gnu.org; Thu, 02 Aug 2012 16:40:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx2By-0008Lv-NM for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 16:40:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sx2Bx-0004c9-Vv for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 16:40:22 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sx2Bx-0004c5-Sc for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 16:40:21 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sx2Bx-0006kQ-Mh for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 16:40:21 -0400 From: Dan Nicolaescu To: bug-gnu-emacs@gnu.org Subject: emacsclient should work like "emacsclient -t" when $DISPLAY is not set Date: Thu, 02 Aug 2012 16:40:21 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) 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 ------------=_1348070522-13725-1--