Fork me on GitHub
#protorepl
<
2016-08-21
>
jasongilman02:08:13

I pushed another update to Proto REPL that should fix the last of the problems with the latest version of Atom Ink. Code completion works in the console and inline values are displayed correctly.

senya2202:08:54

I'm trying to set up proto-repl the first time and having issues, is this the right place for asking for help?

senya2202:08:12

according to this: https://gist.github.com/jasongilman/d1f70507bed021b48625, one needs to uncheck keybindings for lisp-paredit

senya2202:08:40

then I seem to be missing slurping (and other) behaviors (i.e. (ctrl-alt-.). Am I on the right track? I wanted to revert to the original version of lisp-paredit to reinstate all the keybindings, but that is not working

senya2202:08:56

yes, that was me as well

jasongilman02:08:41

Yeah if you want to use the lisp paredit keybindings like slurp etc you should reenable them.

jasongilman02:08:25

I think that one of them conflicts with a Proto REPL keybinding though but most of them should be ok.

senya2202:08:47

how do I re-enable them? cant seem to figure out

jasongilman02:08:11

Do you know how to get to lisp paredit settings?

senya2202:08:29

you mean in the file system?

jasongilman02:08:19

You should open Atom settings then go to Packages, find lisp-paredit, and click on its settings.

senya2202:08:29

ok, I'm there

jasongilman02:08:48

Toward the bottom should be a checkbox for keybindings.

jasongilman02:08:04

It should be one click to enable all of them.

senya2202:08:09

no, that was disabled when I followed instructions on that link

senya2202:08:25

and now there's no checkbox

jasongilman02:08:03

I would uninstall lisp paredit and reinstall it at this point.

senya2202:08:25

I tried it multiple times, that doesn't seem to do it

senya2202:08:40

it persists the change somewhere

jasongilman02:08:09

I wonder if you changed something on the file system then. After you uninstall it look for a .atom/packages folder

jasongilman02:08:23

That's in my home directory on my Mac

jasongilman02:08:45

If lisp paredit is there then delete the lisp paredit folder.

senya2202:08:21

Yes, I found that file, I was watching the filesystem - the reinstall of the plugin reinstalls that folder as well

senya2202:08:29

but it doesn't fix the problem

senya2202:08:41

I think it gets persisted on a higher level than that plugin

jasongilman02:08:55

Ah I think it might be in another one of the atom config files.

jasongilman02:08:13

I've seen that before but I can't remember exactly where it is.

senya2202:08:15

yes, I think so

jasongilman02:08:36

Somewhere in .atom near your user init and keybindings.

jasongilman02:08:19

I think it's called config.cson

senya2202:08:29

I don't see it there either:

senya2202:08:10

looks like it's same as what I see through Atom, but where's 'the initial setting, how does one revert back?

jasongilman02:08:20

I think there might be a separate list of keybinding disabled packages in that file but I might be wrong. You can also try removing lisp paredit from that file completely. Restarting Atom between uninstall and install may be a good idea as well.

senya2202:08:38

damn, that is so painful

jasongilman03:08:23

It's not usually like this.

senya2203:08:21

that's why I'm wondering, could it all be working on Mac and now on Win?

jasongilman03:08:45

I'm pretty sure at least a few people are using it on Windows. I originally did testing on Windows but haven't in a while since recent changes aren't OS specific.

jasongilman03:08:12

Did you get past the lisp paredit problem?

senya2203:08:14

hm, interesting

senya2203:08:51

reading their doc, it says: ctrl-alt-, is for forward slurping , and the same combo plus a 'b' is for sending a block to a repl, would it not be conflicting?

jasongilman03:08:53

This might be a bit of a hack but you could copy the lisp paredit keybindings into your own keybinding file. https://github.com/jonspalding/lisp-paredit/blob/master/keymaps/lisp-paredit.cson

jasongilman03:08:53

Yes that would conflict. Keybindings are tricky. I already changed them a few times to avoid conflicts.

jasongilman03:08:27

I should add a way to choose your own prefix set of keys or alternatives

senya2203:08:58

so seems like you are right in saying that it needs to be disabled, the trick is how to get it back

senya2203:08:10

let me try what you are suggesting with the cson file

jasongilman03:08:16

I need to go to bed now. Good luck. Please let me know what you're able to figure out. I'm interested in improving it for others who use paredit and/or Windows.

senya2203:08:33

hey, good night, thanks for trying to help!

senya2203:08:08

nah, those mappings are there already