all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Thu, 03 Apr 2008 16:43:40 +0200	[thread overview]
Message-ID: <47F4ED1C.5010905@gmx.at> (raw)
In-Reply-To: <jwvk5jf59fo.fsf-monnier+emacs@gnu.org>

 > I'm not sure I understand what you mean: window-min-(height|width) is
 > a variable.  Where do you get your constants from?

The only constants in this context are MIN_SAFE_WINDOW_(HEIGHT|WIDTH).
window-min-(height|width) are variables the user can try to set.  If
they are less than MIN_SAFE_WINDOW_(HEIGHT|WIDTH) check_min_window_sizes
will reset them.  And, in window_min_size_2 I check them again to not
produce a new height or width that would omit the modeline or
scroll-bars if these shall be shown.

BTW, since I've been just looking at window.c from XEmacs.  They have

/* The smallest acceptable dimensions for a window.  Anything smaller
    might crash Emacs.  */
#define MIN_SAFE_WINDOW_WIDTH  (2)
#define MIN_SAFE_WINDOW_HEIGHT (2)

which, by virtue of brute force, would eliminate our problems as well.





  reply	other threads:[~2008-04-03 14:43 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 [this message]
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=47F4ED1C.5010905@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.