From: Stefan Monnier <monnier@iro.umontreal.ca>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-pretest-bug@gnu.org, "Jan D." <jan.h.d@swipnet.se>,
"Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
Michael Kifer <kifer@cs.sunysb.edu>
Subject: Re: 23.0.60; Resizing may delete windows
Date: Fri, 28 Mar 2008 23:48:24 -0400 [thread overview]
Message-ID: <jwvy782p580.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 47EB51BE.5060602@gmx.at
>> 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".
> I don't understand shrink_windows enough to make it less trigger-happy.
> From the code I only understand that a high value of `window-min-height'
> is an invitation to shoot silly windows.
Yes, that's indeed how it works now. But it would be good to change it
a bit. And I agree that it's not easy code.
>> 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).
> This thread started with an example where a window's height was
> explicitly set to a value smaller than the top-level value of that
> threshold. How should Emacs deal with that? How should Emacs deal with
> `gnus-window-min-height' or `emerge-one-line-window'?
Indeed, this is even more tricky, but in my opinion the right behavior
is to enforce window-min-height only when a window is
shrunk explicitly or created. When a window is resized as part of some
other resize (e.g. frame-resize), then the window should only be deleted
if we can't preserve its size.
> In another thread people discuss perspectives a la Eclipse. How should
> Emacs handle one- or two-lines windows in such "perspectives" when
> changing the window configuration? Should perspectives avoid one-line
> windows? Should Emacs be allowed to auto-delete them?
Those windows should have their window-min-height set to some different
value, I guess.
Stefan
next prev parent reply other threads:[~2008-03-29 3:48 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 20:59 23.0.60; Resizing may delete windows Lennart Borgman (gmail)
2008-03-25 16:27 ` martin rudalics
2008-03-25 17:21 ` Lennart Borgman (gmail)
2008-03-25 18:57 ` martin rudalics
2008-03-25 20:11 ` Lennart Borgman (gmail)
2008-03-25 22:10 ` martin rudalics
2008-03-25 22:54 ` Lennart Borgman (gmail)
2008-03-26 6:34 ` Michael Kifer
2008-03-26 7:48 ` martin rudalics
2008-03-26 9:38 ` Lennart Borgman (gmail)
2008-03-26 13:53 ` Michael Kifer
2008-03-26 20:52 ` Stefan Monnier
2008-03-26 18:53 ` Michael Kifer
2008-03-27 0:02 ` Lennart Borgman (gmail)
2008-03-27 2:23 ` Michael Kifer
2008-03-27 2:17 ` Stefan Monnier
2008-03-26 14:12 ` Dedicated windows (was: 23.0.60; Resizing may delete windows) Stefan Monnier
2008-03-26 7:38 ` 23.0.60; Resizing may delete windows martin rudalics
2008-03-26 9:32 ` Lennart Borgman (gmail)
2008-03-26 22:26 ` Richard Stallman
2008-03-27 7:48 ` martin rudalics
2008-03-26 1:55 ` Stefan Monnier
2008-03-26 7:40 ` martin rudalics
2008-03-26 14:25 ` Stefan Monnier
2008-03-26 17:11 ` martin rudalics
2008-03-26 20:54 ` Stefan Monnier
2008-03-26 22:30 ` martin rudalics
2008-03-27 2:22 ` Stefan Monnier
2008-03-27 7:50 ` martin rudalics
2008-03-29 3:48 ` Stefan Monnier [this message]
2008-04-02 8:43 ` martin rudalics
2008-04-02 14:52 ` Stefan Monnier
2008-04-02 17:04 ` martin rudalics
2008-04-03 13:56 ` Stefan Monnier
2008-04-03 14:43 ` martin rudalics
2008-04-03 15:03 ` Stefan Monnier
2008-04-03 15:19 ` martin rudalics
2008-04-03 20:52 ` Stefan Monnier
2008-04-03 21:47 ` martin rudalics
2008-04-03 22:16 ` Stefan Monnier
2008-04-04 6:55 ` martin rudalics
2008-04-04 14:02 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2008-04-20 12:23 martin rudalics
2008-04-20 19:29 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvy782p580.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-pretest-bug@gnu.org \
--cc=jan.h.d@swipnet.se \
--cc=kifer@cs.sunysb.edu \
--cc=lennart.borgman@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.