Hey Emacs

Hey Emacs

""Hey Emacs" is a line that is placed into text files to indicate to the Emacs and XEmacs text editors what mode to use when editing the file.

The "hey emacs" line is of the form -*- -*- . Often the line begins with the comment indicator for the language the file is written in, followed by the words "Hey Emacs, this is a", and ends with the word "file." For example, a Lisp programmer might use the following "hey emacs" line (the semicolon is the Lisp comment character):

;Hey, Emacs! This is a -*- Lisp -*- file!

The words "Hey, Emacs" have no particular significance and serve only to explain the purpose of the line to non-Emacs users. Only the text between the -*- tokens is interpreted by the editor.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Fork (software development) — In software engineering, a project fork happens when developers take a legal copy of source code from one software package and start independent development on it, creating a distinct piece of software. The term implies a split in the developer… …   Wikipedia

  • Anonymous remailer — An anonymous remailer is a server computer which receives messages with embedded instructions on where to send them next, and which forwards them without revealing where they originally came from. There are Cypherpunk anonymous remailers,… …   Wikipedia

  • Internet Explorer Mobile — The latest version of Internet Explorer Mobile in Windows Phone displaying Wikipedia zoomed completely out. Developer(s) Microsoft Operating system …   Wikipedia

  • Troll (Internet et Usenet) — Pour les articles homonymes, voir Troll (homonymie). Un troll (vue d artiste) Un troll est une action de nature à créer une polémique en pr …   Wikipédia en Français

  • Troll (informatique) — Troll (Internet et Usenet) Pour les articles homonymes, voir Troll (homonymie). Un troll (vue d artiste) Un troll est une action de nature à créer une polémique en pr …   Wikipédia en Français

  • Troll (internet) — Troll (Internet et Usenet) Pour les articles homonymes, voir Troll (homonymie). Un troll (vue d artiste) Un troll est une action de nature à créer une polémique en pr …   Wikipédia en Français

  • Troll (internet et usenet) — Pour les articles homonymes, voir Troll (homonymie). Un troll (vue d artiste) Un troll est une action de nature à créer une polémique en pr …   Wikipédia en Français

  • Trollage — Troll (Internet et Usenet) Pour les articles homonymes, voir Troll (homonymie). Un troll (vue d artiste) Un troll est une action de nature à créer une polémique en pr …   Wikipédia en Français

  • Trolleur — Troll (Internet et Usenet) Pour les articles homonymes, voir Troll (homonymie). Un troll (vue d artiste) Un troll est une action de nature à créer une polémique en pr …   Wikipédia en Français

  • Trolling — Troll (Internet et Usenet) Pour les articles homonymes, voir Troll (homonymie). Un troll (vue d artiste) Un troll est une action de nature à créer une polémique en pr …   Wikipédia en Français

Share the article and excerpts

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