From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Minimum frame size in Windows Date: Tue, 12 Dec 2006 18:14:48 +0100 Message-ID: <457EE388.2000903@student.lu.se> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165943888 26050 80.91.229.10 (12 Dec 2006 17:18:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 17:18:08 +0000 (UTC) Cc: Juanma Barranquero , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 18:18:07 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 1GuBGQ-0005N3-TD for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 18:17:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuBGQ-0007rE-4B for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2006 12:17:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuBDP-0005Ch-NM for emacs-devel@gnu.org; Tue, 12 Dec 2006 12:14:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuBDL-00055U-Gl for emacs-devel@gnu.org; Tue, 12 Dec 2006 12:14:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuBDK-00054W-PW for emacs-devel@gnu.org; Tue, 12 Dec 2006 12:14:46 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuBDK-0001pd-CN for emacs-devel@gnu.org; Tue, 12 Dec 2006 12:14:46 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:63617 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1GuBDI-0003LT-7M; Tue, 12 Dec 2006 18:14:44 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Drew Adams In-Reply-To: X-Antivirus: avast! (VPS 0657-0, 2006-12-12), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1GuBDI-0003LT-7M. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1GuBDI-0003LT-7M 2f7bcc0fe66fa1a588899ccc3b42ff1e 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:63638 Archived-At: Drew Adams wrote: >> There's an old hack in src/w32fns.c to avoid the user resizing an >> Emacs frame below the minimum tracking size (else the user can, for >> example, make a window showing only a fraction of the window caption, >> which looks ugly). >> >> However, the hack is not working. I propose fixing it with the >> following straightforward patch. >> > > 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. > > I am probably against preventing users or Lisp code resizing a frame in _any_ way, especially in C code that cannot easily be overridden in Lisp. Please, hands off my ugly frames ;-). > No, Juanma is only AFAICS trying to avoid making a frame window smaller than the systems limits to window sizes in a simple way when adjusting the size to fit whole characters. Looks ok to me.