在同一个emacs窗口中打开* Man <pages> * </pages>

时间:2011-10-16 22:42:31

标签: emacs

为什么emacs总是在*Man <man-name>*窗口中打开other缓冲区而不是使用相同的窗口? 如何强制它在当前打开? same-window-regexpssame-window-buffer-names似乎无法使用... - 我无法通过自定义此变量来强制使用同一窗口。

1 个答案:

答案 0 :(得分:16)

您需要更改Man-notify-method的值。您可以通过M-x customize-group RET man RET执行此操作。可能的值(此处提到,因为自定义页面没有它们):

newframe   -- put the manpage in its own frame (see `Man-frame-parameters')  
pushy      -- make the manpage the current buffer in the current window  
bully      -- make the manpage the current buffer and only window (sf)  
aggressive -- make the manpage the current buffer in the other window (sf)  
friendly   -- display manpage in the other window but don't make current (sf)  
polite     -- don't display manpage, but prints message and beep when ready  
quiet      -- like `polite', but don't beep  
meek       -- make no indication that the manpage is ready

查看man.el源代码,亲眼看看。