设置emacs下级进程提示位置

我喜欢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)
上一篇:Selenium Web 自动化 - Selenium常用API


下一篇:Emacs-182-把文件丢弃到系统回收站