| ▲ | The Emacs Widget Library: A Critique and Case Study(d12frosted.io) | ||||||||||||||||
| 48 points by whacked_new 2 days ago | 10 comments | |||||||||||||||||
| ▲ | geokon an hour ago | parent | next [-] | ||||||||||||||||
I only have a limited experience with GUI Widgets - by using JavaFX through `cljfx` - vui.el seems like the right idea - You have a widget library, and then you add state management, you add layout management etc. It's sort of a blessing widget is simple enough to be reused this way - ECS and inheritance. I have personally never really hit on this limitation. It's there in the abstract.. but don't GUIs generally fit the OO paradigm pretty well? Looking at the class tree for JavaFX, I don't see any really awkward widgets that are ambiguously placed. - State Management. This can be bolted on - like with vui.el. But to me this feels like something that should be independent of GUIs. Something like Pathom looks more appealing to me here - "Not a full reactive framework - Emacs doesn't need that complexity" .. why not? Maybe the library internals are complex, but it makes user code much simpler, no? | |||||||||||||||||
| ▲ | dinkleberg 4 hours ago | parent | prev | next [-] | ||||||||||||||||
This site is quite illegible if your system is set to prefers dark theme. | |||||||||||||||||
| |||||||||||||||||
| ▲ | volemo an hour ago | parent | prev | next [-] | ||||||||||||||||
Oh, that's the guy who does `homebrew-emacs-plue` --- my preferred distribution of Emacs! | |||||||||||||||||
| ▲ | rurban 2 hours ago | parent | prev | next [-] | ||||||||||||||||
vui.el, nice! | |||||||||||||||||
| ▲ | smitty1e 4 hours ago | parent | prev | next [-] | ||||||||||||||||
Thank whoever for posting this. | |||||||||||||||||
| ▲ | 0x1ceb00da an hour ago | parent | prev [-] | ||||||||||||||||
> The buffer is the UI, rendered by Emacs's extremely optimised text display machinery Doesn't emacs lag like crazy in files with large lines. Why is this still a problem? Every modern editor handles this gracefully. I remember reading something about using regexes for syntax highlighting. This looks like a problem in the rendering layer which shouldn't be too hard to fix without touching the core engine. Are there any other problems that make it difficult to fix without disabling any useful features? | |||||||||||||||||
| |||||||||||||||||