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


#1

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:

https://www.youtube.com/watch?v=K0Tsa3smr1w

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


#2

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/


#3

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.


#4

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.


#5

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


#6

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


#7

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


#8

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


#9

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.