This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-24
Channels
@tomayerst: Sure, things are sort of in a state of flux for CIDER right now
I also put (unless (package-installed-p 'cider) (package-install 'cider)) into the init.el
and I don’t understand why the init.el bit breaks stuff (hopefully a really dumb typo)
@tomayerst: do you see a line like (require 'package)
anywhere in your init?
documentation is found here: http://wikemacs.org/wiki/Package.el
the configuration requires both lines, requiring and initializing. Can you try that and see if it resolves your issues?
read through the documentation as well in case it mentions anything else to make your life easier
there's a bit in there to make sure your packages are all installed, so you can version control your settings and put on multiple machines
I think I started from a really vanilla state - brew install emacs and there may be a bit to add to the getting started manual (which I would be happy to do).
@tomayerst: you can always give a try to https://github.com/clojure-emacs/example-config
@malabarba: Could you point me at the function that does the printing (or construction) of the output? I may take a hack at it. Thanks.
@jsa-aerial: see cider-eldoc-ns-function
on master
Why do you believe that the ns is useful? You can always get that for any value of any var/symbol easily enough anytime if you want it. In this case, it is extremely unlikely you wouldn't know the ns involved. Printing the alias for the ns as a qualifier might be useful, but really, again, you have that directly at the point.
I agree that probably it was a mistake not to make this configurable, but now everyone is free to display the ns however they want (or not at all)
You don
t need to guess, just eval the value in question - you will get what it is and where it is
Yes, fair enough, and probably covers all cases now
Hmmm, looking at the code, it appears that if you drop the ns entirely (have cider-eldoc-ns-function return ""), it will not use the symbol and use the 'thing' branch instead. Also, it only checks ns for being 'empty' when deciding whether to use 'thing'
Right, if it is nil, it will use the 'thing' branch
but what you really want it to do is (format "%s" (cider-propertize symbol 'var))
From the doc, the 'thing' branch is for java stuff
I wrote the docstring this way, as only the java stuff doesn’t have namespaces by default
Oh, I guess I didn't understand that from the doc...
In the section: http://cider.readthedocs.org/en/latest/up_and_running/#clojurescript-usage first item (with number 1) uses a bit smaller font