在终端中启动了我的iPython笔记本服务器之后,我尝试:
M-x ein:notebooklist-open RET这会产生以下错误:
defvar: Symbol's value as variable is void: c-mode-syntax-table(资料来源:ein文件 )
我不知道如何调试/修复这个问题。
我刚刚得到了新发布的Aquamacs3.0,并在安装ein包之前安装了所需的软件包(websocket、请求、自动完成)。
Preferences.el包括(可能与Aquamacs3.0是多余的):
(require 'cl)
(require 'websocket)
(require 'request)
(require 'ein)我在小牛队,已经用了两年了。
编辑
为了完整起见,应月角的请求:
Debugger entered--Lisp error: (void-variable c-mode-syntax-table)
byte-code("\302!\303\304\305 #\210\303\306\305 #\210 )\207" [c-mode-syntax-table table make-syntax-table modify-syntax-entry 46 "w" 95] 4)
(defvar ein:dotty-syntax-table (byte-code "\302!\303\304\305 #\210\303\306\305 #\210 )\207" [c-mode-syntax-table table make-syntax-table modify-syntax-entry 46 "w" 95] 4) ("/Users/pavo/Library/Application Support/Aquamacs Emacs/elpa/ein-20130711.104/ein-utils.elc" . 2990))
require(ein-utils)
eval-buffer(#<buffer *load*-545884> nil "/Users/pavo/Library/Application Support/Aquamacs Emacs/elpa/ein-20130711.104/ein-core.el" nil t) ; Reading at buffer position 1143
load-with-code-conversion("/Users/pavo/Library/Application Support/Aquamacs Emacs/elpa/ein-20130711.104/ein-core.el" "/Users/pavo/Library/Application Support/Aquamacs Emacs/elpa/ein-20130711.104/ein-core.el" nil t)
require(ein-core)
eval-buffer(#<buffer *load*> nil "/Users/pavo/Library/Application Support/Aquamacs Emacs/elpa/ein-20130711.104/ein-notebooklist.el" nil t) ; Reading at buffer position 952
load-with-code-conversion("/Users/pavo/Library/Application Support/Aquamacs Emacs/elpa/ein-20130711.104/ein-notebooklist.el" "/Users/pavo/Library/Application Support/Aquamacs Emacs/elpa/ein-20130711.104/ein-notebooklist.el" nil t)
autoload-do-load((autoload "ein-notebooklist" "Open notebook list buffer.\n\n(fn &optional URL-OR-PORT NO-POPUP)" t nil) ein:notebooklist-open)
command-execute(ein:notebooklist-open record)
execute-extended-command(nil "ein:notebooklist-open")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)发布于 2014-01-21 17:08:12
这是一个猜测,c-mode-syntax-table是在cc-mode.el中定义的,似乎ein在代码中使用了它,您可以做M-: (require 'cc-mode) RET然后再试一次吗?
https://stackoverflow.com/questions/21250451
复制相似问题