[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure 0fbcfcb 140/313: Improve the README a bit
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure 0fbcfcb 140/313: Improve the README a bit |
Date: |
Wed, 11 Aug 2021 10:00:03 -0400 (EDT) |
branch: elpa/inf-clojure
commit 0fbcfcba2b79bdc5ac0699d85b8f7086fcce79ea
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>
Improve the README a bit
---
README.md | 35 +++++++++++++++++++++++------------
1 file changed, 23 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index b4dab38..c2ff83d 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,9 @@ result will be nothing short of havoc.**
## Usage
-`M-x inf-clojure` or `C-c C-z` within a Clojure source file.
+Just invoke `M-x inf-clojure` or press `C-c C-z` within a Clojure source file.
+This will start a REPL process for the current project and you can start
+interacting with it.
`inf-clojure` has several custom variables which control the command
used to start a REPL for particular project type - `inf-clojure-lein-cmd`,
@@ -82,25 +84,31 @@ command line with `planck -n 5555`.
Use `C-u C-c C-z` to start a REPL with a different command/cons pair than
the default specified in `inf-clojure-program`.
+You can use `M-x inf-clojure-connect` to connect to a running socket-repl.
+You will be prompted for host and port.
+
You can set custom values to `inf-clojure` variables on a per-project basis
using [directory
variables](https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html).
-The REPL commands don't prompt by default but a prefix argument will invert
-this. For instance: `C-u C-c C-v` will ask for the symbol you want to show the
-docstring for.
-
-You can use `M-x inf-clojure-connect` to connect to a running socket-repl.
-You will be prompted for host and port.
+Many `inf-clojure-minor-mode` commands by default act on the symbol at
+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.
## REPL Type
-An `inf-clojure` REPL can be of different types: Clojure, ClojureScript, Lumo
and Planck are all potentially valid options.
-At the moment, the default Clojure REPL, the Lumo REPL (though partially, see
https://github.com/clojure-emacs/inf-clojure/pull/44), and the Planck REPL are
supported.
+An `inf-clojure` REPL can be of different types: Clojure,
+ClojureScript, Lumo and Planck are all potentially valid options. At
+the moment, the default Clojure REPL, the Lumo REPL (though partially,
+see https://github.com/clojure-emacs/inf-clojure/pull/44), and the
+Planck REPL are supported.
To hook up a custom REPL type, just use the right launch command (or connect
through socket).
For example, for Lumo just add the following in your `.dir-locals.el`:
- ((nil . ((inf-clojure-boot-cmd . "lumo -d")))) ;; inf-clojure-lein-cmd if
you are using Leiningen
+```el
+((nil . ((inf-clojure-boot-cmd . "lumo -d")))) ;; inf-clojure-lein-cmd if you
are using Leiningen
+```
## ElDoc
@@ -124,9 +132,12 @@ You can leave it enabled, it just won't show anything in
the echo area.
## Lumo Setup
-For an optimal Lumo experience the `-d` needs to be passed to Lumo when
launched from the command line. This disable `readline` support in order to
play nicely with emacs.
+For an optimal Lumo experience the `-d` needs to be passed to Lumo
+when launched from the command line. This disable `readline` support
+in order to play nicely with emacs.
-For example, you can use the following command (assuming `cp` contains the
classpath) in your `.dir-locals.el`:
+For example, you can use the following command (assuming `cp` contains
+the classpath) in your `.dir-locals.el`:
```el
((nil . (eval . (setq inf-clojure-boot-cmd (concat "lumo -d -c "
- [nongnu] elpa/inf-clojure 6cb8e43 277/313: Update the CI images, (continued)
- [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
- [nongnu] elpa/inf-clojure b4193fc 289/313: Reindent tests, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f24722c 294/313: Extract useful functions, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure e1a93c7 121/313: Add lock around REPL type detection, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 5ef6bdf 123/313: Revert "Remove unwanted ansi chars from the REPL output", ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7441d3b 120/313: Fix REPL type detection, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 2669544 129/313: [Fix #63] Avoid spurious output by using buffer redirection, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 0fbcfcb 140/313: Improve the README a bit,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure db7bfaf 155/313: Fix the changelog, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 42f860f 169/313: Add Multiple Process Support section to README, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 3a93815 170/313: [Fix #105] Add planck-specific function for show-arglist (#106), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 204e5b7 114/313: Do some cleanup in preparation for a major release, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d81e266 116/313: [Fix #48] Stop prompting for the symbol at point by default (#51), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 431c068 127/313: Fix three "variable is void" bugs, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 723064d 151/313: [Fix #83] Harden parsing of repl responses (#85), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure a705085 152/313: Add nil parameter to lumo completions' atom, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f7ec13a 160/313: Improve performance of inf-clojure--process-response and close #89, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 12583f4 175/313: Add :safe clause for inf-clojure-repl-use-same-window, ELPA Syncer, 2021/08/11