【发布时间】:2012-03-21 21:51:24
【问题描述】:
Emacs 会创建太多的缓冲区,比如它启动时的缓冲区:
Loading /home/david/.recentf...done
Cleaning up the recentf list...done (0 removed)
For information about GNU Emacs and the GNU system, type C-h C-a.
当我想要自动完成时,其他人喜欢以下内容:
Click <mouse-2> on a completion to select it.
In this buffer, type RET to select the completion near point.
Possible completions are:
perl-backward-to-noncomment perl-beginning-of-function
perl-electric-terminator perl-end-of-function
perl-indent-command perl-indent-exp
perl-mark-function perl-mode
perldb
有没有一种方法可以让 emacs 杀死自动完成缓冲区而不是在开始时创建那个缓冲区?谢谢。
【问题讨论】:
-
我认为它们有时很有用,但是为什么要禁止它们,因为它们通常不会妨碍您。?
-
您接受的答案太少。
-
见 harpo 的回答。当您想切换到缓冲区时,不应以线性顺序遍历缓冲区列表。这是非常低效的。只需使用iswitchb,您就不必担心您有多少打开的缓冲区。
-
当我第一次学习 emacs 时,我遇到了很多关于缓冲区的问题,所以我问了这个问题:stackoverflow.com/questions/3145332/…。那里的很多建议帮助了我,尤其是 ido-mode:emacswiki.org/emacs/InteractivelyDoThings
标签: emacs