[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure cfad839 122/313: Officially support lumo -d (d
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure cfad839 122/313: Officially support lumo -d (dumb terminal) only |
Date: |
Wed, 11 Aug 2021 09:59:59 -0400 (EDT) |
branch: elpa/inf-clojure
commit cfad839632a7a01b2ad6a6f832fa3859d0ff3673
Author: Andrea Richiardi <a.richiardi.work@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Officially support lumo -d (dumb terminal) only
This patch supports lumo -d (dumb terminal) and suggests in the README a
command to launch it this way.
---
README.md | 11 ++++++++++-
inf-clojure.el | 2 +-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index f28da31..5a5bf52 100644
--- a/README.md
+++ b/README.md
@@ -82,7 +82,7 @@ At the moment, the default Clojure REPL and the Lumo REPL
(though partially, see
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")))) ;; inf-clojure-lein-cmd if you
are using Leiningen
+ ((nil . ((inf-clojure-boot-cmd . "lumo -d")))) ;; inf-clojure-lein-cmd if
you are using Leiningen
## ElDoc
@@ -104,6 +104,15 @@ following to you Emacs config:
ElDoc currently doesn't work with ClojureScript buffers and REPL's.
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 example, you can use the following command (assuming `cp` contains the
classpath) in your `.dir-locals.el`:
+
+((nil . (eval . (setq inf-clojure-boot-cmd (concat "lumo -d -c "
+ (f-read (concat
(inf-clojure-project-root) "cp")))))))
+
## Troubleshooting
### REPL not responsive in Windows OS
diff --git a/inf-clojure.el b/inf-clojure.el
index c8aa815..0f36dd6 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -1060,7 +1060,7 @@ for evaluation, therefore FORM should not include it."
(apply-partially 'inf-clojure--response-match-p
inf-clojure--lumo-repl-form
(lambda (string)
- (string-match-p (concat inf-clojure--lumo-repl-form
"\\Ca*true\\Ca*") string)))
+ (string-match-p "\\Ca*true\\Ca*" string)))
"Ascertain that PROC is a Lumo REPL.")
(provide 'inf-clojure)
- [nongnu] elpa/inf-clojure e6a4ef3 093/313: Add some handy GitHub templates to improve the contribution process, (continued)
- [nongnu] elpa/inf-clojure e6a4ef3 093/313: Add some handy GitHub templates to improve the contribution process, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 6a354dc 097/313: Add defcustom `inf-clojure-prompt-on-set-ns` (#46), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 6e55048 099/313: [Fix #42] Add a defcustom controlling the window in which the REPL buffer is displayed, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 872c143 101/313: Handle properly ANSI color escape sequences in the REPL, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 2e1dd6c 108/313: Update the "Usage" section of the README, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 916ec97 106/313: Infer the customization group from defcustom names, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure a36d2a0 111/313: Remove unwanted ansi chars from the REPL output, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 3929054 113/313: Modify CHANGELOG and README for REPL types, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d265232 115/313: Fix a problem with pcase on inf-clojure-repl-type, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ac74e20 117/313: Kill inf-clojure-var-at-point, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure cfad839 122/313: Officially support lumo -d (dumb terminal) only,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure dda0a43 125/313: Fix newline append on eval functions, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 896edd1 131/313: Handle inf-clojure-arglists corner cases, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ebd1494 135/313: Support lumo's apropos, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 2341aa2 136/313: Support lumo's source, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1014e24 141/313: Extend the README a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 4a87862 161/313: Calculate response boundaries explicitly, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 15963ca 162/313: Trim the string before checking nil, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure aaaeef6 167/313: Set string safety for all the form defcustoms, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 864356a 172/313: [Fix #75] Remove compilation warnings (#109), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 5d76920 176/313: Introduce inf-clojure-project-type defcustom, ELPA Syncer, 2021/08/11