TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Emacs Widget Toolkit

47 pointsby signa114 days ago

5 comments

gudzpoz3 days ago
Personally, and contrary to the article, I <i>do</i> prefer Emacs&#x27;s plain text widgets over more &quot;GUI-like&quot; 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.<p>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.<p>(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.)<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;misohena&#x2F;el-easydraw&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;misohena&#x2F;el-easydraw&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;emacs&#x2F;comments&#x2F;1kcgwme&#x2F;the_emacs_widget_toolkit&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;emacs&#x2F;comments&#x2F;1kcgwme&#x2F;the_emacs_wi...</a>
评论 #43974178 未加载
评论 #43965172 未加载
LargoLasskhyfv3 days ago
PSA: Use The Lucid Toolkit <a href="https:&#x2F;&#x2F;irreal.org&#x2F;blog&#x2F;?p=12672" rel="nofollow">https:&#x2F;&#x2F;irreal.org&#x2F;blog&#x2F;?p=12672</a><p><a href="https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;emacs&#x2F;comments&#x2F;1hlj04t&#x2F;emacs_using_the_lucid_toolkit_is_blazingly_fast&#x2F;" rel="nofollow">https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;emacs&#x2F;comments&#x2F;1hlj04t&#x2F;emacs_using_...</a>
评论 #43965329 未加载
spit2wind3 days ago
There&#x27;s also the Emacs Widget Library[1] (which I hoped this posted would be about). It&#x27;s a plain text widget library that&#x27;s quite powerful. Unfortunately (and surprisingly for Emacs), the documentation for it could use some love.<p>My understanding of the Widget Library is that it attaches various keywords and plists to a symbol which is considered the &quot;widget&quot;. The library otherwise consists of functions that expect certain keywords on the &quot;widget&quot; symbol in order to perform actions or to be drawn on the screen.<p>The challenge is, the documentation doesn&#x27;t clearly lay out what the keyword API is. This makes it hard to compose widgets in ways beyond what&#x27;s shown in the docs.<p>[1] <a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;emacs&#x2F;manual&#x2F;html_mono&#x2F;widget.html" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;emacs&#x2F;manual&#x2F;html_mono&#x2F;widget.h...</a>
评论 #43965234 未加载
dlachausse3 days ago
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
robobro1 day ago
404<p>Page Not Found<p>Sorry, this page does not exist.<p>You can head back to the homepage.
评论 #43975072 未加载