From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Abutalib Aghayev Newsgroups: gmane.emacs.help Subject: Re: Accessing emacsclient environment variables. Date: Mon, 07 Jul 2014 19:19:40 -0400 Message-ID: <87wqbo92hg.fsf@gmail.com> References: <874myu9trk.fsf@gmail.com> <20140706232154.GL2488@chitra.no-ip.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1404775508 30427 80.91.229.3 (7 Jul 2014 23:25:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jul 2014 23:25:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Suvayu Ali Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 08 01:24:58 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X4IHI-0000Gu-87 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jul 2014 01:24:56 +0200 Original-Received: from localhost ([::1]:53297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4IHH-0002v7-Mz for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Jul 2014 19:24:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4IGx-0002uf-RX for help-gnu-emacs@gnu.org; Mon, 07 Jul 2014 19:24:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4IGo-0003nX-Qx for help-gnu-emacs@gnu.org; Mon, 07 Jul 2014 19:24:35 -0400 Original-Received: from mail-qa0-x233.google.com ([2607:f8b0:400d:c00::233]:50618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4IGo-0003n7-Mk for help-gnu-emacs@gnu.org; Mon, 07 Jul 2014 19:24:26 -0400 Original-Received: by mail-qa0-f51.google.com with SMTP id j7so4215450qaq.10 for ; Mon, 07 Jul 2014 16:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type; bh=llM36MUx9j5Y1LgXy+zyM2noj0P3C5VfH2PTcv5IAlk=; b=QXHanQqOC2pato7Kfmn/rW0oH+m791UiG4dhRcpA+njXFXrbvDAEGB6UKY26KBfKSs BkfMHYe21C4T8v3UKYe39Bj8asCmBNGxVdZbjEgHoMSvqzA7b79bLA71D7emJl4DxlVC XyxZi74tFc8dp3iCoYJskaSpCpyHMzYry2AZGcktpB+KhkY50nL2GAtGE9m371i29dvn 92KFWHblqgPfkJF6bvSwMOPXo7AvnsbYc8/rJwbL3Jomt96ze7AoaccetgwGg/qNaq+r Q7hY9rnvgqzGAXOUwpdhnjczK0BcqqfHVtp/lj5RLHj38EziD/Ls6EOgpqu/jxnvnkpi I33g== X-Received: by 10.224.161.129 with SMTP id r1mr5617041qax.86.1404775466231; Mon, 07 Jul 2014 16:24:26 -0700 (PDT) Original-Received: from goedel (syrah.ccs.neu.edu. [129.10.110.48]) by mx.google.com with ESMTPSA id b9sm77115951qae.4.2014.07.07.16.24.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 07 Jul 2014 16:24:25 -0700 (PDT) In-reply-to: <20140706232154.GL2488@chitra.no-ip.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98571 Archived-At: On Sun, Jul 06 2014 at 19:21 PM, Suvayu Ali wrote: > On Sun, Jul 06, 2014 at 02:39:36PM -0400, Abutalib Aghayev wrote: >> launching shell? Better yet, is there a simpler way to solve this >> problem? > > I would try to run emacsclient on the local machine and connect to the > emacs server over tramp. See "How can I use TRAMP to connect to a > remote Emacs session?" in the tramp FAQ. Note this requires the machine > running emacs server can resolve the address you are connecting from. > So if you are behind NAT or something similar, it will fail. I'm aware of TRAMP but I'm behind NAT, thanks for the suggestion though.