roman / golden-ratio.el

Automatic resizing of Emacs windows to the golden ratio
MIT License
590 stars 38 forks source link

Resizing when creating a new buffer #6

Closed arcanis closed 11 years ago

arcanis commented 11 years ago

I'm not fluent enough with elisp to do it, but it would be nice to resize the windows after creating a buffer, so it does not take 50% of the size

roman commented 11 years ago

golden-ratio.el will always resize a window as long as you are focusing on it, when you create buffers without focusing it makes sense (in my opinion) not to be resized automatically until you focus on it. Are there cases when you are creating a window/selecting it at the same time, and the window is not being resized?

arcanis commented 11 years ago

Actually I mean that currently, when you create a new window, the layout will be 50/50, so it would make sense to call golden-ratio to resize the window layout and give extra space to the current focused window. It's mainly for uniformity I agree that when I create a new window, I focus it just after