chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
2019-09-16T04:15:30.018100Z

just tried the latest release of chlorine after upgrading to atom 1.40 and so far it seems to be working fine :thumbsup:

seancorfield 2019-09-16T04:15:51.018500Z

Yeah, it's looking pretty good!

seancorfield 2019-09-16T04:16:48.019500Z

I've been meaning to do some new screencasts but the next thing I want to show is somewhat blocked by REBL not using a dynamic class loader for its REPL, which was a bit of a shock to me...

seancorfield 2019-09-16T04:17:46.020600Z

I want to show building a web app, from scratch, with a single live REPL session, adding dependencies to an empty project (using the add-lib branch of t.d.a.) but that's made a lot harder by REBL not using a DCL 😞

😞 1
2019-09-16T04:36:32.021600Z

that sounds pretty neat! when you say REBL's repl, are you referring to the top left pane in the REBL ui?

henrik 2019-09-16T09:51:37.021800Z

Every entry seems to get its own scroll area. Is this by design?

mauricio.szabo 2019-09-16T13:07:17.023800Z

@henrik no, it is not by design. I'll check it, but by design only the evaluation result should get a horizontal scroll (not vertical)

👍 1
mauricio.szabo 2019-09-16T13:08:17.024300Z

@seancorfield what does t.d.a stands for? Is it a library?

jaihindhreddy 2019-09-16T13:10:48.024900Z

^ tools.deps.alpha I believe.

jaihindhreddy 2019-09-16T13:10:58.025200Z

It has an add-lib branch

mauricio.szabo 2019-09-16T14:17:11.025300Z

What's your current operating system? Do you have any custom stylesheet applied? What's your current Atom theme?

mauricio.szabo 2019-09-16T14:17:36.025500Z

Also, what's the current Atom version you're using?

henrik 2019-09-16T14:36:39.025700Z

MacOS: 10.14.6 (18G95), Theme/Syntax: One Light/One Light, no custom stylesheet. Version: 1.40.1

👍 1
mauricio.szabo 2019-09-16T17:04:08.026200Z

I'll probably need some debugging on this issue, I can't reproduce on my current machine. I'll see if someone close to me have a mac so I can debug. In the meantime, if you could change some styles in the Atom's devtools and see if changing the font size, overflow, or some other attribute works, so you can help me debug the issue, I'll be glad 🙂

henrik 2019-09-16T19:54:47.026400Z

Of course! I’ll have a look and get back to you.

2019-09-16T20:09:07.026800Z

hey all seeing something super weird...

2019-09-16T20:09:23.027Z

everything was working totally fine yesterday.

2019-09-16T20:09:43.027400Z

today when I connect to the repl and refresh a file (using chlorine's refresh file feature..)

2019-09-16T20:09:51.027600Z

2019-09-16T20:09:55.028Z

i get a failed to refresh with ☝️

2019-09-16T20:10:58.028200Z

wait, maybe PEBKAC

2019-09-16T20:12:01.028500Z

well it's specific to this project at least.

mauricio.szabo 2019-09-16T20:12:52.029500Z

I think you need clojure.tools.namespace on the classpath for this project. Or, you can "Toggle Refresh Mode" to Simple, and it'll not try to refresh with c.t.n

2019-09-16T20:13:11.029800Z

ah yeah interesting, it's set to full.

2019-09-16T20:13:17.030Z

there we go

2019-09-16T20:13:22.030300Z

thought I had it defaulting to simple :thinking_face:

2019-09-16T20:13:32.030600Z

🤷

2019-09-16T20:13:32.030800Z

thank you!

2019-09-16T20:14:07.031300Z

ok even with simple

2019-09-16T20:14:12.031500Z

i'm getting it when bringing in a lib :thinking_face:

mauricio.szabo 2019-09-16T20:14:30.031600Z

Same error?

2019-09-16T20:14:40.031800Z

maybe not, 1s let me copy it

mauricio.szabo 2019-09-16T20:15:16.032Z

(I really need to parse the error better before sending it to the Atom popup...)

2019-09-16T20:15:31.032200Z

oh my I think it's me again.

2019-09-16T20:15:48.032400Z

doh I had clj-http instead of clj-http.client

2019-09-16T20:15:50.032600Z

and didn't notice

2019-09-16T20:15:54.032800Z

PEBCAK again. 🙂

seancorfield 2019-09-16T20:28:48.033900Z

@gerred I find the refresh behavior to be problematic in general so I disable it completely. Both Eric Normand and Stu Halloway recommend against a workflow based on refresh and I'm inclined to agree.

seancorfield 2019-09-16T20:29:22.034800Z

Unless you have a workflow that absolutely requires refreshing namespaces, I'd avoid it.

mauricio.szabo 2019-09-16T20:30:37.035500Z

Currently, the defaults are to use "Simple" refresh, and it is disabled on save

mauricio.szabo 2019-09-16T20:32:33.037400Z

exactly because there are, indeed, multiple issues with some code that would not support any refresh 🙂

2019-09-16T21:28:17.038500Z

@seancorfield @mauricio.szabo I've noticed lisp-paredit enter has an indentation of 1. if I cmd-enter it's fine. have either of you found a nice way to manage that?

2019-09-16T21:28:28.038800Z

it causes random chaos sometimes w/ parinfer when I forget the behavior 🙂

2019-09-16T21:29:00.039200Z

oh, I guess I can disable lisp-paredit's keybindings and rebind the exact ones I want...which is all of them but lisp-paredit:newline 😛

mauricio.szabo 2019-09-16T21:30:23.040200Z

That's what I did in the beginning, too

2019-09-16T22:15:39.040600Z

seems like this issue goes all the way into paredit.js :thinking_face:

2019-09-16T22:19:01.040800Z

you know what.

2019-09-16T22:19:07.041100Z

I think I found the issue, this is specific to comment blocks it seems.

seancorfield 2019-09-16T22:21:31.041700Z

FWIW, I still have enter bound to lisp-paredit:newline and I haven't noticed any problems.

2019-09-16T22:22:12.042300Z

try starting a (comment) form and hitting enter. is it indenting with 1 space or 2 for you?

2019-09-16T22:22:30.042700Z

(and compare to cmd-enter or whatever Editor: newline below is for you)

2019-09-16T22:22:45.043200Z

editor: newline below with language-clojure is indenting correctly

2019-09-16T22:22:49.043500Z

lisp-paredit, newline is not (for me)

mauricio.szabo 2019-09-16T22:23:05.044100Z

lisp-paredit follows some kinda arbitrary rules. For example, (def indents 2 spaces

2019-09-16T22:23:07.044400Z

if that's the same for you, I'll start looking for it to fix it in lisp-paredit or paredit.js

mauricio.szabo 2019-09-16T22:23:08.044500Z

comment indents 1

mauricio.szabo 2019-09-16T22:23:15.044900Z

There's a config for that, I think

mauricio.szabo 2019-09-16T22:23:42.045700Z

Indentation Forms is the config name. Try putting comment there

seancorfield 2019-09-16T22:23:50.046Z

(comment|) when cursor is at | and I press enter I get an indent of 2.

2019-09-16T22:24:01.046200Z

weird!

2019-09-16T22:24:09.046500Z

i promise I'm seeing it (removing ableist language) 😄

seancorfield 2019-09-16T22:24:26.047Z

My setting for lisp-paredit has all these forms:

binding, case, /^try/, catch, finally, let, are, /^s\/def/, /^s\/fdef/, /^def.*/, bound-fn, fn, /^cond-.*/, if, if-let, if-not, for, /when.*/, testing, do, doseq, dotimes, loop, ns, /with-/, proxy, reify, extend-protocol, comment, /deftask/, expecting, as->

2019-09-16T22:24:38.047700Z

ah ha

seancorfield 2019-09-16T22:24:41.047900Z

Including comment 🙂

2019-09-16T22:24:50.048200Z

i have most of those but not comment 😄

2019-09-16T22:25:01.048500Z

💥

2019-09-16T22:25:02.048800Z

that did it!

seancorfield 2019-09-16T22:25:02.048900Z

I've modified it quite a bit from the original...

2019-09-16T22:30:27.049600Z

i might fork off my own lisp-paredit and release it as lisp-paredit-noveau or something. i'll open an issue, but looks like the creator is well and inactive and there's some good issues/PRs to fix, and some defaults that could use updating.

2019-09-16T22:30:38.049900Z

i'll let you all know if and when I do that. 🙂