frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

The Emacs Widget Toolkit

https://appetrosyan.github.io/posts/emacs-widget.html
38•signa11•20h ago

Comments

spit2wind•9h 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...

dlachausse•8h ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
gudzpoz•7h 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...

Argentina's Supreme Court finds m 83 boxes of Nazi materials in its basement

https://www.cbc.ca/lite/story/1.7532480
1•colinprince•38s ago•0 comments

First fault movement ever filmed. M7.9 surface rupture near Thazi, Myanmar [video]

https://www.youtube.com/watch?v=77ubC4bcgRM
1•dzdt•1m ago•0 comments

Behind the Scenes: Building a Robust Ads Event Processing Pipeline

https://netflixtechblog.com/behind-the-scenes-building-a-robust-ads-event-processing-pipeline-e4e86caf9249
2•mfrw•5m ago•0 comments

Show HN: HunyuanCustom Is Available on WaveSpeedAI

https://wavespeed.ai/models/wavespeed-ai/hunyuan-custom-ref2v-480p
1•sylm•9m ago•0 comments

Trump fires head of Copyright Office after rpt AI training may not be fair use

https://www.theverge.com/news/664768/trump-fires-us-copyright-office-head
3•insane_dreamer•10m ago•1 comments

Sysinternals Utilities Index

https://learn.microsoft.com/en-us/sysinternals/downloads/
1•rolph•11m ago•0 comments

Patterns, Samples, and Artificial Knowledge – The AI Understander Has Logged On

https://mitch.website/blog/synthesis/
1•signature_moves•14m ago•0 comments

A site for asking religion and life questions

https://www.ask-sephira.com/chat
1•EdwinFeinberg•16m ago•1 comments

Anger – Why does Linus Torvalds get so mad at code? Why do I?

https://mitch.website/blog/anger/
1•signature_moves•17m ago•1 comments

PickleBerry: A TUI based file manager written as a shell script

https://github.com/ekahPruthvi/pickle_berry
1•thunderbong•27m ago•0 comments

The Academic Pipeline Stall: Why Industry Must Stand for Academia

https://www.sigarch.org/the-academic-pipeline-stall-why-industry-must-stand-for-academia/
3•MaysonL•32m ago•0 comments

Tech debt can't be solved as a roadmap item

https://software.rajivprab.com/2025/05/10/tech-debt-cant-be-solved-as-a-roadmap-item/
1•pabs3•38m ago•0 comments

Surgical Knee Denervation for Treatment of Pain Caused by Primary Osteoarthritis

https://lww.com/_layouts/1033/OAKS.Journals/Error/JavaScript.html
1•bookofjoe•45m ago•0 comments

Migrating to Codeberg

https://guix.gnu.org/blog/2025/migrating-to-codeberg/
2•todsacerdoti•45m ago•0 comments

Continuous Thought Machines

https://pub.sakana.ai/ctm/
3•hardmaru•46m ago•0 comments

Larry Weed's Internal Medicine Grand Rounds (1971) [video]

https://www.youtube.com/watch?v=qMsPXSMTpFI
1•akkartik•47m ago•0 comments

US Copyright Office Has Thoughts on AI. Big Tech May Not Like It

https://www.businessinsider.com/ai-training-copyright-laws-big-tech-fair-use-openai-meta-2025-5
5•walterbell•50m ago•1 comments

Show HN: I Built Remind Me AI. It's Like Unlimited GPT Tasks. Try the Demo

https://app.arcade.software/share/PrR3lG51cRjJkk6vEz3R
1•ShawnBuilds•1h ago•0 comments

How to Think Like Leonardo da Vinci

https://www.artofmanliness.com/character/advice/think-like-da-vinci/
3•kamphey•1h ago•1 comments

Bios Boot to D

https://theartofmachinery.com/2017/01/24/boot_to_d.html
1•teleforce•1h ago•1 comments

Network Evaluation Service

https://github.com/hendemic/network-eval-service
1•gregsadetsky•1h ago•0 comments

Ask HN: Anyone Go to Stripe Sessions?

1•kamphey•1h ago•0 comments

DIY solar launches in US – no installers or permits needed

https://www.zdnet.com/home-and-office/energy/ecoflows-new-backyard-solar-energy-system-starts-at-599-no-installation-crews-or-permits-needed/
1•jakestein•1h ago•1 comments

A conversation with Jony Ive [video]

https://www.youtube.com/watch?v=wLb9g_8r-mE
2•kamphey•1h ago•0 comments

Developers as Suppliers

https://daringfireball.net/linked/2025/05/10/benedict-evans-apple-developers-as-suppliers
4•smugma•1h ago•0 comments

Intellect-2 Release: The First 32B Model Trained Through Globally Distributed RL

https://www.primeintellect.ai/blog/intellect-2-release
17•Philpax•1h ago•8 comments

Show HN: Parsie – A Google Sheets Add-On to Extract Data from Any Documents

https://workspace.google.com/marketplace/app/advanced_ocr_extract_text_numbers_and_ta/386593592681
2•alicele27•1h ago•0 comments

Python lib generates its code on-the-fly based on usage

https://github.com/cofob/autogenlib
1•klntsky•1h ago•0 comments

LLM Botnet: Are companies using botnets to scrape content?

2•flyriver•1h ago•1 comments

Tesla employees ask Elon Musk to resign, confirm demand problem

https://electrek.co/2025/05/11/tesla-employees-ask-elon-musk-resign-confirm-massive-demand-problem-get-fired/
14•travisgriggs•1h ago•2 comments