help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacsclient to remote machine


From: Eric
Subject: Re: Emacsclient to remote machine
Date: Tue, 16 Sep 2008 09:47:09 -0700 (PDT)
User-agent: G2/1.0

On Sep 16, 11:00 am, Eric <etkl...@gmail.com> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]