[英]how to make emacs open all buffers in one window (debian/linux/gnome)
在osx中,我将所有新的emacs缓冲区放在.emacs中,以在同一窗口/框架中打开它们。
(setq ns-pop-up-frames nil)
使emacs在新缓冲区(NOT帧)中打开文件并被激活/显示在前面的别名?
我希望能够在debian(gnome)中做同样的事情。 可能吗? 非常适用于xmonad(和类似wms)的解决方案。
pop-up-frames
是一个标准emacs变量:
pop-up-frames is a variable defined in `window.el'.
Its value is nil
Documentation:
Whether `display-buffer' should make a separate frame.
If nil, never make a separate frame.
If the value is `graphic-only', make a separate frame
on graphic displays only.
Any other non-nil value means always make a separate frame.
You can customize this variable.
使用customize
或放置
(custom-set-variables '(pop-up-frames nil))
到您的.emacs
。
当然,这只会影响Emacs的显示缓冲区。 如果启动新的Emacs,则新过程将创建一个新窗口。 要实现您显然想要的功能,您将需要将Emacs作为守护程序运行,并使用emacsclient
打开文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.