[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure fcf30b5 210/313: README: Add instructions for
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure fcf30b5 210/313: README: Add instructions for including socket config in .dir-locals.el or .emacs. |
Date: |
Wed, 11 Aug 2021 10:00:18 -0400 (EDT) |
branch: elpa/inf-clojure
commit fcf30b5166dd4be6d6e7de96b5b2dce7c689d650
Author: Austin Haas <austin@pettomato.com>
Commit: Austin Haas <austin@pettomato.com>
README: Add instructions for including socket config in .dir-locals.el or
.emacs.
---
README.md | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 00c9984..fa28360 100644
--- a/README.md
+++ b/README.md
@@ -110,12 +110,29 @@ For Leiningen, add the following option to your
~/.lein/profiles.clj or your pro
:jvm-opts ["-Dclojure.server.repl={:port 5555 :accept
clojure.core.server/repl}"]
```
-Then run `lein repl` from within your project directory to start the REPL, and
`C-c M-c RET localhost RET 5555` from within Emacs to connect.
+Then run `lein repl` from within your project directory to start the
+REPL, and `C-c M-c RET localhost RET 5555` from within Emacs to
+connect, or add the following to your `.dir-locals.el`
+```
+((nil . ((inf-clojure-lein-cmd . ("localhost" . 5555)))))
+```
+or the following to your `.emacs`
+```
+(setf inf-clojure-lein-cmd '("localhost" . 5555))
+```
For boot, export the environment variable BOOT_JVM_OPTIONS:
```
export BOOT_JVM_OPTIONS='-Dclojure.server.repl="{:port 5555 :accept
clojure.core.server/repl}"'
```
+or add the following to your `.dir-locals.el`:
+```
+((nil . ((inf-clojure-boot-cmd . ("localhost" . 5555)))))
+```
+or the following to your `.emacs`
+```
+(setf inf-clojure-boot-cmd '("localhost" . 5555))
+```
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).
- [nongnu] elpa/inf-clojure 675e9be 290/313: Handle newlines between forms for `inf-clojure-eval-buffer`, (continued)
- [nongnu] elpa/inf-clojure 675e9be 290/313: Handle newlines between forms for `inf-clojure-eval-buffer`, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b601d48 266/313: Tweak the README a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 91145b0 293/313: Function to select repls as the current active connection, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d79e4eb 299/313: Remove a redundant call to with-current-buffer, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 397272d 300/313: Auto-enable inf-clojure-minor-mode on starting inf-clojure, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 07b2738 301/313: Include the project name automatically in the REPL buffer name, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure c3ff2f4 308/313: Add a note about comint, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 37cfe85 307/313: Update some wording, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 696e5ef 309/313: Add a link to Discord, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 49b2257 310/313: Remove the TOC, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure fcf30b5 210/313: README: Add instructions for including socket config in .dir-locals.el or .emacs.,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure b53074a 216/313: Tweak README and discourage terminal REPLs, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure e14dbba 145/313: Update the commentary section of the package, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 59868ff 218/313: Remove quotes from reload and fix argument parsing (#148), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d0d269d 226/313: Tweak the changelog, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 2445af7 235/313: Add insert commands to the changelog, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure eb5e6a2 234/313: Remove whitespace, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 2cfc38f 239/313: Move repl features into single datastructure for clarity, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure fe22ce2 253/313: Add a couple of disclaimers and a basic TOC, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure e33a546 243/313: Bugfixes and readme updates, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure c9681d0 257/313: Tweak some wording, ELPA Syncer, 2021/08/11