win10 中安装/配置emacs 26.1

1. 下载emacs 26.1

http://ftp.gnu.org/gnu/emacs/windows/emacs-26/

i686和x86_64有什么区别?

代表intel系列的cpu
386 几乎适用于所有的 x86 平台,不论是旧的 pentum 或者是新的 pentum-IV 与 K7 系列的 CPU等等,都可以正常的工作!那个 i 指的是 Intel 兼容的 CPU 的意思,至于 386 不用说,就是 CPU 的等级啦!
i586 就是 586 等级的计算机,那是哪些呢?包括 pentum 第一代 MMX CPU, AMD 的 K5, K6 系列 CPU ( socket 7 插脚 ) 等等的 CPU 都算是这个等级;
i686 在 pentun II 以后的 Intel 系列 CPU ,及 K7 以后等级的 CPU 都属于这个 686 等级!
而x86_64就是64位的x(代表不确定。可以是3、4、5、6、)86,是个统称,如果是i686_64也是属于x86_64的。

2. 创建文件夹 解压emacs

我的是将 emacs压缩包解压在 D:\Emacs\Emacs_26 目录中

3. 添加注册表

右击桌面 我的电脑 > 属性 > 高经系统设置 > 高级 > 环境变量 > 用户变量 > 编辑
添加

变量
HOME D:\Emacs\Emacs_26
PATH D:\Emacs\Emacs_26

详细操作图1-图2所示
在这里插入图片描述
图1 环境变量设置在这里插入图片描述
图2 环境变量设置

4. 运行 addpm.exe 文件创建快捷图标

文件的位置在emacs 的bin文件夹中 D:\Emacs\Emacs_26\bin\addpm.exe

在这里插入图片描述
图3 emacs 快捷图标

5. 运行runemacs.exe 创建emacs 配置文件

依次点击 Options > Highlight Matching Parentheses > Save Options
然后emacs 在根目录下 会自己创建一个 .emacs 配置文件
在界面的最底部会有提示

在这里插入图片描述
图4 创建.emacs 文件

在这里插入图片描述
图5 创建.emacs 文件

6. 对emacs进行配置

用notepad++ 打开 D:\Emacs\Emacs_26.emacs
将以下代码贴入.emacs 中并保存,再次打开emacs 就可以方便的使用啦


(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(ansi-color-faces-vector
   [default default default italic underline success warning error])
 '(ansi-color-names-vector
   ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"])
 '(column-number-mode t)
 '(current-language-environment "Chinese-GBK")
 '(custom-enabled-themes nil)
 '(display-time-mode t)
 '(package-selected-packages (quote (auctex)))
 '(transient-mark-mode nil)
 '(uniquify-buffer-name-style nil nil (uniquify)))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be car
  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值