请输入您要查询的百科知识:

 

词条 GNU Emacs
释义

  1. History

  2. Licensing

  3. Using GNU Emacs

      Commands    Minibuffer    File management and display    Major modes    Minor modes    "Batch mode"  

  4. Manuals

  5. Internationalization

  6. Extensibility

  7. Performance

  8. Platforms

  9. Forks

      XEmacs    Other forks of GNU Emacs  

  10. Release history

  11. References

  12. Further reading

  13. External links

{{Infobox software
| title = GNU Emacs
| name = GNU Emacs
| logo = EmacsIcon.svg
| screenshot = GNU Emacs 25.png
| caption = GNU Emacs 25 running on GNOME 3
| collapsible =
| author = Richard Stallman
| developer = GNU Project
| released = {{Start date and age|1985|03|20|df=yes}}
| discontinued =
| latest release version = 26.1
| latest release date = {{Start date and age|2018|05|28|df=yes}}
| latest preview version = 26.1.92
| latest preview date = {{Start date and age|2019|02|22|df=yes}}
| status =
| programming language = Emacs Lisp, C[1]
| operating system = Unix-like (GNU, Linux, macOS, BSDs, Solaris), Windows, MS-DOS[2]
| platform =
| size =
| language = English
| genre = Text editor
| license = GPLv3+
| website = {{URL|https://www.gnu.org/software/emacs/}}
}}GNU Emacs is the most popular and most ported Emacs text editor. It was created by GNU Project founder Richard Stallman. In common with other varieties of Emacs, GNU Emacs is extensible using a Turing complete programming language. GNU Emacs has been called "the most powerful text editor available today".[3] With proper support from the underlying system, GNU Emacs is able to display files in multiple character sets, and has been able to simultaneously display most human languages since at least 1999.[4] Throughout its history, GNU Emacs has been a central component of the GNU project, and a flagship of the free software movement.[5][6] GNU Emacs is sometimes abbreviated as GNUMACS, especially to differentiate it from other EMACS variants.[7] The tag line for GNU Emacs is "the extensible self-documenting text editor".[8]

History

In 1976, Stallman wrote the first Emacs (“Editor MACroS”), and in 1984, began work on GNU Emacs, to produce a free software alternative to the proprietary Gosling Emacs. GNU Emacs was initially based on Gosling Emacs, but Stallman's replacement of its Mocklisp interpreter with a true Lisp interpreter required that nearly all of its code be rewritten. This became the first program released by the nascent GNU Project. GNU Emacs is written in C and provides Emacs Lisp, also implemented in C, as an extension language. Version 13, the first public release, was made on March 20, 1985. The first widely distributed version of GNU Emacs was version 15.34, released later in 1985. Early versions of GNU Emacs were numbered as "1.x.x," with the initial digit denoting the version of the C core. The "1" was dropped after version 1.12 as it was thought that the major number would never change, and thus the major version skipped from "1" to "13". A new third version number was added to represent changes made by user sites.[9] In the current numbering scheme, a number with two components signifies a release version, with development versions having three components.[10]

GNU Emacs was later ported to Unix. It offered more features than Gosling Emacs, in particular a full-featured Lisp as its extension language, and soon replaced Gosling Emacs as the de facto Unix Emacs editor. Markus Hess exploited a security flaw in GNU Emacs' email subsystem in his 1986 cracking spree, in which he gained superuser access to Unix computers.[11]

Although users commonly submitted patches and Elisp code to the net.emacs newsgroup, participation in GNU Emacs development was relatively restricted until 1999, and was used as an example of the "Cathedral" development style in The Cathedral and the Bazaar. The project has since adopted a public development mailing list and anonymous CVS access. Development took place in a single CVS trunk until 2008, and today uses the Git[12] DVCS.

Richard Stallman has remained the principal maintainer of GNU Emacs, but he has stepped back from the role at times. Stefan Monnier and Chong Yidong have overseen maintenance since 2008.[13] On September 21, 2015 Monnier announced that he would be stepping down as maintainer effective with the feature freeze of Emacs 25.[14] Longtime contributor John Wiegley was announced as the new maintainer on November 5, 2015.[15]

Licensing

The terms of the GNU General Public License (GPL) state that the Emacs source code, including both the C and Emacs Lisp components, are freely available for examination, modification, and redistribution.

Older versions of the GNU Emacs documentation appeared under an ad-hoc license that required the inclusion of certain text in any modified copy. In the GNU Emacs user's manual, for example, this included instructions for obtaining GNU Emacs and Richard Stallman's essay The GNU Manifesto. The XEmacs manuals, which were inherited from older GNU Emacs manuals when the fork occurred, have the same license. Newer versions of the documentation use the GNU Free Documentation License with "invariant sections" that require the inclusion of the same documents and that the manuals proclaim themselves as GNU Manuals.

For GNU Emacs, like many other GNU packages, it remains policy to accept significant code contributions only if the copyright holder executes a suitable disclaimer or assignment of their copyright interest to the Free Software Foundation. Bug fixes and minor code contributions of fewer than 10 lines are exempt. This policy is in place so that the FSF can defend the software in court if its copyleft license is violated.

In 2011, it was noticed that GNU Emacs had been accidentally releasing some binaries without corresponding source code for two years, in opposition to the intended spirit of the GPL, resulting in a copyright violation.[16][17][18] Richard Stallman described this incident as "a very bad mistake",[19] which was promptly fixed. Naturally, the FSF didn't sue any downstream redistributors who also unknowingly violated the GPL by distributing these binaries.

Using GNU Emacs

Commands

In its normal editing mode, GNU Emacs behaves like other text editors and allows the user to insert characters with the corresponding keys and to move the editing point with the arrow keys. Escape key sequences or pressing the control key and/or the meta key, alt key or super keys in conjunction with a regular key produces modified keystrokes that invoke functions from the Emacs Lisp environment. Commands such as save-buffer and save-buffers-kill-emacs combine multiple modified keystrokes.

Some GNU Emacs commands work by invoking an external program, such as ispell for spell-checking or GNU Compiler Collection (gcc) for program compilation, parsing the program's output, and displaying the result in GNU Emacs. Emacs also supports "inferior processes"—long-lived processes that interact with an Emacs buffer. This is used to implement shell-mode, running a Unix shell as inferior process, as well as read–eval–print loop (REPL) modes for various programming languages. Emacs' support for external processes makes it an attractive environment for interactive programming along the lines of Interlisp or Smalltalk.[20]

Users who prefer IBM Common User Access-style keys can use cua-mode, a package that originally was a third-party add-on but has been included in GNU Emacs since version 22.

Minibuffer

Emacs uses the "minibuffer," normally the bottommost line, to present status and request information—the functions that would typically be performed by dialog boxes in most GUIs. The minibuffer holds information such as text to target in a search or the name of a file to read or save. When applicable, command line completion is available using the tab and space keys.

File management and display

Emacs keeps text in data structures known as buffers. Buffers may or may not be displayed onscreen, and all buffer features are accessible to both an Emacs Lisp program and to the user interface.[21] The user can create new buffers and dismiss unwanted ones, and many buffers can exist at the same time. There is no upper limit on the number of buffers Emacs allows, other than hardware memory limits. Advanced users may amass hundreds of open buffers of various types relating to their current work.[22] Emacs can be configured to save the list of open buffers on exit, and reopen this list when it is restarted.[23]

Some buffers contain text loaded from text files, which the user can edit and save back to permanent storage. These buffers are said to be "visiting" files. Buffers also serve to display other data, such as the output of Emacs commands, dired directory listings, documentation strings displayed by the "help" library and notification messages that in other editors would be displayed in a dialog box. Some of these notifications are displayed briefly in the minubuffer, and GNU Emacs provides a *Messages* buffer that keeps a history of the most recent notifications of this type. When the minibuffer is used for output from Emacs, it is called the "echo area".[24] Longer notifications are displayed in buffers of their own. The maximum length of messages that will be displayed in the minibuffer is, of course, configurable.

Buffers can also serve as input and output areas for an external process such as a shell or REPL. Buffers which Emacs creates on its own are typically named with asterisks on each end, to distinguish from user buffers. The list of open buffers is itself displayed in this type of buffer.

Most Emacs key sequences remain functional in any buffer. For example, the standard Ctrl-s isearch function can be used to search filenames in dired buffers, and the file list can be saved to a text file just as any other buffer. dired buffers can be switched to a writable mode, in which filenames and attributes can be edited textually; when the buffer is saved, the changes are written to the filesystem. This allows multiple files to be renamed using the search and replace features of Emacs. When so equipped, Emacs displays image files in buffers. Emacs is binary safe and 8-bit clean.[25]

Emacs can split the editing area into separate sections called "windows," a feature that has been available since 1975, predating the graphical user interface in common use. In Emacs terminology, "Windows" are similar to what other systems call "frames" or "panes"{{snd}} a rectangular portion of the program's display that can be updated and interacted with independently. Each Emacs window has a status bar called the "mode line" displayed by default at the bottom edge of the window. Emacs windows are available both in text-terminal and graphical modes and allow more than one buffer, or several parts of a buffer, to be displayed at once. Common applications are to display a dired buffer along with the contents of files in the current directory (there are special modes to make the file buffer follow the file highlighted in dired), to display the source code of a program in one window while another displays a shell buffer with the results of compiling the program, to run a debugger along with a shell buffer running the program, to work on code while displaying a man page or other documentation (possibly loaded over the World Wide Web using one of Emacs' built-in web browsers) or simply to display multiple files for editing at once such as a header along with its implementation file for C-based languages. In addition, there is follow-mode, a minor mode that chains windows to display non-overlapping portions of a buffer. Using follow-mode, a single file can be displayed in multiple side-by-side windows that update appropriately when scrolled. Emacs windows are tiled and cannot appear "above" or "below" their companions. Emacs can launch multiple "frames", which are displayed as individual windows in a graphical environment. On a text terminal, multiple frames are displayed stacked filling the entire terminal, and can be switched using the standard Emacs commands.[26]

Major modes

GNU Emacs can display or edit a variety of different types of text and adapts its behavior by entering add-on modes called "major modes". There are major modes for many different purposes including editing ordinary text files, the source code of many markup and programming languages, as well as displaying web pages, directory listings and other system info. Each major mode involves an Emacs Lisp program that extends the editor to behave more conveniently for the specified type of text. Major modes typically provide some or all of the following common features:

  • Syntax highlighting ("font lock"): combinations of fonts and colors, termed "faces,"[27] that differentiate between document elements such as keywords and comments.
  • Automatic indentation to maintain consistent formatting within a file.
  • The automatic insertion of elements required by the structure of the document, such as spaces, newlines, and parentheses.
  • Special editing commands, such as commands to jump to the beginning or the end of a function while editing a programming file or commands to validate documents or insert closing tags while working with markup languages such as XML.

Minor modes

The use of "minor modes" enables further customization. A GNU Emacs editing buffer can use only one major mode at a time, but multiple minor modes can operate simultaneously. These may operate directly on documents, as in the way the major mode for the C programming language defines a separate minor mode for each of its popular indent styles, or they may alter the editing environment. Examples of the latter include a mode that adds the ability to undo changes to the window configuration and one that performs on-the-fly syntax checking. There is also a minor mode that allows multiple major modes to be used in a single file, for convenience when editing a document in which multiple programming languages are embedded.

"Batch mode"

GNU Emacs supports the capability to use it as an interpreter for the Emacs Lisp language without displaying the text editor user interface. In batch mode, user configuration is not loaded and the terminal interrupt characters C-c and C-z will have their usual effect of exiting the program or suspending execution instead of invoking Emacs keybindings. GNU Emacs has command line options to specify either a file to load and execute, or an Emacs Lisp function may be passed in from the command line. Emacs will start up, execute the passed-in file or function, print the results, then exit.[28] The shebang line #!/usr/bin/emacs --script allows the creation of standalone scripts in Emacs Lisp.[29]

Batch mode is not an Emacs mode per se, but describes an alternate execution mode for the Emacs program.

Manuals

Apart from the built-in documentation, GNU Emacs has an unusually long and detailed manual.{{citation needed|reason=If no reliable, independent, published sources have called its documentation 'unusually long and detailed' then it's not notable, POV, and possibly inaccurate|date=January 2013}} An electronic copy of the GNU Emacs Manual, written by Richard Stallman, is bundled with GNU Emacs and can be viewed with the built-in info browser. Two additional manuals, the Emacs Lisp Reference Manual by Bil Lewis, Richard Stallman, and Dan Laliberte and An Introduction to Programming in Emacs Lisp by Robert Chassell, are included. All three manuals are also published in book form by the Free Software Foundation. The XEmacs manual is similar to the GNU Emacs Manual, from which it forked at the same time that the XEmacs software forked from GNU Emacs.

Internationalization

GNU Emacs has support for many alphabets, scripts, writing systems, and cultural conventions and provides spell-checking for many languages by calling external programs such as ispell. Version 24 added support for bidirectional text and left-to-right and right-to-left writing direction for languages such as Arabic, Persian and Hebrew.

Many character encoding systems, including UTF-8, are supported. GNU Emacs uses UTF-8 for its encoding as of GNU 23, while prior versions used their own encoding internally and performed conversion upon load and save. The internal encoding used by XEmacs is similar to that of GNU Emacs but differs in details.

The GNU Emacs user interface originated in English and, with the exception of the beginners' tutorial, has not been translated into any other language.

A subsystem called Emacspeak enables visually impaired and blind users to control the editor through audio feedback.

Extensibility

The behavior of GNU Emacs can be modified and extended almost without limit by incorporating Emacs Lisp programs that define new commands, new buffer modes, new keymaps, add command-line options,[30] and so on. Many extensions providing user-facing functionality define a major mode (either for a new file type or to build a non-text-editing user interface); others define only commands or minor modes, or provide functions that enhance another extension.

Many extensions are bundled with the GNU Emacs installation; others used to be downloaded as loose files (the Usenet newsgroup gnu.emacs.sources was a traditional source) but there has been a development of managed packages and package download sites since version 24, with a built-in package manager (itself an extension) to download, install, and keep them up to date.

A few examples include:

  • AUCTeX, tools to edit and process TeX and LaTeX documents
  • Calc, a powerful RPN numerical calculator
  • Calendar-mode, for keeping appointment calendars and diaries
  • dired, a file manager
  • Dissociated press, a Racter-like text generator
  • Doctor, a psychoanalysis simulation inspired by ELIZA
  • Dunnet, a text adventure
  • Ediff and Emerge, for comparing and combining files interactively.
  • Several web browsers of varying capabilities ranging from completely text-based to ones capable of displaying graphics and rudimentary styles on GUI displays:
    • Emacs/W3, the oldest, written in the 1990s for XEmacs' Sumo package (not maintained).
    • emacs-w3m (in [https://github.com/emacs-w3m/emacs-w3m active development] continuously since the 1990s).
    • Emacs Web Wowser (eww), an internal emacs project, and pre-built into modern emacsen.
  • Emacs Speaks Statistics (ESS) modes for editing statistical languages like R and SAS
  • ERC and rcirc and Circe, IRC clients[31]
  • Eshell, a command line shell written in Emacs Lisp. This allows closer integration with the Emacs environment than standard shells such as bash or PowerShell, which are also available from within Emacs. For example, in Eshell, Elisp functions are available as shell commands and output from Unix commands can be redirected to an Emacs buffer.
  • Exwm, an X window manager allowing X11 apps to be run in an Emacs window.[32]
  • Gnus, a full-featured news client (newsreader) and email client and early evidence for Zawinski's Law
  • Magit, for working with the version control system Git[33][34]
  • Mediawiki-mode for editing pages on MediaWiki projects
  • MULtilingual Enhancement to Emacs (MULE) allows editing of text in multiple languages in a manner somewhat analogous to Unicode
  • Org-mode for keeping notes, maintaining various types of lists, planning and measuring projects, and composing documents in many formats (such as PDF, HTML, or OpenDocument formats). There are static site generators using org mode, as well as an extension, Babel, allowing it to be used for literate programming.[35]
  • Planner, a personal information manager
  • Simple Emacs Spreadsheet (SES), a standard mode providing a spreadsheet
  • SQL Interaction Mode, a mode for interacting with various flavours of SQL database servers.
  • Superior Lisp Interaction Mode for Emacs (SLIME)[36] extends GNU Emacs into a development environment for Common Lisp. With SLIME (written in Emacs Lisp) the GNU Emacs editor communicates with a Common Lisp system (using the SWANK backend) over a special communication protocol and provides such tools as a read–eval–print loop, a data inspector and a debugger.
  • Texinfo (Info), an online help-browser
  • View Mail (VM), another full-featured email client
  • Viper, a vi emulation layer;[37] also, Evil, a Vim emulation layer[38]
  • Wanderlust, a versatile email and news client
  • Zone, a display hack mode incorporating various text effects.

Performance

GNU Emacs often ran noticeably slower than rival text editors on the systems in which it was first implemented, because the loading and interpreting of its Lisp-based code incurs a performance overhead. Modern computers are powerful enough to run GNU Emacs without slowdowns, but versions prior to 19.29 (released in 1995) couldn't edit files larger than 8 MB. The file size limit was raised in successive versions, and 32 bit versions after GNU Emacs 23.2 can edit files up to 512 MB in size. Emacs compiled on a 64-bit machine can handle much larger buffers.[39]

Platforms

GNU Emacs has become one of the most-ported non-trivial computer programs and runs on a wide variety of operating systems, including DOS, Windows[40][41][42] and OpenVMS. Support for some "obsolete platforms was removed in Emacs 23.1", such as VMS and most Unix variants (except those based on Linux).[2] It is available for most Unix-like operating systems, such as Linux, the various BSDs, Solaris, AIX, HP-UX and macOS,[43][44] and is often included with their system installation packages. Native ports of GNU Emacs exist for Android[45] and Nokia's Maemo.[46]

GNU Emacs runs both on text terminals and in graphical user interface (GUI) environments. On Unix-like operating systems, GNU Emacs can use the X Window System to produce its GUI either directly using Athena widgets or by using a "widget toolkit" such as Motif, LessTif, or GTK+. GNU Emacs can also use the graphics systems native to macOS and Windows to provide menubars, toolbars, scrollbars and context menus conforming more closely to each platform's look and feel.

Forks

XEmacs

{{main|XEmacs}}

Lucid Emacs, based on an early version of GNU Emacs 19, was developed beginning in 1991 by Jamie Zawinski and others at Lucid Inc. One of the best-known forks in free software development occurred when the codebases of the two Emacs versions diverged and the separate development teams ceased efforts to merge them back into a single program.[47] After Lucid filed for bankruptcy, Lucid Emacs was renamed XEmacs and remains the second most popular variety of Emacs, after GNU Emacs.{{citation needed|date=January 2011}} XEmacs development has slowed, with the most recent stable version 21.4.22 released in January 2009, while GNU Emacs has implemented many formerly XEmacs-only features. This has led some users to proclaim XEmacs' death.[48]

Other forks of GNU Emacs

Other forks, less known than XEmacs, include:

  • Meadow{{snd}} a Japanese version for Microsoft Windows[49]
  • SXEmacs{{snd}} Steve Youngs' fork of XEmacs[50]
  • Aquamacs{{snd}} a version which focuses on integrating with the Apple Macintosh user interface
  • Remacs{{snd}} a port of GNU Emacs to the Rust programming language.[51]

Release history

Changes in each Emacs release are listed in a NEWS file distributed with Emacs.[52] Changes brought about by downgrading to the previous release are listed in an "Antinews" file[53]

Version Release date Significant changes[54]
26.1 May 28, 2018 Limited form of concurrency with Lisp threads. Support for optional display of line numbers in the buffer. Emacs now uses double buffering to reduce flicker on the X Window System. Flymake has been completely redesigned. TRAMP has a new connection method for Google Drive. New single-line horizontal scrolling mode. A systemd user unit file is provided. Support for 24-bit colors on capable text terminals.[55]
25.1 September 17, 2016 Support for loading shared/dynamic libraries (modules). Validation of TLS/SSL certificates. New minor mode 'electric-quote-mode' for using curved quotes. Character folding support in isearch.el. Support for embedding native widgets inside Emacs buffers. New and improved facilities for inserting Unicode characters.[56]
24.5 April 10, 2015 Mainly a bugfix release.[57][58]
24.4 October 20, 2014 Support for ACLs (access control lists) and digital signatures of Emacs Lisp packages. Improved fullscreen and multi-monitor support. Support for saving and restoring the state of frames and windows. Improved menu support on text terminals. Another built-in web browser (M-x eww). A new rectangular mark mode (C-x SPC). File notification support.[59]
24.3 March 10, 2013 Generalized variables are now in core Emacs Lisp, an update for the Common Lisp emulation library, and a new major mode for Python.[60]
24.2 August 27, 2012 Bugfix release[61]
24.1 June 10, 2012 Emacs Lisp Package Archive (ELPA), support for native color themes, optional GTK+3, support for bi-directional input, support for lexical scoping in emacs lisp[62]
23.4 January 29, 2012 Fixes a security flaw.[63]
23.3 March 10, 2011 Improved functionality for using Emacs with version control systems.
23.2 May 8, 2010 New tools for using Emacs as an IDE, including navigation across a project and automatic Makefile generation. New major mode for editing JavaScript source. In GUIs, the cursor is hidden while the user types.
23.1 July 29, 2009 Support for anti-aliased fonts on X through Xft,[64] better Unicode support, Doc-view mode and new packages for viewing PDF and PostScript files, connection to processes through D-Bus (dbus), connection to the GNU Privacy Guard (EasyPG), nXML mode for editing XML documents, Ruby mode for editing Ruby programs, and more. Use of the Carbon GUI libraries on Mac OS X was replaced by use of the more modern Cocoa GUI libraries.
22.3 September 5, 2008 GTK+ toolkit support, enhanced mouse support, a new keyboard macro system, improved Unicode support, and drag-and-drop operation on X. Many new modes and packages including a graphical user interface to GDB, Python mode, the mathematical tool Calc, and the remote file editing system Tramp ("Transparent Remote (file) Access, Multiple Protocol").[65]
22.2 March 26, 2008 New support for the Bazaar, Mercurial, Monotone, and Git version control systems. New major modes for editing CSS, Vera, Verilog, and BibTeX style files. Improved scrolling support in Image mode.
22.1 June 2, 2007 Support for the GTK+ graphical toolkit, support for drag-and-drop on X, support for the Mac OS X Carbon UI, org-mode version 4.67d included[66]
21.1 October 20, 2001 Support for displaying colors and some other attributes on terminals, built-in horizontal scrolling, sound support, wheel mouse support, improved menu-bar layout, support for images, toolbar, and tooltips, Unicode support
20.1 September 17, 1997 Multi-lingual support
19.34 August 22, 1996 bug fix release with no user-visible changes[67]
19.31 May 25, 1996[68] Emacs opens X11 frames by default, scroll bars on Windows 95 and NT, subprocesses on Windows 95, recover-session to recover multiple files after a crash, some doctor.el features removed to comply with the US Communications Decency Act[67]
19.30 November 24, 1995 Multiple frame support on MS Windows, menu bar available on text terminals, pc-select package to emulate common Windows and Macintosh keybindings.[67]
19.29 June 19, 1995[69]
19.28 November 1, 1994 First official v19 release. Support for multiple frames using the X Windowing System; VC, a new interface for version control systems, font-lock mode, hexl mode for hexadecimal editing.
19.7 May 22, 1993
18.59 October 31, 1992
18.53 February 23, 1989
18.52 August 17, 1988 spook.el a library for adding some "distract the NSA" keywords (UNCPCJ Emergency management JITEM PEM bullion MSCJ Airplane SLIP rogue Gatt Ammonium nitrate Trafficking embassy Emergency TELINT) to every message you send.[70]
18.24 October 2, 1986 Server mode,[71] M-x disassemble, Emacs can open TCP connections, emacs -nw to open Emacs in console mode on xterms.
17.36 December 20, 1985 Backup file version numbers
16.56 July 15, 1985 First Emacs 16 release. Emacs-lisp-mode distinct from lisp-mode,[72] remove all code from Gosling Emacs due to copyright issues[73]
15.10 April 11, 1985
13.0? March 20, 1985

References

1. ^{{citation |url=https://www.openhub.net/p/emacs |publisher=Open Hub |work=Analysis Summary |title=GNU Emacs}}
2. ^{{cite web|title=Emacs machines list|url=https://www.gnu.org/software/emacs/MACHINES}}
3. ^{{cite web|url=https://www.oreilly.com/pub/pr/1285|title="Learning GNU Emacs, Third Edition": A Guide to the World's Most Extensible, Customizable Editor}}
4. ^{{cite web|url=https://www.linuxjournal.com/article/3286|title=Alphabet Soup: The Internationalization of Linux, Part 1 Linux Journal March 1999|quote=With the availability of fonts and, where necessary, internationalized terminal emulators, Emacs can simultaneously handle most of the world's languages.}}
5. ^{{cite book|url=https://books.google.com/books?id=5fgn7Tg4Lt8C&pg=PT198|title=The Linux Programmer's Toolbox|isbn=9780132703048|last1=Fusco|first1=John|date=2007-03-06}}
6. ^{{cite book|url=https://books.google.com/books?id=pW6cAgAAQBAJ&pg=PT11|title=Learning GNU Emacs|isbn=9780596006488|last1=Cameron|first1=Debra|last2=Elliott|first2=James|last3=Loy|first3=Marc|last4=Raymond|first4=Eric|last5=Rosenblatt|first5=Bill|year=2005}}
7. ^{{cite web|url=http://www.catb.org/jargon/html/G/GNUMACS.html|title=GNUMACS}}
8. ^{{cite web|url=https://packages.debian.org/stable/editors/emacs|title=Debian - details of package Emacs in wheezy}}
9. ^{{cite web|url=https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.1-17|title=NEWS.1-17|quote=There is a new version numbering scheme. What used to be the first version number, which was 1, has been discarded since it does not seem that I need three levels of version number. However, a new third version number has been added to represent changes by user sites. This number will always be zero in Emacs when I distribute it; it will be incremented each time Emacs is built at another site.}}
10. ^{{cite web|url=https://www.gnu.org/software/emacs/manual/html_node/efaq/Latest-version-of-Emacs.html#Latest-version-of-Emacs |title=GNU Emacs FAQ |quote=A version number with two components (e.g., ‘22.1’) indicates a released version; three components indicate a development version (e.g., ‘23.0.50’ is what will eventually become ‘23.1’).}}
11. ^{{cite journal | last=Stoll | first=Clifford | author-link=Clifford Stoll | title=Stalking the wily hacker | year=1988 | journal=Communications of the ACM | volume=31 | issue=5 | pages=484–497 | doi=10.1145/42411.42412 | postscript={{inconsistent citations}} }}
12. ^{{cite web|url=https://savannah.gnu.org/projects/emacs|title=Re: GNU EMACS|publisher=GNU|accessdate=2014-11-16}}]
13. ^{{cite web|url=https://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02140.html|title=Re: Looking for a new Emacs maintainer or team|publisher=gnu.org Mailing List|accessdate=2008-02-23}}; see also [https://www.networkworld.com/article/2350972/software/stallman-on-handing-over-gnu-emacs--its-future-and-the-importance-of-nomenclature.html "Stallman on handing over GNU Emacs, its future and the importance of nomenclature"]
14. ^{{cite web|url=https://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00849.html|title=Feature freeze|website=lists.gnu.org}}
15. ^{{cite web|url=https://www.theregister.co.uk/2015/11/05/wiegley_new_emacs_maintainer/|title=Emacs gets new maintainer as Richard Stallman signs off}}
16. ^{{cite web|url=https://www.networkworld.com/article/2220304/opensource-subnet/say-what--gnu-emacs-violates-the-gpl.html |title=Say what? GNU Emacs violates the GPL |publisher=Network World | date=Jul 29, 2011 |first=Joe |last=Brockmeier|accessdate=2016-01-19}}
17. ^License revoked: Applying Section 4 of the GPL and the lessons of Best Buy to Google’s Android by Edward J. Naughton (Aug 8, 2011)
18. ^[https://developers.slashdot.org/story/11/07/29/1445252/Emacs-Has-Been-Violating-the-GPL-Since-2009%20Emacs-Has-Been-Violating-the-GPL-Since-2009] on slashdot.org (2011)
19. ^[https://lists.gnu.org/archive/html/emacs-devel/2011-07/msg01155.html Re: Compiled files without sources????] on lists.gnu.org by Richard Stallman (Jul 28, 2011)
20. ^{{cite journal|title=GNU Emacs as a dynamically extensible programming environment | doi=10.1002/spe.4380181006 | volume=18| issue=10 |journal=Software: Practice and Experience|pages=999–1009|year = 1988|last1 = Halme|first1 = Heikki| last2=Heinänen | first2=Juha }}
21. ^{{cite book|url=https://books.google.com/books?id=h34pwy005nYC&pg=PA264&lpg=PA264|title=Beautiful Architecture: Leading Thinkers Reveal the Hidden Beauty in Software Design|isbn=9780596554392|last1=Spinellis|first1=Diomidis|last2=Gousios|first2=Georgios|date=2009-01-15}}
22. ^{{cite book|url=https://books.google.com/books?id=t0NECwAAQBAJ&pg=PA853&lpg=PA853|title=Statistical Analysis and Data Display: An Intermediate Course with Examples in R|isbn=9781493921225|last1=Heiberger|first1=Richard M.|last2=Holland|first2=Burt|date=2015-12-23}}
23. ^{{cite web|url=https://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html|title=Saving Emacs Sessions}}
24. ^{{cite web|url=https://www.gnu.org/software/emacs/manual/html_node/emacs/Echo-Area.html|title=Echo Area}}
25. ^{{cite web|url=https://www2.lib.uchicago.edu/keith/tcl-course/emacs-tutorial.html|title=A Tutorial Introduction to GNU Emacs}}
26. ^{{cite web|url=https://www.gnu.org/software/emacs/manual/html_node/emacs/Frames.html|quote=However, it is still possible to create multiple “frames” on text terminals; such frames are displayed one at a time, filling the entire terminal screen|title=Frames - GNU Emacs Manual}}
27. ^{{cite book | first1 = Debra | last1 = Cameron | first2 = Bill | last2 = Rosenblatt | first3 = Eric S. | last3 = Raymond | author3-link = Eric S. Raymond | title = Learning GNU Emacs | url = https://books.google.com/books?id=-RtYk55cqfgC | accessdate = 2010-11-02 | edition = 2 | series = In a Nutshell Series | year = 1996 | publisher = O'Reilly Media, Inc. | isbn = 978-1-56592-152-8 | page = 533 | quote = A face is a font and colour combination. }}
28. ^{{cite web|url=https://www.gnu.org/software/emacs/manual/html_node/emacs/Initial-Options.html#Initial-Options|title=Initial Options|quote=In batch mode, Emacs does not display the text being edited, and the standard terminal interrupt characters such as C-z and C-c have their usual effect. Emacs functions that normally print a message in the echo area will print to either the standard output stream (stdout) or the standard error stream (stderr) instead. (To be precise, functions like prin1, princ and print print to stdout, while message and error print to stderr.) Functions that normally read keyboard input from the minibuffer take their input from the terminal’s standard input stream (stdin) instead.}}
29. ^{{cite web|url=https://www.emacswiki.org/emacs/BatchMode|title=BatchMode}}
30. ^{{cite web|url=https://www.gnu.org/software/emacs/manual/html_node/elisp/Command_002dLine-Arguments.html|title=Command Line Arguments}}
31. ^{{cite mailing list | url = https://lists.gnu.org/archive/html/info-gnu-emacs/2007-06/msg00000.html | title = Emacs 22.1 released | date = 2007-06-03 | accessdate = 2011-07-31 | mailinglist = info-gnu-emacs | last = Stallman | first = Richard | authorlink = Richard Stallman }}
32. ^{{cite web|url=https://github.com/ch11ng/exwm|title=exwm: Emacs X Window Manager|first=Chris|last=Feng|date=27 November 2017|publisher=|via=GitHub}}
33. ^{{cite web |url=https://magit.vc/ |author=Jonas Bernoulli |title=It's Magit! A Git Porcelain inside Emacs |accessdate=Feb 8, 2017}}
34. ^{{cite book |url=https://www.masteringemacs.org/article/introduction-magit-emacs-mode-git |section=An introduction to Magit, an Emacs mode for Git |title=Mastering Emacs |accessdate=Feb 8, 2017 |first=Mickey |last=Petersen}}
35. ^{{cite web|url=https://orgmode.org/worg/org-contrib/babel/intro.html#literate-programming|title=Babel: Introduction}}
36. ^{{Citation|title=SLIME: The Superior Lisp Interaction Mode for Emacs|url=https://www.common-lisp.net/project/slime/}}
37. ^{{cite web|last=Kifer|first=Michael|title=Emacs packages: Viper and Ediff|url=https://www3.cs.sunysb.edu/~kifer/emacs.html|work=Michael Kifer's website|accessdate=2012-11-15}}
38. ^{{cite web|url=https://github.com/emacs-evil/evil|title=Repository|last=|first=|date=|work=Github|archive-url=|archive-date=|dead-url=|accessdate=2018-05-18}}
39. ^{{cite web|url=https://www.gnu.org/software/emacs/manual/html_node/efaq/Problems-with-very-large-files.html|title=6.1 Does Emacs have problems with files larger than 8 megabytes?}}
40. ^{{cite web | last = B | first = Ramprasad | title = GNU Emacs FAQ For Windows 95/98/ME/NT/XP and 2000 | date = 2005-06-24 | url = https://www.gnu.org/software/emacs/windows/ntemacs.html | accessdate = 2006-09-27 }}
41. ^{{cite web|last=Borgman |first=Lennart |title=EmacsW32 Home Page |year=2006 |url=http://ourcomments.org/Emacs/EmacsW32.html |accessdate=2006-09-27 |deadurl=yes |archiveurl=https://web.archive.org/web/20070306033256/http://ourcomments.org/Emacs/EmacsW32.html |archivedate=2007-03-06 |df= }}
42. ^{{cite web | title = GNU Emacs on Windows | publisher = Franz Inc. | year = 2006 | url = https://franz.com/emacs/ | accessdate = 2006-09-27 }}
43. ^{{cite web | title = Carbon Emacs Package | url = http://th.nao.ac.jp/MEMBER/zenitani/emacs-e.html | accessdate = 2012-06-10 }}
44. ^{{cite web | title = Aquamacs is an easy-to-use, Mac-style Emacs for Mac OS X | url = http://aquamacs.org/ | accessdate = 2006-09-27 }}
45. ^{{cite web |url=https://www.emacswiki.org/emacs/EmacsOnAndroid |title=Emacs on Android |publisher=EmacsWiki}}{{better source|reason= Wikis are not reliable sources. Look for an independently published article or an announcement on the project maintainer's webpage|date=January 2013}}
46. ^{{cite web |url=https://www.emacswiki.org/emacs/CategoryPorts |title=CategoryPorts |publisher=EmacsWiki}}{{better source|reason= Wikis are not reliable sources. Look for an independently published article or an announcement on the project maintainer's webpage|date=January 2013}}
47. ^{{cite web | last = Stephen J. | first = Turnbull | title = XEmacs vs. GNU Emacs | url = https://www.xemacs.org/About/XEmacsVsGNUemacs.html | accessdate = 2012-10-02 }}
48. ^{{cite web|url=https://steve-yegge.blogspot.com/2008/04/xemacs-is-dead-long-live-xemacs.html|title=XEmacs is Dead. Long Live XEmacs!}}
49. ^{{cite web |url=http://www.meadowy.org/meadow/pukiwiki-en/ |title=FrontPage - Meadow Wiki |archiveurl=https://web.archive.org/web/20120216081734/http://www.meadowy.org/meadow/pukiwiki-en/ |archivedate=2012-02-16 |date=Feb 16, 2012}}
50. ^{{cite web|url=https://www.sxemacs.org/ |title=SXEmacs Website |publisher=Sxemacs.org |date=2009-10-11 |accessdate=2009-11-08}}
51. ^{{cite web|title=Remacs|url=https://github.com/Wilfred/remacs|website=The Remacs github repository|accessdate=Feb 22, 2017}}
52. ^{{cite web|url=https://www.gnu.org/software/emacs/news/NEWS.24.5|title=NEWS.24.5|quote=GNU Emacs NEWS -- history of user-visible changes.}}
53. ^{{cite web|url=https://www.gnu.org/software/emacs/manual/html_node/elisp/Antinews.html|title=Antinews|quote=For those users who live backwards in time, here is information about downgrading to Emacs version 24.5. We hope you will enjoy the greater simplicity that results from the absence of many Emacs 25.2 features.}}
54. ^[https://www.jwz.org/doc/emacs-timeline.html Emacs Timeline]. Jwz.org. Retrieved on 2013-07-17.
55. ^{{Cite web|url=https://lists.gnu.org/archive/html/emacs-devel/2018-05/msg00765.html|title=Emacs 26.1 released|website=lists.gnu.org|access-date=2018-05-29}}
56. ^{{Cite web|url=https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00451.html|title=Emacs 25.1 released|website=lists.gnu.org|access-date=2016-09-17}}
57. ^{{cite web|url=https://www.gnu.org/software/emacs/news/NEWS.24.5 |title=GNU Emacs NEWS -- history of user-visible changes. |date=2015-04-10 |accessdate=2015-04-11}}
58. ^{{cite web|url=http://thread.gmane.org/gmane.emacs.devel/185268 |title=Emacs 24.5 released |first=Nicolas |last=Petton |date=2015-04-10 |accessdate=2015-04-11}}
59. ^{{cite web|url=https://lists.gnu.org/archive/html/info-gnu-emacs/2014-10/msg00002.html |title=Emacs 24.4 released |first=Glenn | last=Morris | date=2014-10-20 | accessdate=2014-10-22}}
60. ^{{cite web|url=https://lists.gnu.org/archive/html/info-gnu-emacs/2013-03/msg00001.html |title=Emacs 24.3 released |first=Glenn | last=Morris | date=2013-03-10 | accessdate=2013-03-16}}
61. ^{{cite web|url=https://lists.gnu.org/archive/html/info-gnu-emacs/2012-08/msg00000.html |title=Emacs release candidate 24.2|first= Chong |last=Yidong |date=2012-08-27 |accessdate=2012-11-11}}
62. ^{{cite web|url=https://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00008.html |title=Emacs release candidate 24.1|first= Chong |last=Yidong |date=2012-06-01 |accessdate=2012-06-01}}
63. ^{{cite web|url=https://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00387.html |title=Security flaw in EDE; new release plans|first= Chong |last=Yidong |date=2012-01-09 |accessdate=2012-02-23}}
64. ^{{cite web|url=https://emacs-fu.blogspot.com/2009/07/emacs-23-is-very-near.html |title=emacs-fu: emacs 23 has been released! |publisher=Emacs-fu.blogspot.com |date=2009-07-28 |accessdate=2009-11-08}}
65. ^{{cite web | url = http://www.linux-mag.com/id/1527 | title = Emacs Remote Editing with Tramp | first = Jeremy | last = Zawodny | authorlink = Jeremy Zawodny | date = 2003-12-15 | work = Linux Magazine | accessdate = 2010-02-01 | quote = Tramp [...] stands for "Transparent Remote (file) Access, Multiple Protocol." }}
66. ^{{cite web|url=https://www.gnu.org/software/emacs/news/NEWS.22.1 |title=Emacs News version 22.1|last=Free Software Foundation Inc |year=2007 |accessdate=2013-12-29}}
67. ^{{cite web|url=https://searchcode.com/codesearch/view/364314/|title=NEWS.19}}
68. ^{{cite web|url=https://www.jwz.org/doc/emacs-timeline.html|title=Emacs Timeline}}
69. ^{{cite web|url=https://www.gnu.org/bulletins/bull19.html#SEC9|title=GNUs Flashes}}
70. ^{{cite web|url=https://searchcode.com/codesearch/view/364358/|title=NEWS.18}}
71. ^{{cite web|url=https://searchcode.com/codesearch/view/364358/|title=NEWS.18|quote=Programs such as mailers that invoke "the editor" as an inferior to edit some text can now be told to use an existing Emacs process instead of creating a new editor.}}
72. ^{{cite web|url=https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.1-17|title=NEWS.1-17}}
73. ^{{cite web|url=https://www.xemacs.org/Documentation/21.5/html/internals_3.html|title=Xemacs Internals}}

Further reading

  • {{cite book | last = Stallman | first = Richard M. | authorlink = Richard Stallman | year = 2002 | title = GNU Emacs Manual | edition = 15th | url = https://www.gnu.org/software/emacs/manual/ | publisher = GNU Press | isbn = 978-1-882114-85-6 }}
  • {{cite web | last = Stallman | first = Richard M. | authorlink = Richard Stallman | title = My Lisp Experiences and the Development of GNU Emacs | url = https://www.gnu.org/gnu/rms-lisp.html | year = 2002 | accessdate = 2007-02-01 }}
  • {{cite book | last = Chassel | first = Robert J. | authorlink = Robert J. Chassell | year = 2004 | url = https://www.gnu.org/software/emacs/emacs-lisp-intro/ | title = An Introduction to Programming in Emacs Lisp | publisher = GNU Press | isbn = 978-1-882114-56-6 | deadurl = yes | archiveurl = https://web.archive.org/web/20130703203143/http://www.gnu.org/software/emacs/emacs-lisp-intro/ | archivedate = 2013-07-03 | df = }}
  • {{cite book | last = Glickstein | first = Bob | date = April 1997 | title = Writing GNU Emacs Extensions | publisher = O'Reilly & Associates | isbn = 978-1-56592-261-7 }}
  • {{cite book |author1=Cameron, Debra |author2=Elliott, James |author3=Loy, Marc |author4=Raymond, Eric |author5=Rosenblatt, Bill | date = December 2004 | title = Learning GNU Emacs, 3rd Edition | url = http://shop.oreilly.com/product/9780596006488.do | publisher = O'Reilly & Associates | isbn = 978-0-596-00648-8 }}

External links

{{Portal|Free and open-source software}}{{commons|GNU Emacs}}
  • {{Official website}}
  • [https://www.emacswiki.org/ Unofficial Emacs wiki]
{{EmacsNavbox}}{{GNU}}{{Authority control}}

16 : Emacs|Free file comparison tools|Free integrated development environments|Free software programmed in C|Free software programmed in Lisp|Free text editors|GNU Project software|Hex editors|Linux integrated development environments|Linux text editors|MacOS text editors|OpenVMS text editors|Software using the GPL license|Text editors|Unix text editors|Windows text editors

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 0:49:55