summaryrefslogtreecommitdiff
path: root/doc/repl.texi
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-11 03:10:30 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-11 03:10:30 +0200
commit302264eea160758738a9bc160af2c8cbe0428363 (patch)
tree28e2b878d0e1eb2ddc99821130274b057e06c3b9 /doc/repl.texi
parente27247f41dbb1456ab0c8ada327e49302fa823d5 (diff)
downloadgeiser-302264eea160758738a9bc160af2c8cbe0428363.tar.gz
geiser-302264eea160758738a9bc160af2c8cbe0428363.tar.bz2
Documentation for remote REPLs
Diffstat (limited to 'doc/repl.texi')
-rw-r--r--doc/repl.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/repl.texi b/doc/repl.texi
index ca61198..f8f3dc9 100644
--- a/doc/repl.texi
+++ b/doc/repl.texi
@@ -45,6 +45,20 @@ evaluation when they're complete, and will indent new lines properly
until then. It will also keep track of your input, maintaining a history
file that will be reloaded whenever you restart the @repl{}.
+@cindex remote REPL
+@cindex connect to server
+If you use Guile, there's an alternative way of starting a Geiser REPL:
+you can connect to a remote Guile process, provided the latter is
+running a REPL server. For that to happen, you just need to start your
+Guile process (outside Emacs) passing to it the flag @code{--listen}.
+Then, come back to Emacs and execute @kbd{M-x connect-to-guile}. You'll
+be asked for a host and a port, with suitable default values (Guile's
+@code{--listen} flag accepts an optional port as argument (as in
+@code{--listen=1969}), if you don't want to use the default). And voila,
+you'll have a Geiser REPL that is served by the remote Guile process in
+a dedicated thread, meaning that your Guile can go on doing whatever it
+was doing while you tinker with it from Emacs.
+
Nothing that fanciful this far, but there's more to Geiser's @repl{}. On
to the next section!