frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Chasing the Coca-Cola Recipe

https://hackaday.com/2026/01/12/chasing-the-coca-cola-recipe/
1•WithinReason•7m ago•0 comments

Why pleasure is the key to self-improvement

https://www.theguardian.com/books/2026/jan/11/why-pleasure-is-the-key-to-self-improvement
2•ryan_j_naughton•8m ago•0 comments

Google Gemini Partnership with Apple Will Go Beyond Siri Revamp

https://www.macrumors.com/2026/01/12/google-gemini-future-apple-intelligence-features/
3•tosh•8m ago•0 comments

Show HN: I made a zero-knowledge tool to request clients' secrets

https://keyhold.io
1•logicalsam•8m ago•0 comments

Show HN: Sidecar – AI Social Manager (Analyzes past hits to write new posts)

https://sidecar.bz/http:/localhost:45678/
2•ecotto123•8m ago•2 comments

Named: 'experts' and brands publishers should treat with caution

https://pressgazette.co.uk/news/named-50-experts-and-linked-brands-publishers-should-treat-with-c...
2•coloneltcb•9m ago•0 comments

Message Queues: A Simple Guide with Analogies

https://www.cloudamqp.com/blog/message-queues-exaplined-with-analogies.html
4•byt3h3ad•10m ago•0 comments

Kendall says [UK] government will make supplying nudification apps illegal

https://www.theguardian.com/politics/live/2026/jan/12/grok-x-nudification-technology-online-safet...
3•chrisjj•11m ago•0 comments

Show HN: Agents working in parallel nested worktrees made simple

https://github.com/qudent/parallel-working-made-simple
2•qudent•11m ago•0 comments

Show HN: Cozy Cafe – A browser-based idle clicker game, made with Claude Code

https://cozycafe.sawirstudio.com/
2•sawirricardo•12m ago•1 comments

I got Claude to act unethical by being friends with it

https://substack.com/inbox/post/184047147
3•bigpapikite•12m ago•0 comments

Free SVG pieces and boards for chess-like games

https://blog.cyril.email/posts/2026-01-12/free-svg-assets-for-abstract-strategy-board-games.html
2•cyrilllllll•13m ago•0 comments

If Gemini adds Projects I'd switch from ChatGPT

https://medium.com/@alexandrurada_346/chat-projects-matter-and-gemini-still-falls-short-80c85f3b26a7
2•websku•13m ago•0 comments

The WWW Virtual Library

https://vlib.org/
1•mghackerlady•14m ago•0 comments

Musk: We will make the new X algorithm open source in 7 days

https://twitter.com/elonmusk/status/2010062264976736482
4•throwfaraway135•14m ago•0 comments

CEO laid off 80% of staff 2 years ago. He would do it again

https://finance.yahoo.com/news/ceo-laid-off-nearly-80-185033733.html
5•websku•16m ago•3 comments

Be Wary of Digital Deskilling

https://calnewport.com/be-wary-of-digital-deskilling/
3•calstad•18m ago•0 comments

Bento got acquired by Linktree and shut down – so we made an alternative

https://avely.me/
4•FlavioAd•18m ago•0 comments

A geopolitical dashboard to track live conflicts and compare news outlets

https://geopoliticsmonitor.com/
2•Zzadda•18m ago•0 comments

The AI Gazes at Its Navel

http://funcall.blogspot.com/2026/01/the-ai-gazes-at-its-naval.html
1•djha-skin•18m ago•0 comments

Paramount Threatens Board Fight over Warner Bros. Discovery

https://www.nytimes.com/2026/01/12/business/media/paramount-warner-bros-discovery-board-fight.html
2•Sparkle-san•19m ago•1 comments

If god said it he'll do it

https://proverbs31.org/read/devotions/full-post/2021/03/02/if-god-said-it-hell-do-it
1•marysminefnuf•19m ago•0 comments

The Worst Devices of CES 2026 [video]

https://www.youtube.com/watch?v=cxZgILm95BU
2•ColinWright•20m ago•0 comments

Increased file size limits and expanded inputs support in Gemini API

https://blog.google/innovation-and-ai/technology/developers-tools/gemini-api-new-file-limits/
1•meetpateltech•20m ago•0 comments

No Code Is Dead

https://thenewstack.io/no-code-is-dead/
1•ms7892•20m ago•1 comments

Show HN: Spec Driven Development Plugin for Claude Code

https://github.com/jsegov/shipspec-claude-code-plugin
1•segov•22m ago•0 comments

Earth's frozen regions are sending a clear warning about climate change

https://theconversation.com/earths-frozen-regions-are-sending-a-clear-warning-about-climate-chang...
3•PaulHoule•22m ago•0 comments

Google Gemini Partnership with Apple Will Go Beyond Siri Revamp

https://twitter.com/NewsFromGoogle/status/2010746083170046376
2•7777777phil•23m ago•2 comments

How alone do you feel?

https://chicagosignguy.com/blog/how-alone-do-you-feel.html
3•publicdebates•23m ago•0 comments

Why Reddit Is a Goldmine for Market Research

https://fluxzap.com/reddit-market-research-goldmine/
2•taimurkazmi•23m ago•0 comments
Open in hackernews

The Emacs Widget Toolkit

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

Comments

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

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

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

Page Not Found

Sorry, this page does not exist.

You can head back to the homepage.

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

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