M-x ein:notebooklist-open RET
defvar: Symbol's value as variable is void: c-mode-syntax-table
(来源:ein documentation)
我不知道如何调试/修复此问题。
我刚刚发布了新发布的Aquamacs 3.0,并在安装ein软件包之前安装了所需的软件包(websocket,request,auto-complete)。
Preferences.el包括(可能与Aquamacs 3.0多余):
(require 'cl)
(require 'websocket)
(require 'request)
(require 'ein)
我在小牛队,已经使用emacs大约2年了。
为了完整起见,应lunaryorn的要求:
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)
答案 0 :(得分:2)
这是一个猜测,c-mode-syntax-table
在cc-mode.el
中定义,似乎ein
在其代码的某个地方使用了这个,你可以M-: (require 'cc-mode) RET
再试一次。