Editor war

Editor war is the common name for the rivalry between users of the vi and Emacs text editors. The rivalry has become a lasting part of hacker culture and the free software community.

Many flame wars have been fought between groups insisting that their editor of choice is the paragon of editing perfection, and insulting the others. Unlike the related battles over operating systems, programming languages, and even source code indent style, choice of editor usually only affects oneself.

Contents

Differences between vi and Emacs

The most important differences between vi and Emacs are presented in the following table:

vi Emacs
Keystroke execution vi editing retains each permutation of typed keys. This creates a path in the decision tree which unambiguously identifies any command. Emacs commands are a combination of typed keys executed immediately, which leaves the user with the choice of whether or not to use a command.
Memory usage and customizability Historically, vi is a smaller and faster program, with a more limited capacity for customization. Emacs takes longer to start up and requires more memory. However, it is highly customizable and includes a large number of features, as it is essentially an execution environment for a Lisp program designed for text-editing.
User environment vi was exclusively used inside of a text-mode console, offering no graphical user interface (GUI). Most modern vi derivatives, e.g. MacVim and gVim, include full-featured GUIs. Emacs, while initially designed for use on a console, grew a GUI fairly early on.
Function/navigation interface vi uses distinct editing modes. Emacs uses metakey chords.

Benefits of vi-like editors

  • Historically, vi is faster than Emacs.
  • Runs on all systems that can implement the standard C library, including UNIX, Linux, AmigaOS, DOS, Windows, Mac, BeOS, and POSIX-compliant systems.
  • Allows users of the QWERTY keyboard to keep their fingers on the home row, thus requiring less movement and less time to edit.
  • Ubiquitous. Essentially all Unix and Unix-like systems come with vi (or a variant) built-in.

Benefits of Emacs

Humour

Frequently, at some point in the discussion, someone will point out that ed is the standard text editor.[6]

The Church of Emacs, formed by Richard Stallman, is a joke. While it refers to vi as the "editor of the beast" (vi-vi-vi being 6-6-6 in Roman numerals), it does not oppose the use of vi; rather, it calls proprietary software an anathema. ("Using a free version of vi is not a sin but a penance."[7]) It has its own newsgroup, alt.religion.emacs,[8] that has posts purporting to support this parody religion.

Supporters of vi have created an opposing Cult of vi, argued by the more hardline Emacs users to be an attempt to "ape their betters".

Regarding vi's modal nature, some Emacs users joke that vi has two modes – "beep repeatedly" and "break everything". vi users enjoy joking that Emacs's key-sequences induce carpal tunnel syndrome, or mentioning one of many satirical expansions of the acronym EMACS, such as "Escape Meta Alt Control Shift" (a jab at Emacs's reliance on modifier keys).[9]

Others have posited that this acronym in fact means "Eight Megabytes And Constantly Swapping" (in a time when that was a great amount of memory) or "EMACS Makes Any Computer Slow" (a recursive acronym like those Stallman uses), in reference to Emacs's high system resource requirements.

As a poke at Emacs' creeping featurism, vi advocates will describe Emacs as "a great operating system, lacking only a decent editor".

A game among UNIX users, either to test the depth of an Emacs user's understanding of the editor or to poke fun at the complexity of Emacs, involved predicting what would happen if a user held down a modifier key (such as Control or Alt) and typed their own name.

Word War vi[10] is a humorous Defender-like shoot 'em up based on the editor war.

Current state of the editor war

In the past, many small editors modeled after or derived from vi flourished. This was due to the importance of conserving memory with the comparatively minuscule amount available at the time. As computers have become more powerful, many vi-alikes, Vim in particular, have grown in size and code complexity. These vi variants of today, as with the old light Emacs variants, tend to have many of the perceived benefits and drawbacks of the opposing side. For example, Vim without any extensions requires about ten times the disk space as vi, and recent versions of Vim can have more extensions and run slower than past versions of Emacs. Moreover, with the large amounts of RAM in modern computers, both vi and Emacs are lightweight compared to large IDEs such as Eclipse, which tend to draw derision from both vi and Emacs users alike.

Tim O'Reilly said, in 1999, that O'Reilly Media's tutorial on vi sells twice as many copies as that on Emacs (which could mean either that vi is more popular or harder to learn).[11] Many advanced programmers use either Emacs and vi or their various offshoots, including Linus Torvalds who uses MicroEMACS.[12]

In addition to vi and emacs workalikes, pico and its free and open source clone nano and other text editors often have their own third-party advocates in the editor wars, though not to the extent of vi and emacs.

References

See also

External links


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Editor War — Als Editor War (zu deutsch „Krieg der Editoren“) wird der Streit um den besten Texteditor bezeichnet. Die zwei größten rivalisierenden Parteien waren die Anhänger des vi und die des Emacs. Von den Beteiligten wurde und wird der jeweils… …   Deutsch Wikipedia

  • War of terror — is a pun used in protest or criticism of the United States policy called the War on Terrorism, also known as the War on Terror. [Citation| last = Sohail| first = Mohammed | contribution = How Muslims have been hurt by governmental action since… …   Wikipedia

  • War of the Spider Queen —   …   Wikipedia

  • War against Islam — (also War on Islam, or Attack on Islam) is a critical term used to describe a perceived campaign to harm, weaken or even annihilate the religion of Islam, using military, economic, social and cultural means. The campaign is alleged to be waged by …   Wikipedia

  • War crimes of the Wehrmacht — are those carried out by traditional German armed forces during World War II. While the principal perpetrators of the Holocaust amongst German armed forces were the Nazi German political armies (the SS Totenkopfverbände and particularly the… …   Wikipedia

  • Editor & Publisher — (E P) is a monthly journal covering the North American newspaper industry. It is based in New York City. E P calls itself America s Oldest Journal Covering the Newspaper Industry and describes itself on its website as the authoritative journal… …   Wikipedia

  • War Wind — Entwickler Dreamforge Publisher …   Deutsch Wikipedia

  • War and Peace Studies — was a project carried out by the Council on Foreign Relations between 1939 and 1945 before and during American involvement in World War II. It was intended to advise the U.S. Government on conduct in the war and the subsequent peace.The project… …   Wikipedia

  • War Dancer — is a comic book series published by DEFIANT, from February of 1994 until July 1994.The series was created and illustrated by Alan Weiss and co written by Weiss and comics author, creator and one time former Editor in Chief of Marvel Comics and… …   Wikipedia

  • War and Pieces (theatrical short) — War and Pieces is a Warner Bros. Looney Tunes theatrical animated short which was made in 1963 and released in 1964. It was directed by Chuck Jones, and features Wile E. Coyote and Road Runner.ummaryWile E. Coyote ( Caninus Nervous Rex ) pursues… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”