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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Emacs Lisp Elements

353 点作者 robenkleene大约 1 个月前

10 条评论

sauercrowd大约 1 个月前
Prot - the author - is a pretty incredible guy. He maintains a bunch of nice Emacs packages and themes.<p>But maybe even more remarkable: he got kicked out of his flat in Greece, couldn&#x27;t afford a new place, bought a small plot of land in the mountains and started building a hut from materials he was able to afford or from things neighbours gave him. Really the bare minimum (he often sat in his hut with a jacket in winter cause it wasn&#x27;t well isolated&#x2F;heated)<p>Absolutely inspiration, all documented on his YouTube channel <a href="https:&#x2F;&#x2F;youtube.com&#x2F;@protesilaos?si=MnjV7MhKtsT5RDSM" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;@protesilaos?si=MnjV7MhKtsT5RDSM</a>
评论 #43669092 未加载
评论 #43668485 未加载
评论 #43668135 未加载
评论 #43669003 未加载
评论 #43671188 未加载
评论 #43675280 未加载
algo_lover大约 1 个月前
One of the good things to happen in emacs was the inclusion of `seq.el`. It makes easy functional operation over sequences, so no longer need `dash.el` or `cl-lib.el`. (dash still has many more functions inspired by clojure which is awesome when you need them)<p>But I still wish the emacs community could adopt a modern data structure library. It&#x27;s difficult to consolidate usage of sequences (lists&#x2F;vectors) with alists and plists. This would make it so much more accessible.
评论 #43668110 未加载
NeutralForest大约 1 个月前
When Prot writes something I try to make place to read it. He&#x27;s a very nice person and also inspiring, he&#x27;s living following his values and is very insightful.
mark_l_watson大约 1 个月前
What a great find. Not sure why I have not discovered Prot before. Bookmarked the article and this thread.<p>I have been using Emacs for about 40 years, and as a crazy side effect of the mountain of LLMs hype, with a lot of productivity enhancing goodness, I think that Emacs can only gain in popularity because of several excellent Emacs LLMs packages. Most of the world is exploiting LLMs with VSCode and its variants, but Emacs is also just about perfect for integrating LLMs into workflows and for having fun and playing around.
tikhonj大约 1 个月前
I&#x27;ve had a great time using Emacs Lisp over the past 15 years: it&#x27;s one of the easiest ways to quickly whip up personalized tools for my own use, and, at the same time, my code has been surprisingly resilient and stable over this time.<p>And this is despite the fact that Emacs Lisp routinely flouts every single software engineering &quot;best practice&quot;. The language is dynamically scoped by default! It simply doesn&#x27;t have namespaces! Static types? Hah! (And I, an inveterate Haskeller, don&#x27;t even miss them.) You can—and people routinely do—hook directly into all sorts of implementation details from other parts of the codebase.<p>And yet <i>it just works</i>. And it works remarkably well.<p>My theory: what matters isn&#x27;t &quot;best practices&quot;, it&#x27;s have a coherent conceptual design and code that reflects that design. Emacs is designed around a small but expressive set of core concepts that it uses in a consistent manner. Text with properties, buffers, modes, commands, customization variables... Almost everything more complex in Emacs is structured out of these (+ a handful more), and, once you&#x27;ve internalized them, it&#x27;s surprisingly easy to both learn new higher-level tools <i>and</i> to write your own.<p>The design of both the user interface <i>and</i> the code directly reflect these concepts which gives us a naturally close connection between the UI and the code (it&#x27;s almost trivial to jump from an interaction to the code that powers it), makes both UI <i>and</i> code units effortlessly composable and generally makes it easier to understand what&#x27;s going on and how we can change it.
评论 #43667712 未加载
评论 #43671691 未加载
评论 #43668618 未加载
评论 #43673457 未加载
ajross大约 1 个月前
Seems clear and useful. That said, there&#x27;s nothing particularly bad or inaccessible about the <i>actual</i> Emacs Lisp manual: <a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;emacs&#x2F;manual&#x2F;html_mono&#x2F;elisp.html#Introduction" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;emacs&#x2F;manual&#x2F;html_mono&#x2F;elisp.ht...</a><p>Or the official tutorial: <a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;emacs&#x2F;manual&#x2F;html_mono&#x2F;eintr.html#Preface" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;emacs&#x2F;manual&#x2F;html_mono&#x2F;eintr.ht...</a> (which to be clear I haven&#x27;t read, but have heard nice things about).<p>Of all the things for which emacs can be criticised, documentation rigor is really not one.
评论 #43667664 未加载
评论 #43669427 未加载
mijoharas大约 1 个月前
It&#x27;s a shame it doesn&#x27;t really go into keywords, or alists&#x2F;plists. (Or different argument lists, he mentions `&amp;rest` but there&#x27;s optional, and more too iirc)
precompute大约 1 个月前
Great! This could serve as an easy introduction for users new to Elisp.
ptx大约 1 个月前
Hmm, there seems to be no mention of dynamic vs. lexical binding, which is a difference from some other Lisps I was hoping to gain some insight on.
评论 #43672989 未加载
mfld大约 1 个月前
Nice - I feel this introductory guide fills a gap. Also, I really like his video tutorials.