unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: amacsclient with emacs daemon/server on remote host
Date: Sun, 17 Jan 2016 14:10:12 +0100	[thread overview]
Message-ID: <20160117131012.GD22592@tuxteam.de> (raw)
In-Reply-To: <569A9F77.60208@mousecar.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Jan 16, 2016 at 02:52:23PM -0500, ken wrote:
> On 01/16/2016 11:36 AM, kstrempel@gmail.com wrote:
> >Am Sonntag, 17. August 2014 15:29:33 UTC+2 schrieb lee:
> >>Hi,
> >>
> >>I'm trying to find out how I could run an instance of emacs on a remote
> >>host and access this instance with emacsclient over the network.
> >>
> >>Currently, I'm doing this all the time with the instance of emacs
> >>running on the local host with (server-start) in my ~/.emacs.  I'd like
> >>to do the same, but with emacs running on the remote host.
> >>
> >>Is this even possible, and if so, how do I tell the server to listen on
> >>a port for network connections?
> >>
> >>
> >>--
> >>Knowledge is volatile and fluid.  Software is power.
> >
> >Did you found a way to do that? I'm trying to find a way to connect from OS X to an emacs daemon in my vagrant box.

There are options for the server to use tcp: `server-use-tcp' (since
22.1) and to fix the port used: `server-port' (this one since 24.1.

That said, do consider Tramp mode, which is really, extremely nice.
Just when you visit a file, enter its path as:

  /ssh:my.other.system:/path/to/file

It asks you for a password (or passphrase) and... voilà. Caching,
bookmarks, all sorts of useful things Just Work.

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlabkrQACgkQBcgs9XrR2kYolgCfZOn7kd//iWLb88Dij5H6GPTy
zMoAn3ydHb7wQrqliPJiNFKMqevTHaNZ
=c7pu
-----END PGP SIGNATURE-----



  parent reply	other threads:[~2016-01-17 13:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7155.1408283635.1147.help-gnu-emacs@gnu.org>
2016-01-16 16:36 ` amacsclient with emacs daemon/server on remote host kstrempel
2016-01-16 19:52   ` ken
2016-01-17  3:53     ` Nick Dokos
2016-01-17 13:10     ` tomas [this message]
2014-08-17 13:29 lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160117131012.GD22592@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).