为什么emacs总是在*Man <man-name>*
窗口中打开other
缓冲区而不是使用相同的窗口?
如何强制它在当前打开?
same-window-regexps
和same-window-buffer-names
似乎无法使用... - 我无法通过自定义此变量来强制使用同一窗口。
答案 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
源代码,亲眼看看。