[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure 715bd82 188/313: Add macroexpand forms for Lum
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure 715bd82 188/313: Add macroexpand forms for Lumo |
Date: |
Wed, 11 Aug 2021 10:00:14 -0400 (EDT) |
branch: elpa/inf-clojure
commit 715bd82721aae1f15e3f297abf465e89728417ae
Author: Andrea Richiardi <a.richiardi.work@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Add macroexpand forms for Lumo
---
CHANGELOG.md | 1 +
inf-clojure.el | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f63d38..e455d27 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@
* [#119](https://github.com/clojure-emacs/inf-clojure/pull/119): Set
inf-clojure-buffer REPL type on detect.
* [#120](https://github.com/clojure-emacs/inf-clojure/pull/120): Send REPL
string always, even if empty.
* [#128](https://github.com/clojure-emacs/inf-clojure/pull/128): Fix
inf-clojure-apropos.
+* [#131](https://github.com/clojure-emacs/inf-clojure/pull/131): Add
macroexpand forms for Lumo.
## 2.0.1 (2017-05-18)
diff --git a/inf-clojure.el b/inf-clojure.el
index 2854761..b09b34c 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -970,12 +970,20 @@ If you are using REPL types, it will pickup the most
approapriate
:safe #'stringp
:package-version '(inf-clojure . "2.0.0"))
+(defcustom inf-clojure-macroexpand-form-lumo
+ "(macroexpand '%s)"
+ "Lumo form to invoke macroexpand."
+ :type 'string
+ :safe #'stringp
+ :package-version '(inf-clojure . "2.2.0"))
+
(defun inf-clojure-macroexpand-form (proc)
"Return the form for macroexpansion in the Inf-Clojure PROC.
If you are using REPL types, it will pickup the most approapriate
`inf-clojure-macroexpand-form` variant."
(inf-clojure--sanitize-command
(pcase (inf-clojure--set-repl-type proc)
+ (`lumo inf-clojure-macroexpand-form-lumo)
(`planck inf-clojure-macroexpand-form-planck)
(_ inf-clojure-macroexpand-form))))
@@ -995,12 +1003,20 @@ If you are using REPL types, it will pickup the most
approapriate
:safe #'stringp
:package-version '(inf-clojure . "2.0.0"))
+(defcustom inf-clojure-macroexpand-1-form-lumo
+ "(macroexpand-1 '%s)"
+ "Lumo form to invoke macroexpand-1."
+ :type 'string
+ :safe #'stringp
+ :package-version '(inf-clojure . "2.2.0"))
+
(defun inf-clojure-macroexpand-1-form (proc)
"Return the form for macroexpand-1 in the Inf-Clojure PROC.
If you are using REPL types, it will pickup the most approapriate
`inf-clojure-macroexpand-1-form` variant."
(inf-clojure--sanitize-command
(pcase (inf-clojure--set-repl-type proc)
+ (`lumo inf-clojure-macroexpand-1-form-lumo)
(`planck inf-clojure-macroexpand-1-form-planck)
(_ inf-clojure-macroexpand-1-form))))
- [nongnu] elpa/inf-clojure 80cefbb 244/313: API to update repl-features, (continued)
- [nongnu] elpa/inf-clojure 80cefbb 244/313: API to update repl-features, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 3e7ca33 248/313: Add lein and boot to the startup-forms, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1c8429a 247/313: Bump the development version, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 5abac0b 262/313: Tweak the REPL type documentation, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 6f4e792 065/313: Add a note about mixing cider & inf-clojure, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure c797a5a 143/313: Release inf-clojure 2.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 0bb2700 156/313: Introduce inf-clojure-log-activity, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 86d0b60 158/313: Adopt find-ns for detecting the repl type, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b04f05d 174/313: Fix the default value for inf-clojure-arglists-form-planck (#112), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ca96cfc 180/313: Add README note about ClojureScript REPL support, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 715bd82 188/313: Add macroexpand forms for Lumo,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure ec99211 189/313: Support loading directory locals in our buffers, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 803a419 193/313: Add test harness (finally?), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 903dd73 196/313: Set explicitly inf-clojure-repl-type for REPL and source buffer, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure de59fce 206/313: Merge pull request #142 from austinhaas/master, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 9deb198 202/313: Use comint-send-string, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b2224bc 211/313: Merge pull request #145 from austinhaas/master, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure cf53284 220/313: Fix for https://github.com/clojure-emacs/inf-clojure/issues/154 (#158), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1e93db8 237/313: Bump the development version, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure c590c65 240/313: Remove projects from inf-clojure except to serve as project root, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 8fb1929 254/313: Set REPL type from startup form, prompt, or defcustom at startup, ELPA Syncer, 2021/08/11