From: martin rudalics <rudalics@gmx.at>
To: Stefan Monnier <monnier@iro.umontreal.ca>
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: Wed, 02 Apr 2008 19:04:24 +0200 [thread overview]
Message-ID: <47F3BC98.7060707@gmx.at> (raw)
In-Reply-To: <jwv7ifg72x5.fsf-monnier+emacs@gnu.org>
>>I suppose that `shrink_windows' simply has to take into account the
>>presence of modelines when checking the min_size of windows. That's
>>quite tedious to do - I have to alloc a second vector to store the
>>minimum sizes of all involved windows.
>
> I can't think of any reason why the modelines would matter.
FWIW, because shrink_windows and the rest of window.c have different
conceptions of what min_size is: shrink_windows considers a window of
height 2 as resizable to 1 (because min_size equals 1). All other
functions either delete a window of height 1 or don't allow to resize it
to 1 if the window wants a modeline.
> Just, when
> rearranging windows because of a change somewhere (frame size or
> other-window size), try hard not to shrink a window (i.e. prefer
> shrinking another window) if that shrinkage would cause it to
> be deleted.
That's what I meant - I have to teach shrink_windows not to ask for
resizing windows of height 2.
next prev parent reply other threads:[~2008-04-02 17:04 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
2008-04-02 8:43 ` martin rudalics
2008-04-02 14:52 ` Stefan Monnier
2008-04-02 17:04 ` martin rudalics [this message]
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=47F3BC98.7060707@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-pretest-bug@gnu.org \
--cc=jan.h.d@swipnet.se \
--cc=kifer@cs.sunysb.edu \
--cc=lennart.borgman@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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.