简介
Emacs是一个文本编辑器。Emacs被公认为是最受专业程序员喜爱的代码编辑器之一。
编译和测试方式
1.选择操作环境
本文选用华为鲲鹏 云服务 ECS KC1实例做测试
2.安装软件
镜像 源自带Emacs安装包,通过yum安装即可。
执行下面命令,安装Emacs。
yum install emacs
由于Emacs的依赖包较多,使用yum安装时均会下载并安装这些依赖包,因此如果安装中途出现失败的情况,可重试安装。
3.测试软件
执行以下命令,进入Emacs编译环境。
emacs
编译环境类似如下:
File Edit Options Buffers Tools Help
Welcome to GNU Emacs, one component of the GNU/Linux operating system.
To follow a link, click Mouse-1 on it, or move to it and type RET.
To quit a partially entered command, type Control-g.
Important Help menu items:
Emacs Tutorial Learn basic Emacs keystroke commands
Read the Emacs Manual View the Emacs manual using Info
(Non)Warranty GNU Emacs comes with ABSOLUTELY NO WARRANTY
Copying Conditions Conditions for redis tributing and changing Emacs
More Manuals / Ordering Manuals How to order printed manuals from the FSF
Useful tasks:
Visit New File Specify a new file’s name, to edit the file
Open Home Directory Open your home directory, to operate on its files
Customize Startup Change initialization settings including this screen
GNU Emacs 26.1 (build 1, aarch64-Huawei-linux-gnu, GTK+ Version 3.24.1)
of 2019-04-01
Copyright (C) 2018 Free Software Foundation, Inc.
-UUU:%%--F1 *GNU Emacs* All L1 (Fundamental) --------------------------------------------------------------
For information about GNU Emacs and the GNU system, type C-h C-a.