protorepl

jasongilman 2016-08-21T02:04:13.000196Z

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.

senya22 2016-08-21T02:29:54.000198Z

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

senya22 2016-08-21T02:32:12.000200Z

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

jasongilman 2016-08-21T02:35:13.000202Z

Was this your stack overflow question? http://stackoverflow.com/questions/39059778/execute-clojure-block-or-selection-doesnt-work-in-atom-proto-repl

senya22 2016-08-21T02:35:40.000204Z

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

senya22 2016-08-21T02:36:56.000205Z

yes, that was me as well

jasongilman 2016-08-21T02:37:41.000206Z

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

jasongilman 2016-08-21T02:38:25.000207Z

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

senya22 2016-08-21T02:38:47.000208Z

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

jasongilman 2016-08-21T02:39:11.000209Z

Do you know how to get to lisp paredit settings?

senya22 2016-08-21T02:39:29.000210Z

you mean in the file system?

jasongilman 2016-08-21T02:39:43.000211Z

Within Atom

jasongilman 2016-08-21T02:40:19.000212Z

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

senya22 2016-08-21T02:40:29.000213Z

ok, I'm there

jasongilman 2016-08-21T02:40:48.000214Z

Toward the bottom should be a checkbox for keybindings.

jasongilman 2016-08-21T02:41:04.000215Z

It should be one click to enable all of them.

senya22 2016-08-21T02:41:09.000216Z

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

senya22 2016-08-21T02:41:25.000217Z

and now there's no checkbox

jasongilman 2016-08-21T02:42:03.000219Z

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

senya22 2016-08-21T02:42:25.000220Z

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

senya22 2016-08-21T02:42:40.000221Z

it persists the change somewhere

jasongilman 2016-08-21T02:43:09.000222Z

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

jasongilman 2016-08-21T02:43:23.000223Z

That's in my home directory on my Mac

jasongilman 2016-08-21T02:43:45.000224Z

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

senya22 2016-08-21T02:44:21.000225Z

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

senya22 2016-08-21T02:44:29.000226Z

but it doesn't fix the problem

senya22 2016-08-21T02:44:41.000227Z

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

jasongilman 2016-08-21T02:44:55.000229Z

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

jasongilman 2016-08-21T02:45:13.000230Z

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

senya22 2016-08-21T02:45:15.000231Z

yes, I think so

jasongilman 2016-08-21T02:45:36.000232Z

Somewhere in .atom near your user init and keybindings.

jasongilman 2016-08-21T02:48:19.000233Z

I think it's called config.cson

jasongilman 2016-08-21T02:49:40.000234Z

Yeah it's mentioned here http://flight-manual.atom.io/using-atom/sections/basic-customization/

senya22 2016-08-21T02:54:29.000235Z

I don't see it there either:

senya22 2016-08-21T02:56:10.000237Z

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

jasongilman 2016-08-21T02:58:20.000239Z

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.

senya22 2016-08-21T02:59:38.000240Z

damn, that is so painful

jasongilman 2016-08-21T03:00:14.000241Z

Sorry 😟

jasongilman 2016-08-21T03:00:23.000242Z

It's not usually like this.

senya22 2016-08-21T03:01:21.000243Z

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

jasongilman 2016-08-21T03:02:45.000244Z

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.

jasongilman 2016-08-21T03:03:12.000245Z

Did you get past the lisp paredit problem?

senya22 2016-08-21T03:03:14.000246Z

hm, interesting

senya22 2016-08-21T03:03:25.000247Z

no

senya22 2016-08-21T03:04:51.000248Z

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?

jasongilman 2016-08-21T03:04:53.000249Z

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

jasongilman 2016-08-21T03:05:53.000252Z

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

jasongilman 2016-08-21T03:06:27.000253Z

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

senya22 2016-08-21T03:06:58.000254Z

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

senya22 2016-08-21T03:07:10.000255Z

let me try what you are suggesting with the cson file

jasongilman 2016-08-21T03:08:16.000256Z

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.

senya22 2016-08-21T03:08:33.000257Z

hey, good night, thanks for trying to help!

senya22 2016-08-21T03:10:08.000258Z

nah, those mappings are there already