首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >EIN on Aquamacs 3.0不起作用

EIN on Aquamacs 3.0不起作用
EN

Stack Overflow用户
提问于 2014-01-21 06:09:04
回答 1查看 331关注 0票数 1

在终端中启动了我的iPython笔记本服务器之后,我尝试:

代码语言:javascript
复制
M-x ein:notebooklist-open RET

这会产生以下错误:

代码语言:javascript
复制
defvar: Symbol's value as variable is void: c-mode-syntax-table

(资料来源:ein文件 )

我不知道如何调试/修复这个问题。

我刚刚得到了新发布的Aquamacs3.0,并在安装ein包之前安装了所需的软件包(websocket、请求、自动完成)。

Preferences.el包括(可能与Aquamacs3.0是多余的):

代码语言:javascript
复制
(require 'cl)
(require 'websocket)
(require 'request)
(require 'ein)

我在小牛队,已经用了两年了。

编辑

为了完整起见,应月角的请求:

代码语言:javascript
复制
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)
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-01-21 17:08:12

这是一个猜测,c-mode-syntax-table是在cc-mode.el中定义的,似乎ein在代码中使用了它,您可以做M-: (require 'cc-mode) RET然后再试一次吗?

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21250451

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档