vishesh
2021-7-25 08:17:45

Sorry, I missed the message. (emit "Symbol(~a)" v) seems like the way to go. Nothing wrong with either approach tbh.


vishesh
2021-7-25 08:31:46

I think that’d be great. I’m not sure when though. There are quite a few rough edges, and lacking documentation. Maybe we should get some features/docs in before we reach out to wider audience? Particularly, documenting current state and where it is heading.

cc: @stchang


samth
2021-7-25 17:21:57

I think you want Symbol.for


samth
2021-7-25 17:22:15

Just plain Symbol doesn’t intern


stchang
2021-7-25 18:11:56

I agree with Vishesh. I don’t think we’re ready for that kind of widespread user growth. Right now I would say that we’re looking for a few early adopters that are willing to tolerate an evolving language, and maybe contribute to fix problems as they emerge.


spdegabrielle
2021-7-25 18:12:16

ok


stchang
2021-7-25 18:12:49

but the project is definitely active again and we’re slowly improving


spdegabrielle
2021-7-25 18:13:03

good news!


d_run
2021-7-25 21:10:11

Yup


d_run
2021-7-25 21:11:02

Small issue: Emacs is reformatting the JS pretty significantly. Does anyone know if there’s a way to use https://github.com/airbnb/javascript (listed in the Contributing docs) to auto-format files?


d_run
2021-7-25 21:14:25

ah it looks like make eslint-fix will do it - cool


shaffan1996
2021-7-26 01:19:20

@shaffan1996 has joined the channel


vishesh
2021-7-26 02:14:20

If you are using lsp-mode, lsp-format-buffer may work (it doesn’t work for me, but my JS settings are very old).

There are also couple other options. A package called prettier-eslist which you can call using on-save hook. I think I also have some package which tries to guess the indentation of given file, but I can’t recall what’s the name of that package.