为什么emacs总是*Man <man-name>*
在other
窗口中打开缓冲区而不是使用相同的窗口?如何强制它在当前打开?
same-window-regexps
并且same-window-buffer-names
看起来没有用... - 我不能通过自定义这个变量来强制使用同一个窗口.
pmr*_*pmr 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
Run Code Online (Sandbox Code Playgroud)
看看man.el
源代码,亲眼看看.