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 #35 received at 6385 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'martin rudalics'" <rudalics <at> gmx.at>
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 05:39:26 -0700
>  > Is there a simple way to prevent deletion of other windows 
>  > when using `fit-window-to-buffer'? So far, I've just been
>  > let-binding `min-window-height' to 1 around the call.
>  > Other suggestions welcome.
> 
> I don't know of a simple way to prevent deletion of windows when using
> `enlarge-window'.  The problems with `fit-window-to-buffer' are just a
> special case of that.

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?

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

Thx.





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.