frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Road deaths in the US have fallen more slowly than in other rich countries

https://ourworldindata.org/data-insights/road-deaths-in-the-united-states-have-fallen-much-more-s...
1•alphabetatango•53s ago•0 comments

Using AI while exercising your critical thinking

https://swiftrocks.com/using-ai-without-losing-critical-thinking
1•jshchnz•1m ago•0 comments

The Fourth Amendment After Chatrie

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7238178
1•cbrews•1m ago•0 comments

Harry Potter fans force diverting UK-Ireland power link to avoid Dobby's grave

https://www.bbc.com/news/articles/cy8mgpl27dpo
2•yurivish•3m ago•0 comments

The insufferable hypocrisy of elite academia

https://www.theatlantic.com/magazine/2026/09/elite-academia-leadership-hypocrisy/687969/
1•loughnane•4m ago•0 comments

Show HN: SecondState – what if Hebbia started with raw ERP data?

https://trysecondstate.com/
1•ELAmrani•7m ago•0 comments

SpaceX's Earnings Show Elon Wiped Out Two-Thirds of Twitter's Ad Business

https://www.techdirt.com/2026/08/10/spacexs-earnings-show-elon-wiped-out-two-thirds-of-twitters-a...
1•shye•9m ago•0 comments

Greenland issues 'strong warning' as Trump-linked oil firm prepares to drill

https://www.theguardian.com/world/2026/aug/08/greenland-iwarning-trump-linked-oil-firm-prepares-d...
1•abdelhousni•10m ago•1 comments

Beware the Permanent Periphery

https://asteriskmag.com/issues/15/beware-the-permanent-periphery
2•m-hodges•11m ago•0 comments

Cable Pioneer Bob Miron Dies at 89

https://www.cablefax.com/people/cable-pioneer-miron-dies-at-89
2•indigodaddy•11m ago•1 comments

Muse Glimmer 30B unsloth GGUF format Q4, Q6, Q8 quantizations

https://huggingface.co/unsloth/Muse-Glimmer-30B-GGUF
1•walrus01•11m ago•0 comments

AI Coding and Its Discontents

https://calnewport.com/on-ai-coding-and-its-discontents/
2•champagnepapi•13m ago•0 comments

Pro Jank Footy, the video game taking Australian rules to the world

https://www.theguardian.com/games/2026/aug/11/pro-jank-footy-video-game-australian-rules
1•milderworkacc•18m ago•0 comments

No, local models will not win

https://www.seangoedecke.com/local-models-will-not-win/
2•m0rde•22m ago•0 comments

Chicken Scheme 6.0 Released

https://code.call-cc.org/releases/6.0.0/NEWS
1•eatonphil•22m ago•0 comments

Estimating Branch Probabilities

https://maskray.me/blog/2026-08-09-estimating-branch-probabilities?from_theconsensus=1
1•eatonphil•24m ago•0 comments

Vibebin – code and host with incus containers on your VPS/server

https://GitHub.com/jgbrwn/vibebin
1•indigodaddy•26m ago•0 comments

Tell HN: I Bought a Pocket Notebook

2•Iuz•27m ago•0 comments

The Roboguard Revolution Is Short-Circuiting

https://www.proofnews.org/the-roboguard-revolution-is-short-circuiting/
1•DeepLogin•28m ago•0 comments

Locating a livestreamers geolocation via background noise [video]

https://www.youtube.com/watch?v=SnbkIm56TfI
1•SpyCoder77•28m ago•0 comments

Training AI to Govern for Us

https://freesystems.substack.com/p/training-ai-to-govern-for-us
2•mitchbob•29m ago•0 comments

ICE to Pay LexisNexis Millions for Data to Feed to Palantir

https://www.404media.co/ice-to-pay-lexisnexis-millions-for-data-to-feed-to-palantir/
5•cdrnsf•30m ago•0 comments

Canopy: Grade any website's health in 4 seconds

https://canopystack.dev/
1•jjraxx•30m ago•0 comments

The AI Slop Backlash Is Having an Impact

https://www.wired.com/story/the-ai-slop-backlash-is-actually-having-an-impact/
4•ripe•36m ago•0 comments

Apple Reference Image: authenticate that a photo came from an iPhone camera

https://9to5mac.com/2026/08/10/apple-is-working-on-a-way-to-authenticate-that-a-photo-came-from-a...
2•Barbing•38m ago•0 comments

The End of MacSurf

https://www.patreon.com/posts/166335760
6•mplsllc•41m ago•0 comments

Unifying Workers AI and AI Gateway into a Single AI Control Plane

https://blog.cloudflare.com/workers-ai-gateway-unification/
1•c_f_•44m ago•0 comments

The Closure of the Internet

https://arctotherium.substack.com/p/the-closure-of-the-internet
2•iamnothere•46m ago•0 comments

"Remaining Awake Through a Great Revolution" Commencement Address (1959)

https://kinginstitute.stanford.edu/king-papers/documents/remaining-awake-through-great-revolution...
2•mooreds•53m ago•0 comments

SNAP's New Rules Make Eligible Families Go Hungry [audio]

https://omny.fm/shows/platypus-economics/how-snaps-new-rules-make-eligible-families-go-hungry-the...
1•mooreds•54m 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.

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/

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 ?