This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-14
Channels
- # admin-announcements (21)
- # aws (5)
- # boot (41)
- # cider (76)
- # cljs-dev (15)
- # clojure (251)
- # clojure-brasil (25)
- # clojure-dev (16)
- # clojure-japan (8)
- # clojure-nl (1)
- # clojure-russia (110)
- # clojure-uk (7)
- # clojurescript (168)
- # clojurewerkz (1)
- # cursive (10)
- # datomic (45)
- # devcards (50)
- # emacs (5)
- # hoplon (6)
- # instaparse (6)
- # ldnclj (73)
- # lein-figwheel (4)
- # leiningen (6)
- # liberator (7)
- # luminus (2)
- # off-topic (19)
- # om (80)
- # onyx (2)
- # re-frame (11)
- # testing (12)
It definitely happens in my mixed java/clojure codebase. It doesn't happen when I try to reproduce it š. It also doesn't happen in the same code-base when I start with mvn clojure:repl.
any ideas why killing an inf-clojure buffer wouldnāt kill the corresponding repl process?
reefersleep: I can't help with the eval of a form from point in arbitrary position anywhere in said form, but you cane activate picture-mode
to move point to empty rows and columns that have no characters, including whitespace
oh, erm, @reefersleep *
@redbeardymcgee: I found out the first part: cider-eval-defun-at-point. Thank you for the tip about picture-mode! Emacs seems to be bursting with functionality
does that eval the top-level fn?
Of course, sexp
Yeah I went source spelunking on github, but you can't follow symbols there so i got lazy and quit
why i'm always curious about implementation details I'll never understand
@redbeardymcgee: because they are so much fun
@jcsims: sounds unlikely - comint processes are usually killed with the buffer they are attached to
@seancorfield: thereās nothing special about the browser
a lot of ānon-essentialsā commands are auto-loaded to speed up the initial CIDER load-time
Out of interest roughly when is the release of 0.10.0 expected?
if people were inviting me to talk about CIDER all the time it would have way more releases
the conj is a good target for one more reason - make sure everything works with Clojure 1.8
@bozhidar: have you submitted your talk synopsis yet?
Cool. Iāll double check that we got it.
bozhidar: yeah itās strange - the lein process seems to hang around afterwards, and every time I kill the buffer, then start inf-clojure thereās another process. It might just be the application itself thatās causing issues. I might investigate later, but I think Iām actually moving back to Cider because I miss a few things
projectile was really helpful for me in that aspect, but tags alone wasnāt nearly as good as using the connected repl
Iāll take a look at whatās needed to add a tags fallback, because I know I would use it
well, it will as simple as adding one check to cider-find-var
regarding the presence of a connection
Cider has plenty of advantages over inf-clojure
- in general I believe that inf-clojure
is a good way to get your feet wet without being overwhelmed
but when you want to do some serious work, cider would provide more tactical support for you
There's a namespace cache that contains pretty much all the information you need for M-.
Someone on the clojure listsuggested storing this cache in a file so that it would work even without a repl
The advantage over a TAGS file is that you wouldn't need to run a secondary executable to update it. The disadvantage is that it only updates when you connect to a REPL
anyone using boot+cider find that cider-find-var
takes you to a file in ~/.boot/cache/tmp?
@malabarba: interesting idea (which can still be combined with a fallback to tags)
@jstokes: you can file a bug for this I guess (especially if it happens all the time)
You were right @bozhidar https://clojurians.slack.com/archives/cider/p1444814772000200 although now I get Invalid function: (cider-doc-lookup var)
when I press enter next to any symbol in the namespace browser. I guess something else needs to be requiredā¦?
and s
produces Symbolās function definition is void: when-let
ā maybe CIDER is relying on a package that Emacs Live does load?
You think this is more an Emacs Live issue than CIDER?
thatās why I encourage people to just use package.el
, as itās the only standard package management weāve got
Iāll open an issue in Emacs Liveās GitHub for now...
Thanks. I tagged you in https://github.com/overtone/emacs-live/issues/220
I love Emacs Live as an overall package but its quirky handling of packages is very frustrating at times!
btw, if somebody has a moment to drop by Clojureās JIRA, please upvote http://dev.clojure.org/jira/browse/CLJ-706
we deserve some deprecation mechanism and this would definitely be useful in CIDER (it could treat deprecated stuff specially)
hey, Iād like to make an emacs shortcut which would evaluate some clojure code witin connected repl. what the magic cider function should I use?
michal: you have many options, check here: https://github.com/clojure-emacs/cider#keyboard-shortcuts
@bozhidar: I agree that cider has much more over inf-clojure, hence why Iām coming back to it The cache that @malabarba mentioned sounds promising for my use case - I connect to a repl in the project Iām working on all the time, but occasionally I want to check something in a different project that updates infrequently