emacs 中的 Python 代码检查器包装器无法正确地将结果提供给 win32 上的 Flymake
所以我使用 emacs python wiki 上建议的这个包装器(在这里找到)围绕 pep8、pyflakes 和 pylint,它们在命令行上工作(在根据“在 Windows 中使用子…
Emacs python-mode:pdb 逐步调试的键盘快捷键
我想知道是否有一种方法可以关联: n RET(下一个) p RET(上一个) c RET(继续) Cx SPC RET(设置/清除断点) 使用功能键 F1-F12 或其他键盘快捷…
在 emacs python-mode 中不正确地退出缩进
我正在使用 Emacs python 模式。我在 .emacs 中使用它来调用它, (add-to-list 'load-path "~/emacs/python-mode.el-6.0.3/") (autoload 'python-mode…
emacs python-mode:指定向哪个 python shell 发送命令
对此问题的跟进 - 如果我在 emacs 中运行两个 python shell,如何指定每个 python 脚本缓冲区中的哪些 shell 命令发送到?我怀疑它与 python-buffer …
在 Emacs 中使用多个 Python shell “python-mode”使用 Python 或 IPython
有没有办法在运行 Emacs 时强制使用 python-shell 的新实例?当处理具有单独工作目录(和不同模块集)的多个项目时,这会很方便。 任何调用 python-sh…
使用自动完成、Python 模式和 Rope 设置 emacs
我已经安装了以上所有内容。 Rope 似乎工作得很好,但当我尝试运行自动完成时,出现以下错误: Symbol's function definition is void: rope-completi…
py-python-命令被忽略
我在 OS X 上使用 python-mode 6.0.1,emacs 23.3 (http://emacsformacosx.com/版本)。 我试图让 Cc Cc 默认为 python 3。 我的 .emacs 中有以下内容…
让Python解释器在同一窗口中打开
也许我有点不理智,但我真的很讨厌命令在 emacs 中打开一个新窗口。我在 Ubuntu 上使用 emacs,它带有 python 模式,当我使用 Cc 启动解释器时!它会…
如何访问主模式挂钩中的目录局部变量?
我定义了一个包含以下内容的 .dir-locals.el 文件: ((python-mode . ((cr/virtualenv-name . "saas")))) 在我的 .emacs 中,我有以下函数来检索该值…
确定 Emacs 23 中当前模式源代码的路径
我正在尝试 Emacs 23 的新 Python 模式,但我不确定如何判断我是否正在使用新模式(源代码位于 ~/.elisp/python.el ) 或捆绑的 python.el 模式。 有没…
更新 Emacs 22.2.1 中的 Python 版本
我最近安装了 Python 3.1,但 Emacs 仍然使用 2.6.5。我使用的是 Emacs 版本 22.2.1。我不确定要编辑哪些文件才能使 Emacs 默认使用 Python 3.1! 我…
在 emacs 23 中将 python 缩进设置为 2 个空格?
我在 Ubuntu 10.04 上使用 emacs 23.1.1。我希望在 Python 中使用 2 个空格缩进进行编程。 emacs 看起来有一个 python 的默认模式(python.el?)。 …
在 emacs py 模式下使用 Tab 键注释?
我正在使用 python-mode.el,当我尝试缩进注释时,它总是想将它们一直放在左边。我希望它们缩进与代码的其余部分一致。有没有一种简单的方法可以实现…
python-mode.el 中带有反斜杠续行的正确缩进
我喜欢使用 python-mode.el 和 (gnu) emacs 来编辑我的 python 文件。如果我使用括号进行多行延续,缩进将按我的预期工作。例如, foo_long_long_long…
emacs windows 在当前缓冲区中运行 python 程序并在输出窗口上显示输出
我使用 Python 模式(不是 emacs 23 附带的默认模式)。 我无法执行当前在 emacs 中加载的 python 程序。 我收到“符号的函数定义无效:智能操作模式…