python-send-buffer(Emacs 24,Windows7)

时间:2011-10-27 13:10:25

标签: python emacs

我在Emacs下一直在尝试使用Python,当我有一个包含Python代码的缓冲区时,我输入C-c C-c来尝试评估它。我得到的是:

>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'emacs' is not defined

我该怎么做才能解决这个问题?我做了一点挖掘,但遗憾的是无法解决我的问题。在* scratch *缓冲区中,我得到以下输出:

data-directory
"c:/emacs/emacs-24.0.90/etc/"

(getenv "PYTHONPATH")
nil

我认为部分用于尝试接收emacs.py(确实存在于c:/emacs/emacs-24.0.90/etc /“

任何指针都非常感激。

0 个答案:

没有答案
相关问题