Difference between revisions of "Emacs"

From NetHackWiki
Jump to navigation Jump to search
(Emacs keys are worse than vi, but Emacs has more major modes.)
 
(a few words plus a link to vi)
Line 1: Line 1:
Because of the [[Wikipedia:editor war|editor war]], a mention of emacs typically reminds one of vi, et vice versa. The two editors dominate [[Unix]], and both have use when editing NetHack [[source code]] or [[nethackrc]] files.
+
'''Emacs''' is a [[Unix]]-based popular text-editor. Because of the [[Wikipedia:editor war|editor war]], a mention of Emacs typically reminds one of [[vi]], et vice versa. The two editors dominate Unix, and both have use when editing NetHack [[source code]] or [[nethackrc]] files.
  
 
* The mg editor ''"is compatible with emacs because there shouldn't be any reason to learn more editor types than emacs or vi(1)."''
 
* The mg editor ''"is compatible with emacs because there shouldn't be any reason to learn more editor types than emacs or vi(1)."''
 
** [http://www.openbsd.org/cgi-bin/man.cgi?query=mg OpenBSD mg(1) manual page]
 
** [http://www.openbsd.org/cgi-bin/man.cgi?query=mg OpenBSD mg(1) manual page]
  
In the Battle for NetHack, most signs suggest that [[vi]] is winning and '''Emacs''' is losing. Many players credit the [[yuhjklbn]] cursor system of ''[[Rogue (game)|Rogue]]'' and ''[[NetHack]]'' to the 'hjkl' cursor system in vi. Contrast the '^[BNPF]' system of Emacs, weak in scattering the relevant keys across the typical qwerty keyboard. This has vi given to NetHack, so what did Emacs give?
+
In the Battle for NetHack, most signs suggest that [[vi]] is winning and Emacs is losing. Many players credit the [[yuhjklbn]] cursor system of ''[[Rogue (game)|Rogue]]'' and ''[[NetHack]]'' to the 'hjkl' cursor system in vi. Contrast the '^[BNPF]' system of Emacs, weak in scattering the relevant keys across the typical qwerty keyboard. This has vi given to NetHack, so what did Emacs give?
  
 
Emacs gave us '''[[nethack-el]]''', a [[user interface]] that consists of an Emacs [[EmacsWiki:MajorMode|major mode]], and a [[patch]] adding another [[window port]] to NetHack. How is this better than running Emacs and an editor separately, as vi users would do? One should instead ask what game should an Emacs user choose over NetHack. The nethack-el interface is as extensible as and uses buffers like everything else in Emacs. It is not suprising that some Emacs addicts are also NetHack addicts.
 
Emacs gave us '''[[nethack-el]]''', a [[user interface]] that consists of an Emacs [[EmacsWiki:MajorMode|major mode]], and a [[patch]] adding another [[window port]] to NetHack. How is this better than running Emacs and an editor separately, as vi users would do? One should instead ask what game should an Emacs user choose over NetHack. The nethack-el interface is as extensible as and uses buffers like everything else in Emacs. It is not suprising that some Emacs addicts are also NetHack addicts.
  
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 08:44, 23 November 2010

Emacs is a Unix-based popular text-editor. Because of the editor war, a mention of Emacs typically reminds one of vi, et vice versa. The two editors dominate Unix, and both have use when editing NetHack source code or nethackrc files.

  • The mg editor "is compatible with emacs because there shouldn't be any reason to learn more editor types than emacs or vi(1)."

In the Battle for NetHack, most signs suggest that vi is winning and Emacs is losing. Many players credit the yuhjklbn cursor system of Rogue and NetHack to the 'hjkl' cursor system in vi. Contrast the '^[BNPF]' system of Emacs, weak in scattering the relevant keys across the typical qwerty keyboard. This has vi given to NetHack, so what did Emacs give?

Emacs gave us nethack-el, a user interface that consists of an Emacs major mode, and a patch adding another window port to NetHack. How is this better than running Emacs and an editor separately, as vi users would do? One should instead ask what game should an Emacs user choose over NetHack. The nethack-el interface is as extensible as and uses buffers like everything else in Emacs. It is not suprising that some Emacs addicts are also NetHack addicts.