Fork me on GitHub
#emacs
<
2016-12-04
>
jfntn00:12:49

Awesome tracing tool with good emacs integration

jfntn00:12:23

Haven’t tried yet but demo was super impressive

chris01:12:34

@kzeidler: Is there any reason to not just use the clojure layer? It's quite good and full featured.

tianshu09:12:08

@ewen since reload dependency namespaces is difficult, how about add a on-jsload function? I can have rerender React in that function. otherwise reload the namespaces (except the main namespace) will not cause the rerender.

ewen10:12:44

@doglooksgood I will think about that, having a way to trigger a rerender on file load would be very useful

hlolli16:12:17

paredit users, does anyone use M-; from paredit. Seems very pointless function paredit-comment-dwim. I'm trying to find a conveinient way to comment in emacs terminal mode, kowing that C-; is not possible witin a terminal. Just trying to unbind this paredit command and rebind it with my function, but its not as straightforward as it sounds.

hlolli16:12:32

ahh so its a known problem http://stackoverflow.com/questions/16605571/why-cant-i-change-paredit-keybindings as previously recommended here on this slack channel by @doglooksgood (I think) there are alternatives to paredit worth to try. Im off to explore 🙂

tianshu16:12:42

no, I'm using parinfer, paredit is hard to me.

hlolli16:12:03

yes Im giving parinfer another shot as we speak, remember last time I was bit shorter on time, I try lispy too while Im at it

hlolli16:12:07

@doglooksgood how do you make a new-line in parinfier. Also wondering if parinfier makes sense if Im not using evil mode?

hlolli16:12:15

ahh one needs to make () or [] first before sending it down, took me few mins to realize this, interesting!

tianshu16:12:41

make a newline by simply pressing enter, you will get something like this:

(foo bar)
        |
When you type something at newline, the close paren will move down.
(foo bar
     baz|)

tianshu16:12:22

you can use parinfer with or without evil, lispy, smartparens.

hlolli16:12:32

ok, what you show there in your foo bar example, do you have Parenfier:Paren or Parenfier:Indent set on?

hlolli16:12:22

and also, would you recommend against using aggressive-indent?

hlolli16:12:47

ahh yes, got it! the closing paren becomes "dissolved". But that is in Indent mode.

tianshu16:12:59

basically, you'll always use Indent mode. the Paren mode used for 3 case: 1. the parens is unmatched in the code, with Paren mode, you can fix parens. 2. you want to change the function (for example, foo -> balabala), you have to switch to Paren mode at this moment. otherwise your code struct may change, because Indent mode will adjust parens by indentation. 3. you want to wrap an expression, the reason is same to 2.

hlolli16:12:07

ok, that is totally alien for me coming from paredit. But sounds like Paren mode is like turning off paredit mode. It would be nice if you had a bit better documentation, just a bit more. So I hope you forgive my questions 🙂

tianshu17:12:34

If you enjoy the feel of parinfer and want to know the detail how it works. there's a home page of parinfer: https://shaunlebron.github.io/parinfer/ I think this can help you

hlolli17:12:18

ok, I also see that parinfier will not work at all with aggressive indent mode on.

hlolli17:12:21

ok I check it out