frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rivian will deliver the first R2 SUVs on June 9

https://techcrunch.com/2026/05/27/rivian-will-deliver-the-first-r2-suvs-on-june-9/
1•01-_-•1m ago•0 comments

Giant cockroach statue brings new life to shrinking Nara village

https://mainichi.jp/english/articles/20260527/p2g/00m/0na/048000c
1•rawgabbit•1m ago•0 comments

Ottawa's latest deal with U.S. data giant Palantir raises warnings

https://www.thestar.com/politics/federal/ottawas-latest-deal-with-us-data-giant-palantir-raises-w...
1•01-_-•1m ago•0 comments

The Ridgeway

https://www.historic-uk.com/HistoryMagazine/DestinationsUK/The-Ridgeway/
1•mellosouls•2m ago•0 comments

Google engineer charged with using inside information to win $1.2M on Polymarket

https://www.washingtonpost.com/technology/2026/05/27/google-employee-charged-with-insider-trading...
1•1vuio0pswjnm7•2m ago•0 comments

TopRec (toprec.io) – AI screening and CRM for recruiters and hiring teams

https://toprec.io
1•girish-fokusly•8m ago•0 comments

The fog is alive: bacteria in fog droplets clear toxins from air

https://news.asu.edu/20260514-environment-and-sustainability-fog-alive-researchers-discover-bacte...
1•XzetaU8•12m ago•0 comments

Rust Will Save Linux from AI, Says Greg Kroah-Hartman

https://www.zdnet.com/article/rust-will-save-linux-from-ai-says-greg-kroah-hartman/
1•signa11•12m ago•0 comments

Amazon to Acquire Apple's Globalstar Stake in Satellite Deal

https://www.macrumors.com/2026/05/27/amazon-apple-globalstar-deal/
1•mgh2•13m ago•0 comments

Ebola exposed Americans blocked from US return

https://arstechnica.com/health/2026/05/us-walls-itself-off-from-ebola-beefed-up-travel-ban-no-cit...
1•M_bara•19m ago•1 comments

AI Is Starting to Hit Power Grid Limits Simple, Crédible, Ouvre La Discussion

https://nypost.com/2026/05/22/business/data-center-debacle-roiling-midterms-as-ai-may-have-to-pay/
1•latentframe•20m ago•0 comments

The Orchestration Tax

https://twitter.com/addyosmani/status/2059844244907696186
1•pretext•21m ago•0 comments

Amiga Networking FAQ (1994)

https://groups.google.com/g/comp.answers/c/Yfa-YSE_7H8/m/-TqlJ2sfg28J
1•doener•24m ago•0 comments

KA9Q

https://en.wikipedia.org/wiki/KA9Q
2•doener•26m ago•1 comments

Durable links between everything you work on

https://www.mjanssen.nl/linkano/index.html
1•marc0janssen•26m ago•0 comments

OpenPowerlifting – creating a public-domain archive of powerlifting history

https://www.openpowerlifting.org/
1•andre9317•27m ago•0 comments

Archive-It – Built at Archive.org

https://archive-it.org/
2•gurjeet•37m ago•0 comments

Show HN: Camera Lets You See Sound in Complete Darkness [video]

https://www.youtube.com/watch?v=1zeHfH5TzWY
1•Regina0727•41m ago•0 comments

Grid-Forming vs. Grid-Following Inverters

https://www.batterydesign.net/grid-forming-vs-grid-following-inverters/
1•leonidasrup•41m ago•0 comments

UC Berkeley Law Artificial Intelligence Policy

https://www.law.berkeley.edu/academics/registrar/academic-rules/artificial-intelligence-policy/
1•fbrusch•43m ago•0 comments

The World Cup Is a Petri Dish

https://www.bloomberg.com/news/articles/2026-05-28/how-companies-are-tracking-disease-threats-dur...
1•petethomas•43m ago•0 comments

Show HN: BetterCallClaude – Open Source AI Legal Agents for Italy

https://bettercallclaude.it/
1•ReDeiPirati•46m ago•0 comments

Emacs Bra Size Calculator

https://pulusound.fi/blog/emacs-bra-size-calculator/
1•grumblepeet•49m ago•0 comments

MTerm

https://github.com/d0x2a/mTerm
1•vad_n__•50m ago•0 comments

WP23

https://wordpress.org/news/2026/05/wp23/
1•OuterVale•53m ago•0 comments

I Found the US Nuclear Detection System in Space [video]

https://www.youtube.com/watch?v=DjLnIb41DuQ
2•noazark•55m ago•0 comments

Mini-SWE-agent scores up to 74% on SWE-bench in 100 lines of Python code

https://mini-swe-agent.com/latest/
1•fittingopposite•57m ago•0 comments

A Comprehensive Analysis of the Open-Weight Frontier (May 2026)

https://deepresearch.ninja/2026/05/Qwen3.6-27B/35B-A3B-vs-Gemma-4-vs-DeepSeek-V4-A-Comprehensive-...
1•jackalxyz•1h ago•0 comments

PeerDrop – Direct file transfer. No cloud

https://peerdrop.app/
1•janandonly•1h ago•0 comments

Perfect randomness realized for the first time

https://phys.org/news/2026-05-randomness.html
2•arunc•1h ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

spit2wind•1y 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•1y 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•1y ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•1y 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•1y 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•1y ago
Why did you delete the page?
appetrosyan•1y ago
Didn't. I migrated to `hugo` and it trims off the `.html` at the end. The permalink is the same.
matt-attack•1y 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•1y ago
PSA: Use The Lucid Toolkit https://irreal.org/blog/?p=12672

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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