This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Sam rolled refactor-nrepl
back to 1.0.5 in Emacs Live dev packs.
It's nice to be using CIDER 0.9.1 tho'
@bhagany: the problem with the wording is that it's not clear what the call to action is... I guess I need to go digging and find where that message is in which project and subject a PR to improve it
@seancorfield regarding releasing 1.1.0 of refactor: hopefully within hours. worst case: days. see what is coming up on the top of the changelog: https://github.com/clojure-emacs/clj-refactor.el/blob/master/CHANGELOG.md
I even read there was a debate around the independence whether to name the country Columbia
What do people use for autocomplete these days? My ac setup seems to conflict with clj-refactor, or more precisely, yas — I can't tab between fields, because of autocompletion kicking in.
I think the handling of various popups could be improved. I encounter this often with many packages: I do something, get a popup buffer, and then I have to press "C-x 1" to get rid of it. An example from right now: I pressed C-c C-f in cider. My screen is taken by the popup and I can either C-x o and then press q, or C-x 1 to get rid of it. I would much rather get the cursor in the buffer to be able to press q.
Basically, I think anytime the user has to press "C-x 1" because of something the package did, it's a bug
but from time to time it’s preferable to display something in another window, but retain the focus
for C-c C-f
it’s really unlikely that you’ll want to do something with the pretty-printed output
but there’s also the option of having some popup focus config and one of the values for it could be “popups always receive focus"
I agree it's a bug if a package pops up some permanent window you didn't ask for. But that not what happens when you hit C-c C-f. That's something you did, it's not just the package.
Besides, you can probably reduce your frustrations by binding C-x 1 to a 1-key combo :-)
has anyone used this https://github.com/symfrog/clojure-quick-repls ?
I’m getting this exception with the cljs repl:
IllegalArgumentException No value supplied for key: cljs.repl.browser.BrowserEnv@8095c2ab clojure.lang.PersistentHashMap.create (PersistentHashMap.java:77)
Is there a default key to easily copy a sexp into Cider?
Typically I’ve been using C-c C-e
to evaluate
But when demoing or presenting I think I’d prefer to have a key combination to copy the current sexp into cider and run it
Do you mean copy it to the REPL? C-c M-p
will insert the last s-exp in the repl.
I use C-c C-f
ot pretty-print the s-exp the cursor is on quite a lot C-c C-p
is same but just print I think. C-c M-e
evaluates the last s-exp and outputs to the repl.
@surreal.analysis: hope that helps
Yes, it helped a lot, thanks
I also found this issue - https://github.com/clojure-emacs/cider/issues/457 - which has a variety of suggestions on alternatives
Ultimately, I think I’m going to go with an option that does C-c M-p
, Enter
, Other Window
@bozhidar and @malabarba: you mean you think that a buffer that takes up 3/4 of my screen and displays #<Var@7812acea: #object[partsbox.events$export_data 0x1479907b "partsbox.events$export_data@1479907b"]>
is something I asked for when I pressed C-c C-f and it deserves to remain on screen for easy reference as I continue writing code? 😄
@jrychter yes 😉 because if you don't want the popup window you can just C-M-x. When you C-c C-f you are explicitly asking for a window.
Now if you think there should be another command that automatically decides where to show output depending on the output size, then that sounds like a very nice feature request.
this may be stupid but my buffer changes after every evaluation .. does anyone know what could cause that
@jwm you mean it gets marked as modified? Or does some content actually change? In either case, it's not stupid, and it's plenty enough to file a bug. 😉
@malabarba: well, I guess you do have a point...
@jrychter your opinion is valid there too. I think it's just a matter of what you expect from the software. Maybe I've been with emacs for a little too long. ☺️
@malabarba: sorry, I should’ve clarified, the buffer moves to the previous buffer inside the window
say scratch is before cider-repl and I execute (+ 1 2) in cider-repl it switches the window to display scratch