?簡(jiǎn)介
Emacs是一個(gè)文本編輯器。Emacs被公認(rèn)為是最受專業(yè)程序員喜愛(ài)的代碼編輯器之一。
編譯和測(cè)試方式
1.選擇操作環(huán)境
本文選用華為鯤鵬云服務(wù)ECS KC1實(shí)例做測(cè)試
2.安裝軟件
鏡像 源自帶Emacs安裝包,通過(guò)yum安裝即可。
執(zhí)行下面命令,安裝Emacs。
yum install emacs
由于Emacs的依賴包較多,使用yum安裝時(shí)均會(huì)下載并安裝這些依賴包,因此如果安裝中途出現(xiàn)失敗的情況,可重試安裝。
3.測(cè)試軟件
執(zhí)行以下命令,進(jìn)入Emacs編譯環(huán)境。
emacs
編譯環(huán)境類似如下:
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.