惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园 - Franky
GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
博客园_首页
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Jina AI
Jina AI
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
L
LangChain Blog
L
LINUX DO - 最新话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
AI
AI
T
Troy Hunt's Blog
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs

博客园 - NeilChen

恢复 Windows 7 的“回到父目录”按钮 FireFox 脑残的安全设定 SQL Server 事务自动回滚 下载 infoq 网站视频 也做了一下腾讯前端面试题 Select prototyping tools Lisp in Small Parts TechTalk by Peter Seibel on Common Lisp 时隔3年,再做双倍超立方数的题目,这次用Lisp Racket, SICP stream learning Operation is not valid due to the current state of the object lisp 笔记 - 闭包 Common Lisp 在 Windows 上的开发环境比较 翻译英文技术文章是一件很可耻的事情吗? 写了个博客备份的 ruby 程序 体验 Clozure CL 试用 Portable Allegro Serve 关于 Business Rule Engine Irony - 一个 .NET 语言实现工具包
Windows XP, Emacs, CLisp, SLIME
NeilChen · 2011-12-14 · via 博客园 - NeilChen

LispBox 已经不再维护了,很多代码跑不起来,只好手工配置这套工具。

终于搞定了所有的安装配置,好麻烦。其中 clisp 最新的2.49版本配置了总是报错,只好用2.48版。其他都是当前最新的。

Emacs 23.3

CLisp 2.48

SLIME (CVS current snapshot)

安装的步骤如下。

  1. 首先下载 clisp 2.48 的 exe 版本,安装到 c:\clisp.
  2. 打开 CLisp,查看当前 HOME 目录的位置。方法是输入 (user-homedir-pathname). 找到后,在其中建立一个空的文本文件命名为 .clisprc.lisp.
    我机器上的目录如下:C:\Documents and Settings\[UserName]\.clisprc.lisp
  3. 安装 Emacs. 直接将下载的 zip 包解压到一个目录就好。我是 c:\emacs.
  4. 下载 SLIME 的 CVS 快照版本,解压到 c:\emacs\slime-2011-12-13
  5. 打开 Emacs,确定当前的 HOME 目录。方法是输入 (insert (getenv “HOME”)) 命令后输入 C-c C-e 来执行,看输出。我机器上得到的结果是:
    C:\Documents and Settings\[UserName]\Application Data
  6. 建立一个文本文件到:
    C:\Documents and Settings\[UserName]\Application Data\.emacs.d\init.el
    输入内容如下并保存:
  7. ;;; Initialize slime.
    (setq inferior-lisp-program "clisp")
    (add-to-list 'load-path "c:\\emacs\\slime-2011-12-13\\")
    (require 'slime-autoloads)
    (eval-after-load "slime"
      '(progn (slime-setup '(slime-fancy))))
    
    ;;; Automatically use slime mode on .cl and .lisp files.
    (add-to-list 'auto-mode-alist '("\\.cl$" . common-lisp-mode))
    (add-to-list 'auto-mode-alist '("\\.lisp$" . common-lisp-mode))
    
    ;;; Start slime.
    (slime)
  8. 安装 Quicklisp. 下载 quicklisp.lisp 后,打开 CLisp 控制台 load 该文件,然后执行之,按提示执行安装命令即可。
  9. 修改配置文件 C:\Documents and Settings\[UserName]\.clisprc.lisp 如下:
  10. ;;; Play nice with shebangs
    (set-dispatch-macro-character #\# #\!
     (lambda (stream character n)
      (declare (ignore character n))
      (read-line stream nil nil t)
      nil))
    
    ;;; The following lines added by ql:add-to-init-file:
    #-quicklisp
    (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname))))
      (when (probe-file quicklisp-init)
        (load quicklisp-init)))

安装过程完全参考的这里:http://yellosoft.us/installing-common-lisp

接下来可以大干一场了。