1

我在 OS X 版本 10.8(山狮)上运行 emacs 22.1.1,我已经开始根据此处提供的说明设置 pymacs、rope、ropemacs:http: //www.saltycrane.com/blog/2010/05 /my-emacs-python-环境/

到达自动完成模式之前的阶段后,启动emacs时出现以下错误:

("emacs")
Loading encoded-kb...done

Loading advice...done
Pymacs loading ropemacs...

An error has occurred while loading `/Users/my_name/.emacs':

error: Pymacs helper did not start within 30 seconds

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 选项启动 emacs 后,我得到

Debugger entered--Lisp error: (error "Pymacs helper did not start within 30 seconds")
  signal(error ("Pymacs helper did not start within 30 seconds"))
  pymacs-report-error("Pymacs helper did not start within %d seconds" 30)
  pymacs-start-services()
  pymacs-serve-until-reply("eval" (pymacs-print-for-apply (quote "pymacs_load_helper")(quote ("ropemacs" "rop$
  pymacs-call("pymacs_load_helper" "ropemacs" "rope-")
  pymacs-load("ropemacs" "rope-")
  eval-buffer(#<buffer  *load*> nil "/Users/my_name/.emacs" nil t)  ; Reading at buffer position 566
  load-with-code-conversion("/Users/my_name/.emacs" "/Users/my_name/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "^H\205\276^@   \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033^@\312\307\313\314#\203#^@\315\202A^@\312\30$
  command-line()
  normal-top-level()

有什么建议么?

4

2 回答 2

0

你用过最新的 Pymacs 吗? https://github.com/pinard/Pymacs/tarball/v0.25

请参阅 README 如何安装。

BTW Pymacs 运行它自己的邮件列表。

于 2012-07-29T19:41:02.793 回答
0


我使用这个设置https://github.com/gabrielelanaro/emacs-for-python。它具有 pymacs、rope、ropemacs、yasnippet、pyflakes 集成。一个完整的 emacs 开发包,它对我有用。我的设置 - https://github.com/rags/.emacs.d(这包括 emacs-for-python)

于 2012-09-15T09:58:59.503 回答