1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
[[!meta title="Emacs, LLMs, and Free Software: Response from Chong Yidong"]]
This page is one of the responses received to the questions raised
in [Panel discussion: Emacs, LLMs, and Free Software](https://emacsconf.org/2026/talks/llms/).
As background, I was the co-maintainer of Emacs, alongside Stefan
Monnier, during the Emacs 23 and 24 release cycles (around 2009--2012).
After 2012, I stepped down as maintainer and left Emacs development
entirely, due to starting a new job (running a physics research group)
that simply left me no time. Though continuing to be a heavy Emacs
user, I dropped all contact with Elisp coding.
Since the advent of capable LLM coding agents, however, I've been
stepping back into Elisp. LLMs have greatly lowered the friction and
time commitment to create and maintain working code, and over the past
year this has brought Elisp (and other) hacking back into my life. I'm
having a lot of fun! Emacs itself is in capable hands (hi Eli!), so
I've been very happy to just mess around on my personal Elisp projects.
So far, the only one of these projects I've put out publicly is an Emacs
front-end for driving the DeepSeek Harness, which is how I'm doing LLMs
coding now. This is an idiosyncratic approach, as there are much more
established Emacs-LLM interfaces, but I haven't been satisfied with
those for various reasons (a story for another day).
After messing around with LLMs through Emacs for a little while, here
are some thoughts, in no particular order:
* Markdown has become the de facto unplanned standard for LLM output, so
Emacs urgently needs Markdown support by default, not just as a MELPA
package. If there are copyright assignment issues preventing Jason
Blevins' excellent Markdown mode from being bundled, the Emacs
developers should consider putting together some kind of Markdown mode
"lite" from scratch. (Has anyone just asked Blevins?)
* It's pretty unfortunate it wasn't Org markup, rather than Markdown,
that became the de facto lightweight general-purpose markup language.
What a world that would have been.
* I know there are serious ongoing debates about using LLMs in Emacs
development, but my view is that it will have to happen; LLMs are
simply too obviously helpful for coding. Handled responsibly, LLM
usage have great potential to solve many of problems that have
troubled Emacs development, including the high barrier to entry facing
new contributors, and the horror of tackling deep gnarly subsystems
like redisplay.
* That said, current-day LLMs are atrocious at documentation, which has
always been one of Emacs' great strengths. I find myself rewriting
pretty much every docstring made by an LLM. For now, coherent writing
still seems to require a human in the loop; so as and when Emacs
starts accepting LLM contributions, the quality of the internal
documentation will have to be carefully safeguarded.
* With LLMs, the whole world has learned that almost everything, or at
least vast swathes of everything, can be boiled down to reading and
slicing/dicing text in different ways. This, of course, has been the
Emacs philosophy for 50 years! I'm not sure what deeper implications
this has, but it's fun to think about. For example, the frenetic
activity around improving coding harnesses feels like a parallel to
the height of the editor wars; people are making tools to facilitate
the manipulation of the world through text, but for LLM rather than
human users.
Coming back to coding in Emacs, after a nearly 15 year break, has also
brought back to me many fond memories of contributing to Emacs. I loved
interacting with other Emacs developers -- those brilliant, funny,
cantankerous, pedantic, passionate people who've kept the project going
so strongly to this day. The arrival of LLM agents has given me the
chance to dip my toes back into this world, and I'm excited to see
what's going to happen next.
Happy hacking!
-- Yidong
|