emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; Resizing may delete windows


From: Stefan Monnier
Subject: Re: 23.0.60; Resizing may delete windows
Date: Wed, 26 Mar 2008 22:22:16 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> But if Emacs can always resist the temptation to delete a window of size 2,
>> surely it can resist the temptation to delete one of size 3 (or more)?

> If Emacs can confuse me surely you can confuse me more.

> When I set `window-min-height' to 3 Emacs is allowed to auto-delete
> windows that are 1 or 2 lines tall.  When I set this to 2 Emacs may
> auto-delete one-line windows only.  Hence, if I want to safely prevent
> auto-deletion I set this to the lowest value that doesn't "lead to
> bizarre displays" namely 2.  Then Emacs will resist any temptations to
> delete my larger-than-one-line windows and I might live happily.  What
> am I missing?

I do not think that window-min-height should mean "do your best to shoot
windows as soon as they're silly enough to fall below this threshold".

As long as the user does not explicitly change the size of this precise
window (but instead resizes the whole frame, for example, or resizes
some other window), Emacs should do its best to avoid making the window
smaller than that threshold (so that it doesn't delete it).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]