frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: What's your SSH terminal workflow like?

1•otherayden•1m ago•0 comments

Show HN: VM 9.0.0, a mail reader for Emacs

https://gitlab.com/emacs-vm/vm
1•diekhans•1m ago•0 comments

Supreme Court agrees to review ban on distilling spirits in private homes

https://apnews.com/article/supreme-court-distilling-spirits-reconstruction-ban-51131151865ded8609...
1•geox•4m ago•0 comments

About $1B of training compute is shared for free on the Hugging Face Hub

https://thomwolf-hub-dollars.static.hf.space/index.html
1•handfuloflight•5m ago•0 comments

U.S. Supreme Court to review 1868 federal ban on home distilling of liquor

https://www.staradvertiser.com/2026/10/19/breaking-news/u-s-supreme-court-to-review-1868-federal-...
2•Jimmc414•8m ago•0 comments

A Forgotten 1980 Reversible Computer, and the AI That Just Cut Quantum Costs 17x

https://x.com/BrianRoemmele/article/2112202286441374119
1•pcvarmint•9m ago•0 comments

Privacy Badger for Safari on macOS

https://apps.apple.com/us/app/privacy-badger/id6761143693?mt=12
1•Jiahang•15m ago•0 comments

Show HN: Rouler – Steer Windows traffic per app or IP across multiple interfaces

https://rouler.io/
1•brndnbuilds•19m ago•0 comments

AWS CFO joked about the financial toll of AI. An internal recording reveals why

https://www.businessinsider.com/amazon-220-billion-ai-bet-data-centers-spending-challenges-2026-10
2•ihuman•21m ago•1 comments

The AfD leak site's emails shows nazism from party members

https://twitter.com/intcyberdigest/status/2112131117826359749
1•doener•22m ago•0 comments

Pixel: Build Graphical Applications in the Terminal

https://pixelgui.com/
1•handfuloflight•23m ago•0 comments

Should agent-memory benchmarks test stale information?

https://agentmemories.ai/home
1•MemoryEnthusias•24m ago•0 comments

Show HN: An Open Source Aircraft

https://adampaigge.github.io/openplane/
1•adampaigge•25m ago•0 comments

Refuseless: Open and Abliterated LLMs

https://refuseless.com
1•handfuloflight•25m ago•0 comments

Show HN: Don't Get Nerf'd by Document Processing

https://extract.nerfguard.com
1•jonappleseed22•27m ago•0 comments

Show HN: AML CYCLE 2, a benchmark for long-term agent memory

https://x.com/AgentMemoryL
1•IreneAI•32m ago•0 comments

Show HN: SendReward – gift cards at face value, dashboard or one API call

https://sendreward.com/
1•burello•33m ago•0 comments

Cloudflare: There is a major outage on Zero Trust services

https://www.cloudflarestatus.com/incidents/0eqtn0khkz87
1•reimertz•36m ago•1 comments

Clockwork Mechanics, Maintenance, and Metaphors in the Late Middle Ages

https://www.jhiblog.org/2026/10/19/clockwork-metaphors/
1•benbreen•45m ago•0 comments

Exa 3.0

https://exa.ai/blog/exa-3
1•opengears•47m ago•0 comments

Voice packs plus an open-source agent for texts, calls and Slack

https://github.com/eyeguide-dev/speakvora-pack-agent
1•speakvora•49m ago•0 comments

Cash every week iPhone app: way to see where your money goes, one week at a time

https://andrewarrow.dev/cashew/
2•cs1996•50m ago•1 comments

Alberta referendum: Province awaits results after delays on voting day

https://www.cbc.ca/news/canada/edmonton/livestory/alberta-referendum-results-live-updates-separat...
1•mooreds•58m ago•0 comments

Textideo Director – an AI video creation tool for scenes, shots

https://textideo.com/director
1•Yummiy•58m ago•0 comments

How to read QR codes by hand (and make bad ones that work) [video]

https://www.youtube.com/watch?v=RYqX8CNgzwM
1•gregsadetsky•59m ago•0 comments

Don't Choose. Join

https://github.com/ckir/clavity
1•ckir1508•1h ago•0 comments

Healthy Reef Sounds Can Boost Coral and Fish Recovery Efforts

https://today.ucsd.edu/story/healthy-reef-sounds-can-boost-coral-and-fish-recovery-efforts
1•gmays•1h ago•0 comments

Edward Snowden on Palestine and Sam Altman [video]

https://www.youtube.com/watch?v=zMG6aRZhIGE
2•matteohorvath•1h ago•0 comments

Go will reject certificate chains containing eight distrusted SPKIs

https://github.com/golang/go/issues/82345
14•mendym•1h ago•3 comments

CNN's Christiane Amanpour to depart network after 43 years

https://www.nbcnews.com/business/media/cnns-christiane-amanpour-depart-network-43-years-rcna604365
2•theanonymousone•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.

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 ?