frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

WBHM team expected to use "Gulf of America" in place of "Gulf of Mexico"

https://view.reach.uab.edu/?vawpToken=ME7CAU4SLM3UDF7WR3ZWYWEU7Y.100228
1•mooreds•2m ago•0 comments

Is z.ai shipping a different ZCode client than the source?

1•leftbehind•2m ago•0 comments

Mission-Bound Authorization for OAuth 2.0

https://datatracker.ietf.org/doc/draft-mcguinness-oauth-mission/
1•mooreds•2m ago•0 comments

How to copy URLs of multiple Firefox tabs without installing an extension

https://www.autodidacts.io/how-to-copy-urls-of-multiple-firefox-tabs-without-installing-an-extens...
1•Curiositry•2m ago•0 comments

What Even Is an OS Now?

https://sockpuppet.org/blog/2026/09/25/what-even-is-an-os-now/
1•fratellobigio•4m ago•0 comments

AI and human tutoring yield equivalent GRE learning gains

https://arxiv.org/abs/2609.28470
1•Betelbuddy•6m ago•0 comments

IBM When is Watson going to regain the crown via television?

1•conorcleary•7m ago•2 comments

It's not hypothetical: the dangers of AI are here

https://www.theguardian.com/commentisfree/2026/sep/25/ai-israel-gaza-iran-police-surveillance
3•harry_nutsachs•14m ago•0 comments

Minimal Assumptions for Societal Resilience

https://chillphysicsenjoyer.substack.com/p/minimal-assumptions-for-societal
1•crescit_eundo•14m ago•0 comments

Show HN: Farm.js – A full-stack framework with an AOT compiler for React

https://farmjs.dev/
1•kinfish•16m ago•0 comments

Carnegie: China Passes US as Top AI Talent Hub, 40.6% to 34.2%

https://aiweekly.co/alerts/carnegie-china-passes-us-as-top-ai-talent-hub-406-to-342
2•yogthos•18m ago•1 comments

Show HN: NerfWatch() – Track AI degradation with daily tests and community votes

https://nerfwatch.lol
1•csergiu•19m ago•0 comments

Show HN: BuyerCue – Find potential customer by paid-placement evidence

https://www.buyercue.io
1•apsquared•20m ago•1 comments

Where's the Beef? [video]

https://www.youtube.com/watch?v=4rhShOPHl50
1•gotmedium•20m ago•0 comments

Kafgres: Embedding a Kafka Broker into Postgres

https://rynr.dev/blog/kafgres/
3•enether•21m ago•0 comments

The Animated Elliptic Curve

https://curves.xargs.org/
2•pedropiin•21m ago•0 comments

VAT-Inclusive vs. VAT-Exclusive Pricing: The Math Developers Get Wrong

https://vat-engine.app/blog/vat-inclusive-vs-vat-exclusive-pricing
1•vasyl_kyryliuk•21m ago•0 comments

Manchester City found guilty on 114 charges relating to financial breaches

https://www.nytimes.com/athletic/7049721/2026/09/25/manchester-city-charges-verdict-premier-league/
5•mtlmtlmtlmtl•21m ago•0 comments

IRS launches new mobile app, expanding digital services for taxpayers

https://www.irs.gov/newsroom/irs-launches-new-mobile-app-expanding-digital-services-for-taxpayers
1•duck•25m ago•0 comments

"Someone just sent me an ad that features an AI version of me. What do I do?"

https://bsky.app/profile/lebassett.bsky.social/post/3mwel345jr22s
9•pavel_lishin•25m ago•0 comments

A terminal-first multiplayer thread for agent-authored work

https://www.cueloop.dev/
2•markusmurakaru•26m ago•0 comments

Become the Thousand Servers

https://sabot.media/guides/become-the-thousand-servers/
1•ibobev•28m ago•0 comments

Std: Call_once vs. Std:Async

https://devblogs.microsoft.com/oldnewthing/20260917-00/?p=112706/
1•ibobev•29m ago•0 comments

Comparing exception behavior of magic statics, std:call_once, and std:async

https://devblogs.microsoft.com/oldnewthing/20260918-00/?p=112709/
1•ibobev•29m ago•0 comments

The hottest new hangout for middle schoolers is NPR's comment section?

https://techcrunch.com/2026/09/25/the-hottest-new-hangout-for-middle-schoolers-is-nprs-comment-se...
3•geneticdrifts•29m ago•0 comments

Ask HN: Does your team still have humans review and understand code?

1•taurath•31m ago•0 comments

Show HN: Ekselio – Loveable for Finance Workflows (local first)

https://www.gptbeyond.com/try?home=1
1•kdautaj•31m ago•0 comments

Revealing the details of how OpenAI agents hacked Hugging Face

https://swarmtraces.org/
3•specked-citrus•31m ago•0 comments

FYI: OpenAI "spend limits" aren't always limits

1•iambateman•32m ago•0 comments

Shipping Code Faster Is Not the Bottleneck

https://valentinprugnaud.dev/posts/2026/07/shipping-code-faster-is-not-the-bottleneck
3•conorcleary•34m 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 ?