emacs简单配置和scheme环境

首先把 debian 升级到11。

然后安装 emacs 和 mit-scheme,虽然不是最新版,但是学习《程序语言的解释和构造》,已经足够了。

再就是 emacs的默认配置文件是 .emacs 把它移动到 ~/.emacs.d/init.el 中。

加入以下配置内容:

(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.
 '(custom-enabled-themes '(wombat)))
(custom-set-faces
 ;; custom-set-faces 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.
 )
(setq package-archives '(("gnu" . "http://mirrors.ustc.edu.cn/elpa/gnu/")))
(package-initialize)
(icomplete-mode 1)
(ido-mode 1)
(menu-bar-mode 0)
(setq viper-mode t)
(require 'viper)

 

posted @ 2022-06-21 13:00  立体风  阅读(178)  评论(0)    收藏  举报