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

From: martin rudalics <rudalics <at> gmx.at>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 6385 <at> debbugs.gnu.org
Subject: Re: bug#6385: A slightly less aggressive fit-window-to-buffer
Date: Sat, 12 Jun 2010 16:16:25 +0200
>> Deleting other windows when resizing was a misguided feature.  I don't
>> do that any more for quite some time and didn't miss it yet ;-)
>
> Did you rewrite fit-window-to-buffer or do you have another function for this?

I wrote my own windows resizing functions mostly in Elisp.

> Yes, but what it handled was that it prevented a window to grow over
> the buffers size.

If your concern is that enlarging the window of a temporary buffer can
delete other windows then doing what you propose would handle just a few
cases.

> But I do not know why the window grow bigger than the buffer.

The while loop at the end of `fit-window-to-buffer' is not sane.  Here I
still have it wrapped in a `condition-case' because in some pathological
cases it can throw an error.

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.