frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Surveyed 218 entrepreneurs on burnout – 92% overwhelmed monthly

1•differentdima•1m ago•0 comments

Younger Firms and CEOs Allow More Work from Home

https://www.nber.org/papers/w34795
1•PretzelFisch•2m ago•0 comments

The Physics That Makes Interstellar Travel Impossible [video]

https://www.youtube.com/watch?v=Yw68KjMa5U8
1•caustic•3m ago•0 comments

Show HN: Self-Integrating AI Agent

https://github.com/membranehq/self-integrating-agent-example
1•hcle25•3m ago•0 comments

Multi-OpenClaws with MemOS Plugin share memory and achieve great teamwork

https://twitter.com/MemOS_dev/status/2020538135487062094
1•MemTensor•5m ago•1 comments

Cursor: Composer 1.5

https://cursor.com/blog/composer-1-5
1•tosh•7m ago•0 comments

Show HN: Camera Follow Focus Ring Generator

https://www.followyourfocus.xyz/
2•dRuivo•7m ago•0 comments

Show HN: CasNum – A GameBoy ALU using only compass-&-straightedge constructions

https://github.com/0x0mer/CasNum
1•0x0mer•7m ago•0 comments

Anthropic is donating $20M to Public First Action

https://www.anthropic.com/news/donate-public-first-action
3•ryanhn•8m ago•0 comments

Russia blocks WhatsApp, talks up state-backed alternative

https://www.nbcnews.com/world/russia/russia-whatsapp-blocked-max-telegram-putin-war-ukraine-rcna2...
2•koolba•8m ago•0 comments

In WhatsApp/Telegram – OpenClaw?

1•PriyanshuDangi•9m ago•0 comments

Business Is the Art of Maintenance

https://blog.oak.ninja/shower-thoughts/2026/02/12/business-is-the-art-of-maintenance.html
3•OakNinja•10m ago•1 comments

AI Coding Killed My Flow State

https://medium.com/itnext/ai-coding-killed-my-flow-state-54b60354be1d
1•birdculture•10m ago•0 comments

I made an AI caricature avatar generator (try 1 image without signup)

https://aicaricaturegenerator.org/
1•morty137•11m ago•1 comments

NanoQuant: Efficient Sub-1-Bit Quantization of Large Language Models

https://arxiv.org/abs/2602.06694
3•chrsw•11m ago•0 comments

Pandoc in the Browser with WASM

https://discourse.haskell.org/t/ann-pandoc-3-9-wasm/13659
1•vinnyhaps•11m ago•0 comments

Show HN: Instant text translation anywhere on macOS

https://translite.app/
1•davizgarzia•12m ago•0 comments

A continuity-based streaming codec (no entropy, no look-ahead)

https://github.com/sferadeltutto/Iperbit-HTC3
1•lucarossetto•15m ago•1 comments

ContractShield – €19 security scan for indie SaaS (2,500 CVEs, Nuclei-powered)

https://contractshield.com
1•alec_codec•15m ago•1 comments

Accelerating Scientific Research with Gemini: Case Studies and Common Techniques

https://arxiv.org/abs/2602.03837
1•danielmorozoff•16m ago•0 comments

Super-simulator of the global economy could address climate crisis

https://www.theguardian.com/environment/2026/feb/12/economics-climate-crisis-complexity-scientist...
1•robaato•17m ago•0 comments

S.F. teachers strike: Schools to close for 4th day, negotiations slow

https://missionlocal.org/2026/02/san-francisco-teachers-strike-day-3-tensions-rise-as-negotiation...
1•geox•18m ago•0 comments

A Semiconductor Adventure in China – Doug Sparks on the Siliconimist

https://www.youtube.com/watch?v=N0YGJiWRQq0
1•johncole•18m ago•0 comments

The Missing GitHub Status Page

https://mrshu.github.io/github-statuses/
3•taubek•18m ago•0 comments

Wildlife attacks and strange behavior – fake images spark conservation concerns

https://news.mongabay.com/2026/01/wildlife-attacks-and-strange-animal-behavior-fake-images-spark-...
1•sohkamyung•19m ago•0 comments

Sentry – Ingestion delays for spans, logs, traces, and metrics in US

https://status.sentry.io/incidents/20lh51tkhclx
1•luthMan•21m ago•0 comments

'Price of dignity' says Ukrainian athlete banned over helmet

https://www.bbc.com/sport/articles/c309pj8d8qqo
1•breve•22m ago•0 comments

Ask HN: What are you using to follow tweets in real time?

1•leshokunin•22m ago•1 comments

Finer – Native Jellyfin Music Player for Apple Devices

https://monk-studio.com/finer
1•wddwycc•24m ago•0 comments

Show HN: Pablituuu – Web Video Editor with AI Highlights (WebGL, FFmpeg WASM)

https://pablituuu.space/login
1•pablituuu•24m ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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