开发者

open *Man <pages>* in the same emacs window

Why emacs always open *Man <man-name>* buffer in the other window instead of using the same window? How do I force it to open in current? same-window-regexps an开发者_JAVA技巧d same-window-buffer-names seemes to be unusefull.. - I can't force using the same window by customizing this variables.


You need to change the value of Man-notify-method. You can do this through M-x customize-group RET man RET The possible values are (mentioned here as the customize page doesn't have them):

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

Have a look at the man.el source code to see for yourself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜