From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: ssh question...
Date: Tue, 19 Jun 2018 15:36:38 +0200 [thread overview]
Message-ID: <20180619133638.GA20803@tuxteam.de> (raw)
In-Reply-To: <741FDE4E-703F-4ADE-9BDD-8A6B3711F0FC@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Jun 19, 2018 at 08:26:59PM +0900, Jean-Christophe Helary wrote:
> I'm wondering if the following is possible:
>
> Use emacs from my Mac, and use picolisp as the lisp executable to run with slime, but from my ssh'ed RaspberryPi...
>
> Basically, can I call an executable from an ssh session to a different machine ?
This smells like an A/B question. First the A part (i.e. what you
asked):
As Loris said, the Org Mode trick is pretty nifty. The underlying
machinery is Tramp, and you can get that without Org. Try the
following:
M-x cd RET
then enter a directory in the remote machine:
/ssh:me@remote.host:~
(you are prompted for a password, unless your
ssh agent session is "open")
and then invoke a shell
M-x shell
This shell will be on the remote host.
Likewise if you invoke a shell from a buffer which is editing
a file on the remote host (via Tramp).
Now the B part (i.e. what you most probably want):
https://common-lisp.net/project/slime/doc/html/Connecting-to-a-remote-lisp.html#Connecting-to-a-remote-lisp
It seems to be possible to run the Slime (the Emacs side) <-> Swank
(the Lisp side) connection over the network. I'd definitely try this
first.
Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlspBuYACgkQBcgs9XrR2kaD4gCdGbxbBVXR/vBA20MRdptIoDWb
cosAnjlQF6lt4ROkdcKm2WwXfruOZ3Xk
=ILwM
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2018-06-19 13:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-19 11:26 ssh question Jean-Christophe Helary
2018-06-19 13:30 ` Van L
2018-06-19 13:36 ` tomas [this message]
[not found] <mailman.2242.1529412530.1292.help-gnu-emacs@gnu.org>
2018-06-19 13:17 ` Loris Bennett
2018-06-19 23:44 ` Jean-Christophe Helary
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180619133638.GA20803@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.