TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Emacs Widget Toolkit

47 点作者 signa114 天前

5 条评论

gudzpoz3 天前
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 未加载
LargoLasskhyfv2 天前
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 天前
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 天前
Somewhat off topic, but I love all the references to Led Zeppelin’s incredible song, Stairway to Heaven.
robobro1 天前
404<p>Page Not Found<p>Sorry, this page does not exist.<p>You can head back to the homepage.
评论 #43975072 未加载