TechnologyText editor

GNU Emacs

Also known as: Emacs

Extensible, customizable free text editor started by Richard Stallman in 1984, built around an Emacs Lisp interpreter.

GNU Emacs is a text editor whose core is an interpreter for Emacs Lisp, a dialect of Lisp. Most of its functionality is written in that language, and users can redefine almost any behavior while the editor is running, which makes Emacs as much a programmable environment as an editor. Beyond editing code and prose, extensions provide file management, email, version control interfaces, terminals and games. It is part of the GNU project and licensed under the GNU General Public License.

The original EMACS was a set of editing macros written in 1976 by Richard Stallman and Guy Steele for the TECO editor at the MIT Artificial Intelligence Laboratory. Stallman began GNU Emacs in 1984 as one of the first programs of the GNU Project and released it in 1985. Development has continued for decades under a series of maintainers, adding features such as native compilation of Lisp code and incremental parsing with tree-sitter. XEmacs, a fork from the early 1990s, was a notable rival for years.

Emacs is valued for its depth and longevity: configurations built over years can be carried across decades of releases. Org mode, a mode for outlines, notes, task lists and literate documents, has made Emacs a tool for personal knowledge management and literate programming as well as coding, while Magit offers a widely praised Git interface. Its keybindings, rooted in older keyboards, and its learning curve deter some users, and its rivalry with Vim is a staple of hacker folklore.

Key points

  • Most of GNU Emacs is written in Emacs Lisp, so users can reprogram it while it runs.
  • Richard Stallman began GNU Emacs in 1984 as an early part of the GNU Project.
  • Org mode turns Emacs into a tool for notes, planning and literate documents.
  • Emacs and Vim are the two sides of the long-running editor war.

Related entries

Person

American free software activist and programmer who launched the GNU Project, founded the Free Software Foundation and wrote the GNU General Public License.

Technology

GNU

FOSS

Free software operating system project launched by Richard Stallman in 1983 to build a complete Unix-compatible system that respects users' freedom.

Technology

Lisp

ProgrammingAI

Family of programming languages originated by John McCarthy in 1958, built on symbolic expressions and long associated with AI research.

Technology

Vim

ProgrammingFOSS

Free, highly configurable modal text editor created by Bram Moolenaar, descended from vi and available on nearly every Unix-like system.

Glossary term

Personal Knowledge Management

Ideas and CultureProgramming

Practices and tools individuals use to capture, organize, connect and retrieve information and ideas for learning, thinking and creative work.

Glossary term

Programming methodology, introduced by Donald Knuth, in which programs are written as explanatory documents for people with the code embedded in them.

Glossary term

Free Software

FOSSIdeas and Culture

Software that respects users' freedom to run, study, change and share it, a definition centered on liberty rather than price.

Glossary term

Hacker Culture

Ideas and CultureCybersecurity

Subculture of people who enjoy exploring systems, solving technical problems creatively and sharing knowledge, rooted in early computing.

Referenced by

Other entries that discuss or point to GNU Emacs.