特殊:Badtitle/NS100:EmacsHowto:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/EmacsHowto}} | {{From|https://help.ubuntu.com/community/EmacsHowto}} | ||
{{Languages|UbuntuHelp:EmacsHowto}} | {{Languages|UbuntuHelp:EmacsHowto}} | ||
Parent page: [[ | Parent page: [[Programming| Programming Applications]] | ||
Emacs is the extensible, customizable, self-documenting real-time display editor. | Emacs is the extensible, customizable, self-documenting real-time display editor. | ||
This article give you a basic introduction to Emacs. | This article give you a basic introduction to Emacs. | ||
第26行: | 第26行: | ||
The main Emacs configuration file for user is ~/.emacs, which Emacs reads on startup. This file written in Emacs Lisp programming language. | The main Emacs configuration file for user is ~/.emacs, which Emacs reads on startup. This file written in Emacs Lisp programming language. | ||
== Further Information == | == Further Information == | ||
The [http://www.emacswiki.org Emacs Wiki] is a community website which collects ELisp code, questions and answers related to ELisp code and style; introductions to ELisp packages and links to their sources; complete manuals or documentation fragments; comments on features, differences, and history of different Emacs versions, flavors, and ports; jokes; pointers to clones and Emacs look-alikes, as well as references to other Emacs related information on the Web. | The [[http://www.emacswiki.org|Emacs Wiki]] is a community website which collects ELisp code, questions and answers related to ELisp code and style; introductions to ELisp packages and links to their sources; complete manuals or documentation fragments; comments on features, differences, and history of different Emacs versions, flavors, and ports; jokes; pointers to clones and Emacs look-alikes, as well as references to other Emacs related information on the Web. | ||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 05:06的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EmacsHowto }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/af | • {{#if: UbuntuHelp:EmacsHowto|Afrikaans| [[::EmacsHowto/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/ar | • {{#if: UbuntuHelp:EmacsHowto|العربية| [[::EmacsHowto/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/az | • {{#if: UbuntuHelp:EmacsHowto|azərbaycanca| [[::EmacsHowto/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/bcc | • {{#if: UbuntuHelp:EmacsHowto|جهلسری بلوچی| [[::EmacsHowto/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/bg | • {{#if: UbuntuHelp:EmacsHowto|български| [[::EmacsHowto/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/br | • {{#if: UbuntuHelp:EmacsHowto|brezhoneg| [[::EmacsHowto/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/ca | • {{#if: UbuntuHelp:EmacsHowto|català| [[::EmacsHowto/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/cs | • {{#if: UbuntuHelp:EmacsHowto|čeština| [[::EmacsHowto/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/de | • {{#if: UbuntuHelp:EmacsHowto|Deutsch| [[::EmacsHowto/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/el | • {{#if: UbuntuHelp:EmacsHowto|Ελληνικά| [[::EmacsHowto/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/es | • {{#if: UbuntuHelp:EmacsHowto|español| [[::EmacsHowto/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/fa | • {{#if: UbuntuHelp:EmacsHowto|فارسی| [[::EmacsHowto/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/fi | • {{#if: UbuntuHelp:EmacsHowto|suomi| [[::EmacsHowto/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/fr | • {{#if: UbuntuHelp:EmacsHowto|français| [[::EmacsHowto/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/gu | • {{#if: UbuntuHelp:EmacsHowto|ગુજરાતી| [[::EmacsHowto/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/he | • {{#if: UbuntuHelp:EmacsHowto|עברית| [[::EmacsHowto/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/hu | • {{#if: UbuntuHelp:EmacsHowto|magyar| [[::EmacsHowto/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/id | • {{#if: UbuntuHelp:EmacsHowto|Bahasa Indonesia| [[::EmacsHowto/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/it | • {{#if: UbuntuHelp:EmacsHowto|italiano| [[::EmacsHowto/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/ja | • {{#if: UbuntuHelp:EmacsHowto|日本語| [[::EmacsHowto/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/ko | • {{#if: UbuntuHelp:EmacsHowto|한국어| [[::EmacsHowto/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/ksh | • {{#if: UbuntuHelp:EmacsHowto|Ripoarisch| [[::EmacsHowto/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/mr | • {{#if: UbuntuHelp:EmacsHowto|मराठी| [[::EmacsHowto/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/ms | • {{#if: UbuntuHelp:EmacsHowto|Bahasa Melayu| [[::EmacsHowto/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/nl | • {{#if: UbuntuHelp:EmacsHowto|Nederlands| [[::EmacsHowto/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/no | • {{#if: UbuntuHelp:EmacsHowto|norsk| [[::EmacsHowto/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/oc | • {{#if: UbuntuHelp:EmacsHowto|occitan| [[::EmacsHowto/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/pl | • {{#if: UbuntuHelp:EmacsHowto|polski| [[::EmacsHowto/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/pt | • {{#if: UbuntuHelp:EmacsHowto|português| [[::EmacsHowto/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/ro | • {{#if: UbuntuHelp:EmacsHowto|română| [[::EmacsHowto/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/ru | • {{#if: UbuntuHelp:EmacsHowto|русский| [[::EmacsHowto/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/si | • {{#if: UbuntuHelp:EmacsHowto|සිංහල| [[::EmacsHowto/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/sq | • {{#if: UbuntuHelp:EmacsHowto|shqip| [[::EmacsHowto/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/sr | • {{#if: UbuntuHelp:EmacsHowto|српски / srpski| [[::EmacsHowto/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/sv | • {{#if: UbuntuHelp:EmacsHowto|svenska| [[::EmacsHowto/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/th | • {{#if: UbuntuHelp:EmacsHowto|ไทย| [[::EmacsHowto/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/tr | • {{#if: UbuntuHelp:EmacsHowto|Türkçe| [[::EmacsHowto/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/vi | • {{#if: UbuntuHelp:EmacsHowto|Tiếng Việt| [[::EmacsHowto/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/yue | • {{#if: UbuntuHelp:EmacsHowto|粵語| [[::EmacsHowto/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/zh | • {{#if: UbuntuHelp:EmacsHowto|中文| [[::EmacsHowto/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/zh-hans | • {{#if: UbuntuHelp:EmacsHowto|中文(简体)| [[::EmacsHowto/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EmacsHowto | UbuntuHelp:EmacsHowto | {{#if: | :}}EmacsHowto}}/zh-hant | • {{#if: UbuntuHelp:EmacsHowto|中文(繁體)| [[::EmacsHowto/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EmacsHowto|:EmacsHowto|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EmacsHowto/zh | | {{#ifexist: EmacsHowto/zh | | {{#ifeq: {{#titleparts:EmacsHowto|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EmacsHowto|1|-1|}} | zh | | }}
Parent page: Programming Applications Emacs is the extensible, customizable, self-documenting real-time display editor. This article give you a basic introduction to Emacs.
Installing Emacs
Install the package emacs from synaptic or type in a terminal
sudo apt-get install emacs
A Quick Introduction
You can start Emacs in console mode by typing emacs -nw at the terminal or Emacs in graphical mode by typing emacs (or from Gnome menu).
Hotkeys
Here is a list of general hotkeys (M is Meta button, Alt on many keyboards; C is Ctrl):
- C-x C-f Open file
- C-x C-s Save file
- C-x C-c Exit Emacs
- C-s Forward search a string
- C-r Reverse search a string
- C-a Move the the beginning of a line
- C-e Move to the end of a line
- C-d Delete a character
- M-d Delete a word
- C-x u Undo
Configuration
The main Emacs configuration file for user is ~/.emacs, which Emacs reads on startup. This file written in Emacs Lisp programming language.
Further Information
The [Wiki] is a community website which collects ELisp code, questions and answers related to ELisp code and style; introductions to ELisp packages and links to their sources; complete manuals or documentation fragments; comments on features, differences, and history of different Emacs versions, flavors, and ports; jokes; pointers to clones and Emacs look-alikes, as well as references to other Emacs related information on the Web.