frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tyouson – AI Practice tests for exams (www.tyouson.com)

1•Jaiyesh_Paraste•8m ago•0 comments

Xbox Is Now XBOX

https://www.theverge.com/news/931918/microsoft-xbox-rebrand-caps
2•namiwang•12m ago•0 comments

Frosthyon: AI assistant for 3D and general workflows

https://lumithyon.com
1•David_Founder•13m ago•0 comments

Who's composing music for my washing machine?

https://podcasts.apple.com/us/podcast/whos-composing-music-for-my-washing-machine/id73329284?i=10...
1•gmays•23m ago•0 comments

Agent Harness Engineering

https://www.oreilly.com/radar/agent-harness-engineering/
1•Garbage•26m ago•0 comments

Ask HN: Share concrete examples of benefits from AI usage

1•ChaitanyaSai•29m ago•0 comments

The ISO 216 "A4" paper system is broken (rounding errors) [video]

https://www.youtube.com/watch?v=XllQPr8FtPE
1•fsckboy•31m ago•1 comments

Ebola outbreak with uncommon strain erupts in Congo and Uganda; 65 deaths

https://arstechnica.com/health/2026/05/ebola-outbreak-confirmed-in-congo-and-uganda-246-suspected...
1•tatersolid•41m ago•0 comments

Accelerating Dynamics of Collective Attention

https://pmc.ncbi.nlm.nih.gov/articles/PMC6465266/
1•James72689•44m ago•0 comments

AtOnce

https://atonce.com
1•Asimtar•45m ago•0 comments

Show HN: AI that audits your codebase in 60 seconds

https://triyambakam-apex-corp.hf.space
2•haapatel•49m ago•0 comments

Which AI Model Asks Questions Intelligently?

1•aashu_bel•53m ago•0 comments

SymPy – a Python library for symbolic mathematics

https://docs.sympy.org/latest/tutorials/intro-tutorial/intro.html
1•tzury•53m ago•0 comments

The case for Python + HTMX over React

https://dev.to/syedahmershah/react-is-overkill-why-python-htmx-is-dominating-in-2026-17ib
4•indigodaddy•54m ago•0 comments

TikTok Performance Problems and Feed Instability: What's Going Wrong and How To

http://www.fixtech.co.ke/2026/05/tiktok-performance-problems-and-feed.html
1•rindodi•55m ago•0 comments

Henry Ford on Thomas Edison

1•silexia•56m ago•0 comments

Did we just time-traveled?

https://github.com/xs-lang0/xs
1•modinfo•58m ago•2 comments

The Fragmented Simulation Hypothesis:A computational modelfor why DéjàVu happens

https://medium.com/@scsteffes/a-computational-hypothesis-for-déjà-vu-the-fragmented-simulation-er...
1•LiquidSmooth•1h ago•0 comments

Who are the Japanese? DNA discovery rewrites history

https://www.sciencedaily.com/releases/2026/05/260514003314.htm
1•stmw•1h ago•0 comments

Overworked AI Agents Turn Marxist, Researchers Find

https://slashdot.org/story/26/05/14/067254/overworked-ai-agents-turn-marxist-researchers-find
2•tom2026hn•1h ago•1 comments

So you want Slowly Changing Dimension? (2023)

https://www.dolthub.com/blog/2023-06-22-slowly-changing-dimension/
1•wonger_•1h ago•0 comments

Best practices for computer and browser use with Claude

https://claude.com/blog/best-practices-for-computer-and-browser-use-with-claude
1•tortilla•1h ago•0 comments

Major VPN provider says it could leave Canada over lawful access bill

https://www.ctvnews.ca/politics/article/major-vpn-provider-says-it-could-leave-canada-over-lawful...
7•ethanplant•1h ago•3 comments

Orion PDA – A pocket device to take notes and play music

https://orionpda.org/yt
2•wbsun•1h ago•0 comments

A live hantavirus outbreak tracker auto-curated by Claude

https://aihuynya.com/hanta/
2•antroos•1h ago•1 comments

I want to create fintech in Latam, someone with experience can guide me?

1•cleanIsGud•1h ago•0 comments

Cloudflare Based URL Shortener Open Source

https://github.com/clarkhacks/RdRx
1•clarkhacks•1h ago•0 comments

I built a sports partner matching app because finding players in BA is broken

https://movea.com.ar/
1•cleanIsGud•1h ago•0 comments

Universal file converter, one handlers table

https://github.com/freeaigit/free-convert
1•nadermx•1h ago•0 comments

California's Battery Array Is as Powerful as 12 Nuclear Power Plants

https://zolairenergy.com/californias-battery-array-is-as-powerful-as-12-nuclear-power-plants-here...
2•zingerlio•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.

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 ?

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/