GNU bug report logs - #6385
A slightly less aggressive fit-window-to-buffer

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Wed, 9 Jun 2010 19:05:02 UTC

Severity: wishlist

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 6385 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 6385 <at> debbugs.gnu.org, 'Lennart Borgman' <lennart.borgman <at> gmail.com>
Subject: Re: bug#6385: A slightly less aggressive fit-window-to-buffer
Date: Sun, 13 Jun 2010 16:34:17 +0200
> There doesn't seem to be a problem before Emacs 23. Maybe there is a problem,
> theoretically, but I haven't encountered one. What about returning to the pre-23
> code?

Please post a recipe for reproducing the problem.  I never had any
problem with this in practice so I can't tell.

> What are your thoughts about let-binding `min-window-height'? What are the cases
> where that won't fix the problem?

Let-binding `window-min-height' (I suppose that's the variable you mean)
can be used to make a window less than `window-min-height' high.  Doing
this can eventually cause the deletion of that window after the binding
has been exited.  This is not a speciality of `fit-window-to-buffer' but
a consequence of the fact that Emacs can delete windows that are smaller
than `window-min-height' high.

martin




This bug report was last modified 13 years and 284 days ago.

Previous Next


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