python - 设置emacs劣质进程提示位置

标签 python emacs elisp

我喜欢 emacs,我正在尝试为 python 开发获得最佳设置。我目前正在使用 elpy 模式和 python3.4 解释器,效果很好。最近让我烦恼的一件事是我的提示如何默认到缓冲区的中间。因此,有很多浪费的空间。

有谁知道如何告诉 emacs 将我的提示保留在底部,就像普通的 shell 提示一样?我想它是这样的:

(setq prompt-on-bottom-of-buffer t)

这是我对 comint-output-filter-functions 的设置:

(setq comint-output-filter-functions 'comint-truncate-buffer
                                comint-buffer-maximum-size 1000
                                comint-scroll-show-maximum-output t
                                comint-input-ring-size 500
                                comint-scroll-to-bottom-on-input t)

最佳答案

差不多 ;)

(setq comint-scroll-to-bottom-on-input t)

关于python - 设置emacs劣质进程提示位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23178885/

相关文章:

python - Pip 安装挂起

r - Emacs 在工具提示中自动完成 ESS,而不是在缓冲区中

Emacs 按模式自定义背景颜色

emacs - 让 Emacs 将光标移出屏幕

python - 仅透视列中的某些值

python - 如何验证两个图像完全相同?

python - 当给定实际现有目录的路径时 os.path.isdir 不返回 True

emacs - 更改 emacs 上的初始目录,以及一些初学者的提示

emacs - 如何在 emacs org 文件中引用调用 block 的结果?

javascript - js2-mode.el编译错误