Fork me on GitHub

Is there an easy way to get the full tools.deps command to use to start a similar as cider-jack-in nRepl manually?


It seems it uses cider-jack-in-dependencies and cider-jack-in-lein-plugins for the deps.edn content. And then it calls -m nrepl.cmdline with the options from cider-jack-in-nrepl-middlewares


look in *Messages*


Ya, I was confused by the ... at the end, but it doesn't seem like it is truncated even though it shows ...


i think we've all be confused by that


i think its meant to show progress but it always indicates that more is there to me


ya, I think you're right, it means, please wait


(defun cider-copy-jack-in-command ()
  (let ((cider-jack-in-dependencies (append cider-jack-in-dependencies cider-jack-in-cljs-dependencies))
        (cider-jack-in-lein-plugins (append cider-jack-in-lein-plugins cider-jack-in-cljs-lein-plugins))
        ;;(cider-jack-in-nrepl-middlewares (append cider-jack-in-nrepl-middlewares cider-jack-in-cljs-nrepl-middlewares))
        (orig-buffer (current-buffer)))
    (kill-new (plist-get (cider--update-jack-in-cmd (cider--update-project-dir '()))
i made this a while back. should copy your jack in command. I don't think its cljs aware yet though


ha, yeah. its just commented out lol


Hi there! Do any of you have workflows to work with taps in emacs + cider?


Had a look at; and it made it seem like a tap receiving buffer would be awesome 🙂


Happy to look into how to do that, it's a bit unclear what belongs where (orchard/cider-nrepl/cider) to me right now. Naively a middleware that runs tap< and produces messages over the repl that can be interpreted by a cider extension would sound like the approach


Looking at it, it seems the nrepl side of things is having a def-wrapper of the sort:


(Apologies in advance, am sure this one's getting very old) On: emacs 26.2.90, cider 0.22.0snapshot, getting this:

WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.5.0-SNAPSHOT (package: 20190618.716) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
Tried following the suggestions in the docs, but can't get rid of it (I've put (setq-default cljr-inject-dependencies-at-jack-in nil) in my emacs setup). I'm guessing using cider 0.22.0 would fix, but can't convince package-el to install it. (pinning to stable gives me 0.21.0) Anyone know what I should/could do?


Got a bunch of PRs up. Was hoping we could 1) merge Orchard PR and create release 2) bump orchard version in cider-nrepl 3) merge cider-nrepl PRs and make a release 4) merge CIDER PR and bump the cider-nrepl version it requests


@dpsutton Thanks for the fixes!


I’ll try to find some time to review and merge those and I’ll issue the new alphas. There are also a couple of small tweaks by @richiardiandrea that I want to squeeze in the next build.


definitely! Want to improve documentation viewing after seeing Cursive. I pinged reid on twitter about but no response. I hope the site doesn't become more of a chore as his interest seems thin 😕


Will try to address the PR feedback this week


:thumbsup: Once we’re ready with this and we figure out the boot breakage I might even cut a new CIDER release.


It has been a while…


> definitely! Want to improve documentation viewing after seeing Cursive.


@dpsutton For a while I wanted us to do more with overlays for inline docs and so on, but I never got to doing so.


Shouldn’t be hard, though.


the apropos viewer is nice! not sure who made it but i like it. it included all the inline deps so its way to chatty to be useful right now though


@dpsutton We just borrowed the interface from Emacs’s own apropos for Emacs Lisp. I definitely like the UI.


I also wanted us to support inline macroexpansion and tracing.


yeah i've accidentally done emacs-lisp apropos on a few things instead of cider apropos 🙂 and yeah i followed. Cursive does clojuredocs inline in a popup with syntax highlighted examples and it is quite useful (and quick!)


i think lispy mode does this for documentation?


Maybe. There are a few generic Emacs packages that provide this, I just never had the time to play with them.


the yellow doc is displayed inline and then goes away


but i think there's a better true "popup" solution?


Maybe. I don’t I’ve seen many real popups in Emacs, though (probably because Emacs UIs have to work in a terminal as well). Overlays are still a reasonable option, though.