all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Wed, 02 Apr 2008 10:52:16 -0400	[thread overview]
Message-ID: <jwv7ifg72x5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <47F34748.1020604@gmx.at> (martin rudalics's message of "Wed, 02 Apr 2008 10:43:52 +0200")

>>> 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.
> 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.  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.

> Agreed if "if we can't preserve its size" is read as "if we cannot
> establish the new frame-size by other means".

That's right.


        Stefan




  reply	other threads:[~2008-04-02 14: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 [this message]
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=jwv7ifg72x5.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.