[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure 3d72305 208/313: README: Add section describin
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure 3d72305 208/313: README: Add section describing how to start and connect to a socket server. |
Date: |
Wed, 11 Aug 2021 10:00:18 -0400 (EDT) |
branch: elpa/inf-clojure
commit 3d723056cd1f4be121a87caf521f2673a177d6d9
Author: Austin Haas <austin@pettomato.com>
Commit: Austin Haas <austin@pettomato.com>
README: Add section describing how to start and connect to a socket server.
---
README.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/README.md b/README.md
index 23fa630..ff702d8 100644
--- a/README.md
+++ b/README.md
@@ -103,6 +103,19 @@ point. You can, however, change this behaviour by invoking
such
commands with a prefix argument. For instance: `C-u C-c C-v` will ask
for the symbol you want to show the docstring for.
+#### Starting and connecting to a socket server
+
+For Leiningen, add this to your ~/.lein/profiles.clj or your project.clj:
+```:jvm-opts ["-Dclojure.server.repl={:port 5555 :accept
clojure.core.server/repl}"]```
+
+Then run `lein repl` from within your project directory, and `C-c M-c RET
localhost RET 5555` from within Emacs.
+
+For boot, export the environment variable BOOT_JVM_OPTIONS:
+```export BOOT_JVM_OPTIONS='-Dclojure.server.repl="{:port 5555 :accept
clojure.core.server/repl}"'```
+
+You can also start a socket server via the [Clojure CLI
tools](https://clojure.org/guides/getting_started).
+Configuration options are described
[here](https://dev.clojure.org/display/design/Socket+Server+REPL).
+
#### Caveats
Note that if you decide _NOT_ to use the socket repl, it is highly recommended
- [nongnu] elpa/inf-clojure f298612 259/313: [Fix #173] Use clojure-mode project detection (#176), (continued)
- [nongnu] elpa/inf-clojure f298612 259/313: [Fix #173] Use clojure-mode project detection (#176), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 380528f 078/313: Bump the clojure-mode dependency, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 24463b4 105/313: [Fix #26] Make switching to the REPL optional on, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b357856 112/313: Rename defcustoms to `inf-clojure-*-form` where appropriate, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 64162aa 138/313: Fix a formatting issue in the README, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 9d2d143 144/313: Make sure tabs would never sneak in, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure c08d8bb 165/313: Split the only when-let for backward compatibility, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 94f440e 192/313: Extract keyword words for completion, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure da88c8c 205/313: Require seq library. Fixes https://github.com/clojure-emacs/inf-clojure/issues/141, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure feca1cc 201/313: Send string even when empty, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 3d72305 208/313: README: Add section describing how to start and connect to a socket server.,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure 0fc2350 225/313: Fix for eldoc-mode for ClojureCLR, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure a61dd84 232/313: Insert top level defun into repl, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure bcd806a 251/313: Unify references to the term REPL, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure a7f07a0 245/313: Set artificial to true on comint-send-input, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure e291da3 274/313: Update README.md, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 787400f 264/313: [Fix #178] Ensure there is a directory for comint (thanks mcphailm), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 6cb8e43 277/313: Update the CI images, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 477fd7c 272/313: Tweak some wording, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure a98a260 281/313: [#152] Add a changelog entry, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f4a279e 286/313: [Fix #177] Don't run the tests on Emacs 25, ELPA Syncer, 2021/08/11