emacs-devel
[Top][All Lists]
Advanced

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

Re: resizing frames and windows


From: Chong Yidong
Subject: Re: resizing frames and windows
Date: Tue, 29 Apr 2008 12:11:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

I forgot that you asked to do the following tasks, so here they are.
With the patched Emacs:

> (1) Maximize a frame, create some minimal windows (one-line,
>     two-columns) in it, and demaximize the frame.  Are all windows
>     preserved?

Yes.  The one-line window in particular still exists.

> (2) Same as (1) but try to create a no-way-out configuration where
>     demaximizing the frame cannot avoid deleting some window(s) - for
>     example, because you have two side-by-side windows and the
>     demaximized frame can accomodate at most one such window.  Does
>     resizing behave reasonably?

While maximized, I split the window vertically until the frame consists
entirely of two-line windows.  Upon unmaximizing, the windows that can't
fit are deleted.  Seems OK.

> (3) Save the window-configurations of (1) and (2) in a maximized frame,
>     demaximize the frame, change the layout arbitrarily, and set the
>     window configuration to the saved one.  Does the resulting
>     configuration appear reasonable?

This seems to work fine.

> (4) Split some window vertically, and repeatedly apply
>     `my-enlarge-window'.  Is the other window deleted when its height
>     drops below `window-min-height'?  Does it for other (possibly
>     invalid) values of `window-min-height'?

The other window is deleted, for several valid values of
window-min-height I tested.  A window-min-height of -1 seems the same as
1, which is OK.

> (5) Split some window horizontally, and repeatedly apply
>     `my-enlarge-window-horizontally'.  Is the other window deleted when
>     its width drops below `window-min-width'?  Does it for other
>     (possibly invalid) values of `window-min-width'?

Same as above.

> (6) Create a one-line window at the bottom of the frame and try to
>     resize the minibuffer.  Is the one-line window's modeline retained?

Yes.  Works fine.

> (7) After all these tests: Does customizing `window-min-height' and
>     `window-min-width' work as expected?

No problems here.

Thanks for working on this.




reply via email to

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