Skip to content

Instantly share code, notes, and snippets.

@jqlblue
Created June 27, 2012 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jqlblue/3002371 to your computer and use it in GitHub Desktop.
Save jqlblue/3002371 to your computer and use it in GitHub Desktop.
在fedora16上搭建lisp环境
有两种方案,先说比较复杂的。
1 Emacs+SLIME+SBCL
emacs的安装不说了,没有的yum就好。
sbcl(Steel Bank Common Lisp),是一种高性能的common lisp编译器,yum即可。
slime是emacs的common lisp模式,是emacs的一个插件,下载下来备用。
然后,在emacs的配置文件中加入
(setq inferior-lisp-program "/usr/bin/sbcl")
(require 'slime)
(slime-setup '(slime-fancy))
重启emacs,也可以配置不重启让配置文件生效。
在终端中输入emacs,然后按alt+x ,输入slime,就算完成了。
2 使用Lispbox(lisp in a box)
Lispbox把Emacs+SLIME+Common Lisp打包在了一起,可以直接使用。目前Lispbox使用的是Emacs 23.2.1,这一版本的Emacs支持另外一个启动选项-mm用以最大化Emacs窗口; 可以使用--user=some_user选项指定使用某个特定Ubuntu用户的.emacs配置文件; 也可以综合使用--no-init-file --load=/path/to/init/file选项另行指定Emacs初始化文件。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment