Inspiring a future Clojure editor with forgotten Lisp UX - Shaun Lebron

I watched this video recently and I thought to share it here since it’s about structural text-editing which is a topic closely related with kakoune normal commands:

It’s a talk made by the author of parinfer: http://shaunlebron.github.io/parinfer/
(On a side note @eraserhd made a compatible plugin for https://github.com/eraserhd/parinfer-rust)

The first half is particularly interesting since it details several attempts over the decades to make the UI and workflow help dealing with nested code. There are nice folding / focus technics which try to find a balance between the writing and reading part of working with lisp languages.

If you prefer to get straight to the point with an article, here the support: https://github.com/shaunlebron/history-of-lisp-parens

That is a really fantastic video, tons of info, the historical stuff was interesting – really going through attempts that didn’t work.

Also, for those who might be interested, this years Clojure Conf starts tomorrow: http://2018.clojure-conj.org/

Great video. I’ve liked how he said in the end:

…Indentation guides, that’s something what every editor show you…

And I’ve though, no, unfortunately not every editor. And then he:

…And code folding is something that all editors do as well…

And now I’m upset as hell, lol.

2 Likes

It is funny, I don’t care for either of those features very much, but I do like sort of “local focus” style which was shown in that video and is implimented in like Focus (https://github.com/larstvei/Focus) and various other plugins.

But, it makes less sense with multiple selections.

I guess this is something similar: https://github.com/alexherbo2/distraction-free.kak

1 Like

I’m at Clojure/conj and Shaun is here… I plan to corner him some time this week…

Nice, sad I couldn’t make it this year :frowning:

I’m testing parinfer-rust and it works like a charm! Great job @eraserhd!

It even works better than parinfer-mode for Emacs (because it has smart mode feature) that I’m using for writing my Scheme gibberish. Unfortunately Scheme support in kakoune is kind of broken currently, and I don’t know why but I can’t fix it.