GNU bug report logs - #14096
24.3; fit-window-to-buffer regression

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sat, 30 Mar 2013 17:23:02 UTC

Severity: normal

Found in version 24.3

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 14096 <at> debbugs.gnu.org
Subject: bug#14096: 24.3; fit-window-to-buffer regression
Date: Sat, 30 Mar 2013 20:29:31 +0100
> On 24.3, fit-window-to-buffer no longer respects window-min-height.
>
> 1. Make two window on a frame with one stacked on top of another
> 2. Make a new buffer in one of the window, type any word
> 3. M-x fit-window-to-buffer
>
> You should see the new buffer shrunk to 1 line while window-min-height
> is 4.

Unfortunately, I also messed up the manual entry.  Anyway, I'm changing
this currently to make the window fit the size of the buffer as it is
displayed and also counting the real size of the mode and the headerline
and a couple of other things.  If you want to fix this yourself, call
(window-min-size) instead of (window-min-size nil nil t).

Thanks for the report, martin




This bug report was last modified 11 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.