【问题标题】:Slime-repl isn't hereSlime-repl 不在这里
【发布时间】:2012-09-10 20:55:26
【问题描述】:

我已经安装了 Emacs + SBCL + slime,但我遇到了 slime 问题。 我在 Mac OS X 10.7.4 上

当我做 M-x slime 时,顶部有两个屏幕 scratch,底部有 inferior-lisp。 但我没有 slime-repl 您需要了解哪些信息才能找到问题的根源。

这是 inferior-lisp 开头的消息:

(progn (load "/opt/local/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/var/folders/4x/t_tmqdjs0jbbj_52bz2yy1xr0000gn/T/slime.14914"))

This is SBCL 1.0.55.0-abb03f9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* 
; loading #P"/opt/local/slime/swank-loader.lisp"
; loading #P"/Users/guillaume/.slime/fasl/2012-09-04/sbcl-1.0.55.0-abb03f9-no-threads-darwin-x86/swank-backend.fasl"
; loading #P"/Users/guillaume/.slime/fasl/2012-09-04/sbcl-1.0.55.0-abb03f9-no-threads-darwin-x86/swank-source-path-parser.fasl"
; loading #P"/Users/guillaume/.slime/fasl/2012-09-04/sbcl-1.0.55.0-abb03f9-no-threads-darwin-x86/swank-source-file-cache.fasl"
; loading #P"/Users/guillaume/.slime/fasl/2012-09-04/sbcl-1.0.55.0-abb03f9-no-threads-darwin-x86/swank-sbcl.fasl"
STYLE-WARNING: redefining EMACS-INSPECT (#<BUILT-IN-CLASS T>) in DEFMETHOD
; loading #P"/Users/guillaume/.slime/fasl/2012-09-04/sbcl-1.0.55.0-abb03f9-no-threads-darwin-x86/swank-gray.fasl"
STYLE-WARNING:
   Implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P.
; loading #P"/Users/guillaume/.slime/fasl/2012-09-04/sbcl-1.0.55.0-abb03f9-no-threads-darwin-x86/swank-match.fasl"
; loading #P"/Users/guillaume/.slime/fasl/2012-09-04/sbcl-1.0.55.0-abb03f9-no-threads-darwin-x86/swank-rpc.fasl"
; loading #P"/Users/guillaume/.slime/fasl/2012-09-04/sbcl-1.0.55.0-abb03f9-no-threads-darwin-x86/swank.fasl"
WARNING: These Swank interfaces are unimplemented:
 (DISASSEMBLE-FRAME INTERRUPT-THREAD RECEIVE-IF SLDB-BREAK-AT-START
  SLDB-BREAK-ON-RETURN SPAWN)
;; Swank started at port: 57792.
57792

【问题讨论】:

  • 这是我的缓冲区列表:inferior-lispCompile-Logslime-events、scratch , 消息
  • 这是我的 * slime-events * 缓冲区:provides-putwc :os-provides-dladdr :os-provides-dlopen ...) :modules ("SB-CLTL2" "SB-POSIX" "SB-INTROSPECT" "SB-BSD-SOCKETS" "SB-GROVEL" " ASDF") :package (:name "COMMON-LISP-USER" :prompt "CL-USER") :version "2012-09-04")) 1)`
  • 而且我没有 M-x slime-to-output-buffer ,我无法执行它
  • 是的,我是问题所在,因为我先安装了特定版本。今天我安装了官方的粘液,但我没有删除 emacs.d/init.el 上的一些行,所以我删除了一些行,现在很好。我有我的 * 劣质粘液 * 和我的 * 划痕 * 所以现在我认为这很好 :) 谢谢

标签: macos emacs lisp slime sbcl


【解决方案1】:

除非在 slime 设置中启用,否则 Slime-repl 不会显示。

(slime-setup '(slime-fancy))

【讨论】:

    猜你喜欢
    • 2023-03-25
    • 1970-01-01
    • 1970-01-01
    • 2012-03-08
    • 1970-01-01
    • 1970-01-01
    • 2011-02-23
    • 2010-10-21
    • 1970-01-01
    相关资源
    最近更新 更多