Re: Intercepting emacs nrepl input within cider

2023-03-07 Thread Benjamin Schwerdtner
Here is a suggestion in the space of what you are asking: Assuming my-dsl-eval is a macro: ``` (defun my-cider-dsl-eval-last-sexp () (interactive) (cider-nrepl-sync-request:eval (format "(my-dsl-eval %s)" (cider-last-sexp ``` On Mon, Mar 6, 2023 at 4:28 AM Conrad wrote: > Hi everyon

Intercepting emacs nrepl input within cider

2023-03-05 Thread Conrad
Hi everyone, I'm not super familiar with the internals of cider/nrepl/etc, but I have a clojure project with a domain-specific language, and would like to be able to type DSL commands into the nrepl, and have custom clojure code that checks if it's a DSL command first, before forwarding it to t