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: Thu, 03 Apr 2008 16:52:00 -0400 [thread overview]
Message-ID: <jwvabkad5ud.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <47F4F594.50500@gmx.at> (martin rudalics's message of "Thu, 03 Apr 2008 17:19:48 +0200")
>> Right, but in your message you referred to 1 and 2, rather than to
>> window-min-(height|width). As far as I can tell, we're discussing
>> window resizing which is only affected by window-min-(height|width).
>> MIN_SAFE_WINDOW_(HEIGHT|WIDTH) only affect window-min-(height|width), so
>> it only affects resizing in a very indirect manner (e.g. we can scan
>> all windows, reset window-min-(height|width) to valid values and the
>> resize without paying attention to MIN_SAFE_WINDOW_(HEIGHT|WIDTH)).
> shrink_windows is called with a min_size argument of 1 if shrinking
> heights. That's all I can observe.
When I put a breakpoint on shrink_windows, I see it gets called with
a min_size of 4 (and width_p is 0). I.e. it gets called with the value
of window-min-height, just as it should.
>> Yes, but I do use 1-line-high windows, and disallowing them just because
>> we can't be bothered to write the window-resize code in the right way
>> isn't the right answer.
> That's why shrink_windows would have to check for every window whether
> it has a modeline and not resize it if it has one and its actual height
> is 2.
I still do not understand what modelines have to do with it.
Stefan
next prev parent reply other threads:[~2008-04-03 20:52 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
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 [this message]
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=jwvabkad5ud.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.