首页 > 解决方案 > 在 Emacs python-mode 中复制 Python 源代码窗口

问题描述

我正在使用 Emacs 27 和 Evil 模式来编写 python 代码。

每次我执行 Mx py-execute-buffer 时,python 源代码都会在 python shell 运行时在新窗口中复制。因此 Emacs 最终会在屏幕上显示三个区域,一个用于带有运行结果的 python shell,两个具有相同的源代码。

有没有办法避免额外的源代码缓冲区?

非常感谢。

千斤顶

标签: python-3.xemacspython-mode

解决方案


推荐阅读