elisp - Emacs: pop-up bottom window for temporary buffers -


i have pop-up bottom window temporary buffers compilation, completions, etc. should split-vertically whole frame if root window split horizontally. example: before m-x compile:

+------+------+ |      |      | |      |      | |      |      | +------+------+

after:

+------+------+ |      |      | +------+------+ |             | +------+------+

i'm absolutely satisfied ecb-compilation-window, don't want use ecb , cedet. see 2 ways make described behavior both have drawbacks.

drawback: uses delete-other-windows function , rebuilds previous windows tree after root window split required. invalidates references existed earlier windows in code(or code of module).

  • set window-min-height variable minimal possible value(1) , call split-window-vertically during emacs startup minimizing window height after it's created. use window temporary buffers setting height required.

drawbacks: small annoying window annoying modeline on bottom of frame, doesn't work emacs --daemon.

are there more elegant ways without drawbacks?

use popwin !

it behaves describe out of box, , configuration easy, took 1 line buffers pop-up @ bottom of screen :

(push '("\*anything*" :regexp t :height 20) popwin:special-display-config)

there more detailed config examples floating around japanese blogs, google it.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -