frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A multiplayer poll where you have 10 seconds to answer

https://polls.araoz.net/poll/pilot
1•maraoz•1m ago•0 comments

Did the Soviets Collude in the 1953 Candidates Tournament?

https://lichess.org/@/RuyLopez1000/blog/did-the-soviets-collude-in-the-1953-candidates-tournament...
2•fzliu•9m ago•0 comments

Docker Containers Are Leaking (and How to Plug the Hole)

https://blog.dera.page/posts/dockerwall/
1•Mubelotix•10m ago•0 comments

Engineering Recovery

https://systemsthinkingcollection.substack.com/p/the-three-legged-stool
1•InputName•15m ago•0 comments

Mark Zuckerberg Told 8k Employees Their Layoffs Are a Line Item in AI Bill

https://247wallst.com/investing/2026/05/08/mark-zuckerberg-just-told-8000-employees-their-layoffs...
1•spankibalt•20m ago•1 comments

60fps Video on a CGA? – The GlyphBlaster

https://martypc.blogspot.com/2026/05/60fps-video-on-cga-glyphblaster.html
1•tambourine_man•22m ago•0 comments

Xi's Forever Purge

https://www.foreignaffairs.com/china/xis-forever-purge
2•areoform•23m ago•1 comments

Physics experiment hints at the existence of 'anyon' particles

https://www.sciencedaily.com/releases/2026/05/260508003131.htm
1•johndunne•28m ago•0 comments

Catatumbo Lightning

https://en.wikipedia.org/wiki/Catatumbo_lightning
1•nomilk•29m ago•0 comments

Deskbrid – Linux desktop control over a Unix socket, for agents and scripts

https://github.com/coe0718/deskbrid
2•coe0718•32m ago•0 comments

Kendrick Lamar to an Italian Poet

https://www.youtube.com/watch?v=q5dqCeNEIFU
2•lawgimenez•32m ago•0 comments

24/7 AI-powered radio station. Generates music, writes hosted breaks,speaks them

https://github.com/keltokhy/writ-fm
2•pseudolus•36m ago•0 comments

New York Stock Exchange to open private members' club on Wall Street

https://www.ft.com/content/d8e49edb-feb9-4bfb-9f91-f10169c0961d
1•petethomas•37m ago•0 comments

Abbey Library of Saint Gall

https://en.wikipedia.org/wiki/Abbey_library_of_Saint_Gall
2•peter_d_sherman•39m ago•0 comments

Maryland Power Bills: $1.6B Data Center Subsidy

https://unusualwhales.com/news/maryland-1-6-billion-data-center-power-bill-subsidy
2•gmays•45m ago•0 comments

I built a private memory system for remembering people

https://apps.apple.com/us/app/intriq-remember-people/id6760826319
2•Phangweijun•49m ago•0 comments

FreeBSD Pkgbase Minor Upgrades

https://vermaden.wordpress.com/2026/05/10/freebsd-pkgbase-minor-upgrades/
1•vermaden•54m ago•0 comments

A Framework of Modular Structure – Made Visible Through Representations

https://github.com/A19dammer91/Linear-Diophantine-Representation-Systems-p-1-mod-q-
1•A19dammer91•55m ago•0 comments

Kryptor – Simple, modern, secure file encryption and signing tool

https://www.kryptor.co.uk
2•rickcarlino•1h ago•0 comments

Why Apple Is Launching a Touchscreen MacBook [video]

https://www.youtube.com/watch?v=8zGNeT8fU9Y
2•mgh2•1h ago•0 comments

VBM – a VTT that feels like Saturday night at the game table

https://vbm.games/
2•burtonmiller•1h ago•0 comments

Endo: JavaScript plugin framework with built-in supply chain attack resistance

https://github.com/endojs/endo
2•ignoramous•1h ago•0 comments

In CRHQ, agents don't just reply with text. They ship live HTML artifacts

https://andrej.crhq.ai/artifact/Us0QJs48JGh3dK3uoEDQLw
2•taubek•1h ago•0 comments

Swift bricks to be installed on all new buildings in Scotland

https://www.theguardian.com/environment/2026/jan/28/swift-bricks-to-be-installed-in-all-new-build...
6•bookofjoe•1h ago•1 comments

React-AI-stream – back end-agnostic SSE streaming hook for React

https://github.com/trimooo/react-ai-stream
1•devleoo•1h ago•0 comments

Reducing TTFT by CPUMaxxing Tokenization

https://www.crusoe.ai/resources/blog/reducing-ttft-by-cpumaxxing-tokenization
1•intrepidsoldier•1h ago•0 comments

Kit that converts film to digital

https://www.digitalcameraworld.com/cameras/film-cameras/the-trending-kit-that-converts-film-to-di...
2•Alupis•1h ago•0 comments

Implementation Details of Codex /Goal

https://gist.github.com/patleeman/b1b5768393f9bf2f60865b1defeeb819
1•dnw•1h ago•0 comments

Nocturne Is the Latest Music Player for Gnome to Hit v1.0

https://www.phoronix.com/news/Nocturne-1.0-GNOME-Music
1•Bender•1h ago•0 comments

Canvas Breach Disrupts Schools and Colleges Nationwide

https://krebsonsecurity.com/2026/05/canvas-breach-disrupts-schools-colleges-nationwide/
3•Bender•1h ago•1 comments
Open in hackernews

The Emacs Widget Toolkit

https://appetrosyan.github.io/posts/emacs-widget.html
48•signa11•12mo ago

Comments

spit2wind•12mo ago
There's also the Emacs Widget Library[1] (which I hoped this posted would be about). It's a plain text widget library that's quite powerful. Unfortunately (and surprisingly for Emacs), the documentation for it could use some love.

My understanding of the Widget Library is that it attaches various keywords and plists to a symbol which is considered the "widget". The library otherwise consists of functions that expect certain keywords on the "widget" symbol in order to perform actions or to be drawn on the screen.

The challenge is, the documentation doesn't clearly lay out what the keyword API is. This makes it hard to compose widgets in ways beyond what's shown in the docs.

[1] https://www.gnu.org/software/emacs/manual/html_mono/widget.h...

appetrosyan•12mo ago
The idea is that we extend that and give it direct access to SDL. Such that we can e.g. run a shader in the buffer background, or allow you to have floating windows (frames) interacting with each other.

I am very aware of the advantages conferred by TUI and I seek to expand those to the GUI; not dumb-down to the level of modern GUI toolkits (that to be fair are dealing with a completely different problem). Hopefully, this can lead to some ideas being easier to implement from within Emacs.

_mlbt•12mo ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•12mo ago
Personally, and contrary to the article, I do prefer Emacs's plain text widgets over more "GUI-like" ones. Plain text widgets minimize the differences between TUI and GUI Emacs and also inherently offer text selection, searching, copying, and pasting, which nicely integrates with Emacs. I mean, not many GUI frameworks let you place a cursor within a button and select its text, do they? I believe this is a unique advantage of text-based widgets: while other GUI applications require a dedicated mechanism for searching through their settings, text-based widgets allow you to use any text-searching packages to perform these actions.

Reading through the article, the author seems to be hoping for a pure GUI approach with Emacs-like navigation mechanisms, but I am not convinced that this can be as flexible as text-based widgets. However, for packages used exclusively within a GUI environment (like el-easydraw [1], which relies quite heavily on SVG-based widgets), it would be nice to have a dedicated GUI widget library.

(There was a discussion on Reddit about this a week ago [2], and I saw some comments defending GTK and PGTK that might be worth reading.)

[1] https://github.com/misohena/el-easydraw/

[2] https://www.reddit.com/r/emacs/comments/1kcgwme/the_emacs_wi...

appetrosyan•12mo ago
Author of the article.

This is what I was referring to when I talked about "rich verbs".

Many people feel that way. The idea here is not to tell you that you're wrong, but understand what you want and do it better on the GUI side. TUIs can do a lot and we should recognise their benefits. GUIs can do that too, and can sometimes do better things.

The text-based widgets done graphically do the trick. We can add stuff that can't be done in a TUI and see if they give you anything useful. If it can be done with text widgets means that it can be done in principle. GTK can't do it, and that's why I'm leaving it behind.

> (There was a discussion on Reddit about this a week ago [2], and I saw some comments defending GTK and PGTK that might be worth reading.)

The author of those comments abused their power on reddit. I will not get into the weeds, just say that I'd be happy to respond to the critique presented here in good faith.

robobro•12mo ago
Why did you delete the page?
appetrosyan•12mo ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•12mo ago
I agree and only use emacs in the console and love it. With the advent of lsp modes and real time typescript and linting it’s fantastic. But one thing I don’t like about the console is when LSP mode is giving you an in-line error on the right side of the terminal it’s wrapped and beautifully interspersed amongst your code, but it’s impossible to select multi line errors in order to paste into tools like ChatGPT. Since selecting the error, also selects your code on the left side.

Anyone have a good solution to this ?

LargoLasskhyfv•12mo ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

https://old.reddit.com/r/emacs/comments/1hlj04t/emacs_using_...

appetrosyan•12mo ago
That's the best thing to do for the moment.
robobro•12mo ago
404

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

appetrosyan•12mo ago
Hi. I just migrated my blog to Hugo yesterday. The correct link is:

https://appetrosyan.github.io/posts/emacs-widget/