「Emacs」- Editor MACroS(From 1970s)

问题描述

该笔记将记录:Emacs 文本编辑器(但又不仅是文本编辑器),以及相关内容、常见问题的解决办法。

Emacs Channel

Emacs

Emacs,编辑器,功能多,但或许开箱不能即用。它有众多的分支,比如GNU Emacs、XEmacs、SXEmacs等等。如果没有特殊说明,则相关文章中指的都是GNU Emacs版本。

GNU Emacs是Emacs的一个版本,由原始(PDP-10)Emacs的作者Richard Stallman编写。GNU Emacs的用户功能包含其他编辑器所做的一切,并且由于其编辑命令是用Lisp编写的,所以它很容易扩展。

GNU Emacs的主要文档在GNU Emacs手册中,可以使用Info从Emacs或作为独立程序阅读。请查看完整和最新的文档。此手册页仅在有人志愿者更新时更新。

Emacs有一个广泛的交互式帮助工具,但该工具假设您知道如何操作Emacs窗口和缓冲区:

  • CTRL-h或F1进入Help工具;
  • (CTRL-h t)Help Tutorial启动一个交互式教程,以快速向初学者讲授Emacs的基础知识;
  • (CTRL-h a)Help Apropos帮助您查找名称与给定模式匹配的命令;
  • (CTRL-h k)Help Key描述给定的键序列;
  • Help Function(CTRL-h f)描述给定的Lisp函数。

GNU Emacs的许多特殊包能够处理邮件阅读(RMail)和发送(Mail),大纲编辑(Outline),编译(编译),在Emacs窗口中运行子Shell(Shell),运行Lisp的read-eval-print循环(Lisp-Interaction-Mode),自动化心理治疗(Doctor)等等。

我们的Emacs运行的XTerm中,使用的是emacs -nw的无窗口模式运行,因为这个样子可以绕过无法输入中文的问题。但是现在(08/22/2018)根本不需要了。因为,可以指定LC_CTYPE=zh_CN.UTF-8 emacs来运行Emacs,解决窗口模式下无法使用中文输入法的问题。

http://www.gnu.org/software/emacs/tour/index.html
http://www.gnu.org/software/emacs/manual/html_node/emacs/index.html
http://www.gnu.org/software/emacs/manual/html_node/eintr/index.html
http://www.gnu.org/software/emacs/manual/html_node/elisp/index.html
http://www.gnu.org/software/emacs/manual/index.html

相关的文档及手册

Documentation & Support: https://www.gnu.org/software/emacs/documentation.html
Further information: https://www.gnu.org/software/emacs/further-information.html

GNU Emacs FAQ: https://www.gnu.org/software/emacs/manual/efaq.html
EmacsWiki: https://www.emacswiki.org/

How can I make Emacs start-up faster?: https://stackoverflow.com/questions/778716/how-can-i-make-emacs-start-up-faster

GNU Emacs Manual

与「Emacs」有关

《学习GNU Emacs》 O’REILLY

Emacs手册
https://www.gnu.org/software/emacs/manual/html_mono/emacs.html
https://www.gnu.org/software/emacs/manual/emacs.html

与「Emacs LISP」有关

《GNU Emacs Lisp编程入门》
Emacs Lisp编程语言介绍
Emacs Lisp官方手册

参考文献

访问Emacs的主页
了解Emacs的历史
查看Emacs的发行日志Emacs的发行历史