This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-26
Channels
- # arachne (80)
- # beginners (76)
- # boot (16)
- # cider (66)
- # cljs-dev (62)
- # cljsjs (1)
- # clojure (106)
- # clojure-dev (5)
- # clojure-greece (2)
- # clojure-italy (9)
- # clojure-russia (1)
- # clojure-spec (61)
- # clojure-uk (130)
- # clojurescript (21)
- # core-async (9)
- # cursive (3)
- # datomic (37)
- # events (41)
- # figwheel (31)
- # fulcro (27)
- # hoplon (1)
- # jobs (2)
- # lumo (11)
- # off-topic (155)
- # re-frame (71)
- # reagent (27)
- # ring-swagger (3)
- # shadow-cljs (132)
- # spacemacs (5)
- # specter (1)
- # sql (37)
- # test-check (10)
- # uncomplicate (5)
- # unrepl (2)
- # yada (3)
I see you’re both a member of the organization and watching the repo. Might be something to do with your personal settings.
Btw, a few random notes on helm-cider
:
* it’d be nice if it had some changelog
* there hasn’t been a stable release in a while
* perhaps we should merge with clojure-cheatsheet
which is now abandonware and uses helm
to render the cheatsheet.
Originally I planned to make the cheatsheet something that could be used with with other selection framework, but sadly I never found the time for this. Just something like a list of hashmaps mapping categories to the functions in them. With something other then helm you first select the category and then one of the vars inside. Anyways, not a big deal - I just got reminded about a past idea.
Isn’t it just a matter of copying clojure-cheatsheet-hierarchy
into CIDER and letting each front-end process the data as it sees fit?
Personally, I’m not sure how the clojure-cheatsheet
as it stands is useful. You can’t easily navigate between sections, for example. It’s not scannable like the online cheatsheet at all.
This is a great idea.
Unfortunately many great ideas remained just ideas due to lack of time on my side, and the desire of others to drive them forward. Let’s hope at some point we’ll make this one happen - I really want us to make newcomer experience better and this certainly ties into this overarching idea.
do you mean https://github.com/clojure-grimoire/grimoire or somethign else? s <-> r
> cider-javadoc is cool too, but why is it a safari windows instead of a emacs popup ?
cider-doc
shows javadoc as well within Emacs, cider-javadoc
was meant to take you to the JavaDoc page for something online.
https://imgur.com/a/Fk5J8 <-- it says "Not Documented"
my favorite thing to do is copy/past out of the kill ring buffer. it's so meta. what have i recently copied? scroll through and copy a substring out of my copies
hey there, if I wanted to turn off tags regeneration for one specific project (and keep in on for the rest), is it enough to add ((nil . ((projectile-enable-idle-timer nil))))
to .dir-locals.el
? I think projectile tries regenerate tags anyway 😞
@qqq https://github.com/justbur/emacs-which-key is great for discovery
@michal Likely currently it just walks the list of known projects or something like this if this doesn’t work. I have to consult the actual implementation to know this for sure.
@bozhidar thanks. what bothers me a bit (and most likely this is the cause of my problem) is that having .dir-locals.el
set as above I still see projectile-enable-idle-timer
switched on. I started wondering if the syntax of my .dir-local.el is correct.
Looks correct to me, but frankly I never bothered to remember it - I always google for it. 😄
Looked at the code and the dir locals should work - that functionality operates on the current project.
seems like there is some other magic behind. i'm still getting tags regenerated. anyway, thanks @bozhidar for sorting out the syntax of .dir-locals.el
😉
.dir-locals.el
is amazing, I need to write some small post about it
I worked on a fix for inf-clojure
yesterday that correctly loads it for all the non-file buffers (/cc @bozhidar)
> seems like there is some other magic behind. i’m still getting tags regenerated. anyway, thanks @bozhidar for sorting out the syntax of .dir-locals.el
😉
ok, got it. this should work:
((nil
(eval when
(require 'projectile)
(setq projectile-enable-idle-timer nil))))
the funny thing is that it also can be used to have per-project repl history:
((nil
(eval when
(require 'projectile)
(setq cider-repl-history-file (concat
(projectile-project-root)
".nrepl-history")))))
how does cider
handles keyword completions?
(thing-at-point 'symbol)
does not return anywhing when point is at |:foo
Is anyone else having issues getting load-file
to work in a browser REPL? It keeps sending goog.addDependency
calls with out
in the path, even though that’s not my :output-dir
The piggieback readme says
> When using Piggieback to enable a browser REPL: the ClojureScript compiler defaults to putting compilation output in out, which is probably not where your ring app is serving resources from (resources, target/classes/public, etc). Either configure your ring app to serve resources from out, or pass a cljs-repl :output-dir option so that a reasonable correspondence is established.
Is there some other :output-dir
option I need to set somewhere?
> CompilerException java.io.FileNotFoundException: Could not locate orchard/misc__init.class or orchard/misc.clj on classpath., compiling (cider/nrepl/middleware/pprint.clj:1:1)
The latest Travis CI job for cider-nrepl has some failures, but they’re cljs tests on jdk9, and the eastwood check.
Otherwise the master branch seems to be building and testing. I’m not sure when the most recent snapshot was pushed to clojars.
There is work going on in cider-nrepl and orchard to auto-publish snapshot jars (if the tests are clean). But that’s not quite done yet.
so, using latest snapshots, now refactor-nrepl is unhappy, but that's not surprising.
> Exception in thread "main" java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/misc__init.class or cider/nrepl/middleware/util/misc.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1)
fwiw: clj -Sdeps '{:deps {refactor-nrepl {:mvn/version "2.3.1"} com.gfredericks.dominic/debug-repl {:mvn/version "0.0.1"} cider/cider-nrepl {:mvn/version "0.17.0-MYFORK"} }}' -e '(require (quote cider-nrepl.main)) (cider-nrepl.main/init ["com.gfredericks.debug-repl/wrap-debug-repl"])' -r
is the CLI I've ended up with.
woah nice
maaaaaaan, you are single single-handedly doing it 😉 Good job! I am fighting my battle on the inf-clojure
side