我喜欢 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/