all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Minimum frame size in Windows
Date: Tue, 12 Dec 2006 09:56:39 -0800	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMIEHACNAA.drew.adams@oracle.com> (raw)
In-Reply-To: <f7ccd24b0612120922r6014532cj2e4390a8b4d99b74@mail.gmail.com>

> > Perhaps I don't understand correctly, but if this prevents 
> > users or Lisp code from making frames smaller than the frame 
> > title, I am 100% against it.
> 
> On Windows, there's a(n overridable) system limit for how small a
> window can be. Currently Emacs half-supports it: you can not do a
> window arbitrarily small by resizing it, but you can do it as wide as
> the system limit, and (I think) as hight as a line in the default
> font, which often is less than the window caption (see the attached
> image). That's why I'm trying to avoid.
> 
> Do you have an use for Emacs frames less than this size? How do you
> avoid the caption?

Thanks for the explanation. 

You initially spoke of limiting the "size" to the "window caption" (frame title, I guess). I thought you meant width too. Please do not impose a width limit, especially one that depends on the width of the current frame title. That's the main objection I had.

I think now that you're speaking only of imposing a frame height limit, not a width limit. I guess you're saying that a width limit is already imposed by the system, and that is roughly the width of the icons used in the title bar, plus maybe two title characters (at least that's what I see in your image). Is that correct? Do you just want to limit the height, not the width? If so, what is the height limit that you want to impose - one frame-char height? Why? 

I still don't understand the problem you are trying to fix. You mention only ugliness. That's not a good reason to impose a size limitation, IMO. Someone might have a reason to shrink a frame to a tiny size, perhaps in a way that is unrelated to character size. And people who don't want to shrink to such a tiny size just won't do it. What does it hurt to allow this? What is the real need for such a change? Did you run into a problem and somehow ended up with a frame like the one you sent an image of? Please describe the real problem.

If it aint broke don't fix it, please. (Or, as someone here is wont to say, "No one has ever complained about that before" ;-).)

I have code that resizes frames, and it lets users set their own minimum frame dimensions. I would not like Emacs to impose some hard-coded minimum. If a given OS or window manager imposes a minimum, so be it, but why make Emacs impose a minimum also?

  reply	other threads:[~2006-12-12 17:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-12 16:36 Minimum frame size in Windows Juanma Barranquero
2006-12-12 16:42 ` Drew Adams
2006-12-12 17:14   ` Lennart Borgman
2006-12-12 17:22   ` Juanma Barranquero
2006-12-12 17:56     ` Drew Adams [this message]
2006-12-12 19:39       ` Juanma Barranquero
2006-12-12 21:37         ` Drew Adams
2006-12-12 21:54           ` Juanma Barranquero
2006-12-12 22:14           ` Juanma Barranquero
2006-12-12 22:26             ` Drew Adams
2006-12-12 22:34               ` Juanma Barranquero

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=EIENLHALHGIMHGDOLMIMIEHACNAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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.