From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Newsgroups: gmane.emacs.help Subject: Re: Emacsclient to remote machine Date: Tue, 16 Sep 2008 09:47:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1221586848 2099 80.91.229.12 (16 Sep 2008 17:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2008 17:40:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 16 19:41:44 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KfeYa-0006vV-35 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Sep 2008 19:41:44 +0200 Original-Received: from localhost ([127.0.0.1]:42900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfeXZ-000219-5B for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Sep 2008 13:40:41 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!y21g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 129.42.161.36 Original-X-Trace: posting.google.com 1221583629 17221 127.0.0.1 (16 Sep 2008 16:47:09 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 16 Sep 2008 16:47:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y21g2000hsf.googlegroups.com; posting-host=129.42.161.36; posting-account=baqlugoAAADGe3uZxwXNJvS9trKLtCm1 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.29 Safari/525.13, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162362 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57705 Archived-At: On Sep 16, 11:00=A0am, Eric wrote: > At work, I use a very slow machine. However, a fast machine exists > elsewhere. "Snail" (my machine) is very slow, while "Rabbit" is very > fast. I can jump to Rabbit and execute whatever I like. > > I can start Emacs on Rabbit and then give (server-start) after which I > can use emacsclient on Rabbit to have Emacs open whatever I ask. > > I'd like to be able to use emacsclient from Snail and have the Emacs > running on Rabbit pick it up. The problem is that emacsclient doesn't > seem to be able to find the Emacs server. > > The documentation indicates that the Emacs Server should place some > sort of file containing connection information in ~/.emacs.d/server > when it starts up. However, that directory doesn't exist for me. Is > there something I need to do to ensure this file is created? > > Or is it even possible to do what I want? > > (I could use Rabbit exclusively, but there are a few reasons I'd like > to avoid doing so if possible.) > > Thanks, > Eric Solution! Digging around in server.el gave me the tips I needed. Always look at the source first, right? What needs to happen: ;set server-host to be the name of the machine Emacs server will run on (setq server-host "Rabbit") ;set server-use-tcp to t (setq server-use-tcp t) (server-start) Then the file is created and I can give emacsclient from Snail.