From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Minimum frame size in Windows Date: Tue, 12 Dec 2006 09:56:39 -0800 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1165946357 3508 80.91.229.10 (12 Dec 2006 17:59:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 17:59:17 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 18:59:15 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuBuE-0004LS-My for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 18:59:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuBuE-0003aO-Cf for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 12:59:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuBsh-0002VK-Oz for emacs-devel@gnu.org; Tue, 12 Dec 2006 12:57:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuBsg-0002UX-UA for emacs-devel@gnu.org; Tue, 12 Dec 2006 12:57:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuBsg-0002U9-I3 for emacs-devel@gnu.org; Tue, 12 Dec 2006 12:57:30 -0500 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuBsf-0003YD-LM for emacs-devel@gnu.org; Tue, 12 Dec 2006 12:57:30 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id kBCHvQBN014272 for ; Tue, 12 Dec 2006 10:57:26 -0700 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kBCHvP8s030008 for ; Tue, 12 Dec 2006 10:57:26 -0700 Original-Received: from dhcp-amer-csvpn-gw2-141-144-73-226.vpn.oracle.com by rcsmt250.oracle.com with ESMTP id 2281722321165946203; Tue, 12 Dec 2006 10:56:43 -0700 Original-To: "Emacs Devel" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63640 Archived-At: > > Perhaps I don't understand correctly, but if this prevents=20 > > users or Lisp code from making frames smaller than the frame=20 > > title, I am 100% against it. >=20 > 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. >=20 > Do you have an use for Emacs frames less than this size? How do you > avoid the caption? Thanks for the explanation.=20 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?=20 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?