--- Begin Message ---
Subject: |
A slightly less aggressive fit-window-to-buffer |
Date: |
Wed, 9 Jun 2010 20:56:51 +0200 |
I believe fit-window-to-buffer has become a bit upset and unnecessary
aggressive because of visual lines. It looks like it need a bit more
feedback from the display system to be really sure that the buffer is
entirely visible.
The attached patch is something I have used to get around the problem.
I am not sure it is the right thing but I am rather sure it does not
hurt.
Too see the problem it tries to fix just call the function with a
buffer larger than window and point below the window bottom (you have
to write a bit elisp code for that).
Of course we need a non-killing version of fit-window-to-buffer, but
for the moment this patch might be useful.
windows-less-aggressive-fit-1.diff
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: A slightly less aggressive fit-window-to-buffer |
Date: |
Tue, 11 Oct 2011 11:31:01 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
> Of course we need a non-killing version of fit-window-to-buffer, but
> for the moment this patch might be useful.
`fit-window-to-buffer' doesn't kill windows any more so this issue
should have been resolved.
martin
--- End Message ---