From: Chong Yidong <cyd@stupidchicken.com>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: resizing frames and windows
Date: Tue, 29 Apr 2008 12:11:14 -0400 [thread overview]
Message-ID: <87skx44p5p.fsf@stupidchicken.com> (raw)
In-Reply-To: <4815E5D1.7000709@gmx.at> (martin rudalics's message of "Mon, 28 Apr 2008 16:57:21 +0200")
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.
prev parent reply other threads:[~2008-04-29 16:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-28 14:57 resizing frames and windows martin rudalics
2008-04-29 14:30 ` Chong Yidong
2008-04-29 14:56 ` martin rudalics
2008-04-29 15:52 ` Chong Yidong
2008-04-29 16:10 ` martin rudalics
2008-04-29 16:11 ` Chong Yidong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87skx44p5p.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).