emacs - 安装lisp in a box 出现错误

查看:157
本文介绍了emacs - 安装lisp in a box 出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

.emacs配置如下:

(setq inferior-lisp-program "D:\lispbox-0.7\ccl-1.6-windowsx86\wx86cl64.exe") ;Lisp System
(add-to-list 'load-path "D:\lispbox-0.7\slime-20110205.092829") ;smile directory
(require 'slime)
(slime-setup)

重启emacs后出现如下错误:

Warning (initialization): An error occurred while loading `c:/Users/Administrator/AppData/Roaming/.emacs':

File error: Cannot open load file, slime

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

使用--debug-init重启启动后显示信息如下:

Debugger entered--Lisp error: (file-error "Cannot open load file" "slime")
  require(slime)
  eval-buffer(#<buffer  *load*> nil "c:/Users/Administrator/AppData/Roaming/.emacs" nil t)  ; Reading at buffer position 189
  load-with-code-conversion("c:/Users/Administrator/AppData/Roaming/.emacs" "c:/Users/Administrator/AppData/Roaming/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "\205\264

请大神们给看看,这个是什么原因导致。 我是win10 64位系统

解决方案

windows下的路径分隔符是转义符,把路径中的 都换成 \ 试试看

这篇关于emacs - 安装lisp in a box 出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆