当前位置:首页 > 操作系统 > MacOs

设置emacs下级进程提示位置

我喜欢emacs,并且尝试获取python开发的最佳设置.我目前正在将elpy模式与python3.4解释器一起使用,并且效果很好.最近困扰我的一件事是提示如何默认为缓冲区的中间.因此,有很多浪费的空间.

有人知道如何告诉emacs像普通的shell提示符一样将我的提示符保持在底部吗?我想这就像:

<code>(setq prompt-on-bottom-of-buffer t)
</code>

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

<code>(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)
</code>

解决方法:

差不多;)

<code>(setq comint-scroll-to-bottom-on-input t)
</code>

【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐