frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

9/11 survivors are being diagnosed with cancer 25 years after the attacks [video]

https://www.youtube.com/watch?v=gKEly6Vs3MU
1•mgh2•1m ago•0 comments

Lawyer used fake AI cases to defend himself at tribunal and it didn't end well

https://www.legalcheek.com/2026/09/lawyer-used-fake-ai-cases-to-defend-himself-at-disciplinary-tr...
1•ColinWright•1m ago•0 comments

AIs as Modern Genies

https://www.schneier.com/blog/archives/2026/09/ais-as-modern-genies.html
1•Bluestein•4m ago•0 comments

Standupd, a Letterboxd for stand-up comedy

https://standupd.com/
1•alpkorpe•6m ago•0 comments

Norton Neo Browser

https://neobrowser.ai/
1•phantomathkg•8m ago•0 comments

Musk's secretive backer builds $40B SpaceX stake

https://www.ft.com/content/c765f312-e698-4d31-bf71-f64a656ad6f4
3•sbulaev•9m ago•0 comments

GP data added to Palantir's NHS data platform

https://www.ft.com/content/5d15de64-49cc-4b6a-a2ea-51061f1cddc7
2•sbulaev•9m ago•0 comments

Show HN: Nearby places ranked by quality score, not ads

https://realnear.app/
1•stdcall83•9m ago•0 comments

Shared Code: Democratizing AI Companies

https://www.cip.org/blog/shared-code
1•erlend_sh•14m ago•0 comments

Show HN: ProofOfDonation, replace CAPTCHAs with charity donations

https://github.com/mgriley/proof-of-donation/
1•mgriley•15m ago•0 comments

Show HN: PDF Pocket Tools – offline PDF toolkit as a single 200KB HTML file

https://pdfpockettools.itch.io/pdf-pocket-tools
1•pdfpockettools•17m ago•0 comments

Sam Altman addresses AI doomsday fears in new interview

https://fortune.com/2026/09/12/sam-altman-interview-ai-doomsday-safety-models-control-ipo-2027/
1•JeremyTheo•22m ago•1 comments

How supermarkets are using AI to watch you in the aisles

https://www.rte.ie/brainstorm/2026/0911/1590631-retail-surveillance-ai-technology/
2•austinallegro•26m ago•0 comments

Ryanair CEO compares rival airlines to 'rapists'

https://www.brusselstimes.com/2312302/ryanair-ceo-compares-rival-airlines-to-rapists
2•Daniyal45•31m ago•0 comments

Marriott Guest Says Hotel Insisted a Rubbermaid Laundry Cart Was a Baby Crib

https://www.fashiontimes.co.uk/marriott-guest-rubbermaid-cart-instead-crib-1763854
1•extasetoi12•33m ago•0 comments

Homebrew 7.0.0

https://brew.sh/2026/09/13/homebrew-7.0.0/
6•mikemcquaid•35m ago•1 comments

Man arrested after allegedly sexually abusing koi fish in Bangkok

https://www.khaosodenglish.com/featured/2026/09/11/man-arrested-after-allegedly-sexually-abusing-...
1•face2sunny•36m ago•0 comments

Robots protest in Poland over AI regulation concerns

https://www.aljazeera.com/video/newsfeed/2026/9/7/robots-protest-in-poland-over-ai-regulation-con...
1•dinesshsaini21•38m ago•0 comments

Toposes are NOT scary – Urs Schreiber [video]

https://www.youtube.com/watch?v=_3TslhCBQ1E
1•hackandthink•39m ago•0 comments

Download More RAM – Nvidia CMP 170HX Cmpunlocker

https://www.lttlabs.com/articles/2026/09/12/cmp-170hx-cmpunlocker
2•willx86•43m ago•0 comments

In Clover: What does McKinsey do? (2022)

https://www.lrb.co.uk/the-paper/v44/n24/laleh-khalili/in-clover
1•Tomte•48m ago•0 comments

Show HN: Run coding agents on your own machine, steer them from anywhere

https://github.com/phyra-research/roamux
2•mwiki•55m ago•0 comments

Diablo 5 Announced

https://sea.ign.com/diablo-iv/248747/diablo-5-announced
2•nsoonhui•56m ago•0 comments

Ask HN: Should we start airgapping our personal devices?

2•emerongi•56m ago•1 comments

Android – Morphe patch app list

https://morphe-patches.software/#apps
1•dockerd•57m ago•0 comments

Deepfakes are wrecking influencers' credibility, one fake ad at a time

https://www.theguardian.com/technology/2026/sep/12/deepfakes-wrecking-influencers-credibility
4•andsoitis•1h ago•1 comments

Genuine curiosity will always beat performative intellectualism

https://hasifcore.substack.com/p/genuine-curiosity-will-always-beat
3•the-mitr•1h ago•0 comments

Rawtree – A ClickHouse Fork by Tinybird

https://rawtree.com/
2•knuckleheads•1h ago•0 comments

Matt Berry is now a sentient IKEA shelf in Skyrim

https://www.pcworld.com/article/3233287/matt-berry-is-now-a-sentient-ikea-shelf-in-skyrim.html
1•jubayer9906•1h ago•0 comments

Ask HN: What if anyone could sell AI tokens from their idle GPU?

1•edurights-team•1h ago•2 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 ?