Fork me on GitHub
#cider
<
2015-07-04
>
seancorfield05:07:59

Sam rolled refactor-nrepl back to 1.0.5 in Emacs Live dev packs.

seancorfield05:07:35

It's nice to be using CIDER 0.9.1 tho' simple_smile

seancorfield05:07:12

@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 simple_smile

bozhidar06:07:34

@arrdem: Any progress with comint?

arrdem07:07:51

@bozhidar neg will mess with it this weekend after the 4th

benedek07:07:12

@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

benedek07:07:41

also various bugfixes and the like

bozhidar07:07:04

Happy 4th of July to everyone celebrating it!

arrdem08:07:17

'Murica! :P

bozhidar09:07:13

When I was in the states I was quite surprised how many things were named Columbia

bozhidar09:07:34

I even read there was a debate around the independence whether to name the country Columbia

jrychter09:07:20

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.

bozhidar09:07:10

cider endorses company-mode

bozhidar09:07:24

and has built-in enhancements only for it

jrychter09:07:46

switching now

jrychter09:07:45

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.

jrychter09:07:12

Basically, I think anytime the user has to press "C-x 1" because of something the package did, it's a bug simple_smile

bozhidar10:07:04

well, that’s really debatable as this is part of Emacs’s core philosophy

bozhidar10:07:25

generally most popups take the focus and q will bury them

bozhidar10:07:48

but from time to time it’s preferable to display something in another window, but retain the focus

bozhidar11:07:50

for C-c C-f it’s really unlikely that you’ll want to do something with the pretty-printed output

bozhidar11:07:02

so it doesn’t really make sense to move the focus there

bozhidar11:07:53

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"

malabarba11:07:49

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.

malabarba11:07:30

Besides, you can probably reduce your frustrations by binding C-x 1 to a 1-key combo :-)

roberto15:07:12

I’m getting this exception with the cljs repl:

IllegalArgumentException No value supplied for key: [email protected]  clojure.lang.PersistentHashMap.create (PersistentHashMap.java:77)

surreal.analysis15:07:39

Is there a default key to easily copy a sexp into Cider?

surreal.analysis15:07:50

Typically I’ve been using C-c C-e to evaluate

surreal.analysis15:07:35

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

agile_geek15:07:53

Do you mean copy it to the REPL? C-c M-p will insert the last s-exp in the repl.

agile_geek15:07:38

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.analysis15:07:46

Yes, it helped a lot, thanks

surreal.analysis15:07:59

I also found this issue - https://github.com/clojure-emacs/cider/issues/457 - which has a variety of suggestions on alternatives

surreal.analysis15:07:44

Ultimately, I think I’m going to go with an option that does C-c M-p, Enter, Other Window

jrychter17:07:19

@bozhidar and @malabarba: you mean you think that a buffer that takes up 3/4 of my screen and displays #<[email protected]: #object[partsbox.events$export_data 0x1479907b "[email protected]"]> 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? 😄

malabarba18:07:59

@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.

malabarba18:07:04

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.

jwm20:07:22

this may be stupid but my buffer changes after every evaluation .. does anyone know what could cause that

malabarba21:07:45

@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. 😉

jrychter21:07:12

@malabarba: well, I guess you do have a point...

malabarba21:07:41

@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. ☺️

jwm22:07:25

@malabarba: sorry, I should’ve clarified, the buffer moves to the previous buffer inside the window

jwm22:07:37

say scratch is before cider-repl and I execute (+ 1 2) in cider-repl it switches the window to display scratch

malabarba22:07:02

Ah! Upgrade cider

malabarba22:07:23

You're using the snapshots, right?

malabarba22:07:56

Upgrade the emacs package.

jwm22:07:50

hmm I did try that and there was an update

jwm22:07:07

but it was still doing it but let me check again since I’ve got it pretty complicated with servers and clients everywhere hehe

jwm22:07:13

cool that worked

jwm22:07:47

weird must of been another update after the update earlier hehe

jwm23:07:11

whats the best way to use stable

jwm23:07:29

I mean this seems to be working fine for now