hyperfiddle

2025-03-25T15:47:41.763849Z

My code-coloring-for-Emacs thing is finished, I think, other than bugs and misunderstandings. Highlights from the CHANGELOG: • Add support for multiple arities in e/defn and e/fn. • Skip metadata. • Don’t site symbols that are Electric function names. • Improve detection of Electric version — make it more lenient. It seems (to me) to work pretty well, but there are almost certainly things that aren’t right. I don’t expect much in the way of changes from now on — just bug fixing and maybe the occasional new operator to understand.

👏 6
shaunlebron 2025-03-25T17:43:26.964149Z

wow, interesting!

shaunlebron 2025-03-25T17:45:50.508789Z

looks like diff coloring. I wonder how it would feel if opacity were used instead, i.e. when cursor is over server or client code, only code in that context is shown at full opacity and other code is dimmed

Tommy Jolly 2025-03-26T10:39:28.871729Z

@nomiskatz Congrats! I found a little bug, but perhaps you already know about it: I lose syntax highlighting under binding or let. e.g. the foreground of ;; comments and namespaced/symbols.. Using modus themes.

2025-03-26T12:25:25.355739Z

@jollyboatbros Could you post screenshots of what things look like with and without nomis-electric-clojure-mode?

Tommy Jolly 2025-03-26T13:40:01.785469Z

absolutely! I'm using subtler background colours, but the issue is the same if I revert the customisations

2025-03-26T13:56:45.238679Z

It looks like you might be using v0.3 or earlier. Can you try the latest, v0.5?

Tommy Jolly 2025-03-26T13:59:46.142639Z

Ah! I thought use-package would automatically update it, that would make sense!

Tommy Jolly 2025-03-26T14:02:07.048079Z

That was indeed the issue, sorry about that!!

2025-03-26T14:03:09.971029Z

Cool! BTW, it might be worth starting up a fresh Emacs — it’s possible that there could be bad interactions between the old and new code.

👍 1