From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: bug in frame-width Date: Thu, 12 Aug 2004 17:38:51 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <20040812213851.GA15766@fencepost> References: <200408100259.i7A2xiF19311@raven.dms.auburn.edu> <200408120151.i7C1poG03775@raven.dms.auburn.edu> <10042CCA-EC33-11D8-99A2-000D93505B76@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092346778 20120 80.91.224.253 (12 Aug 2004 21:39:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Aug 2004 21:39:38 +0000 (UTC) Cc: "Jan D." , emacs-devel Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 12 23:39:32 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BvNIK-0000DS-00 for ; Thu, 12 Aug 2004 23:39:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BvNMF-0005Nx-GH for ged-emacs-devel@m.gmane.org; Thu, 12 Aug 2004 17:43:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BvNM4-0005NG-SR for emacs-devel@gnu.org; Thu, 12 Aug 2004 17:43:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BvNM4-0005Mo-19 for emacs-devel@gnu.org; Thu, 12 Aug 2004 17:43:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BvNM3-0005Ml-UO for emacs-devel@gnu.org; Thu, 12 Aug 2004 17:43:23 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BvNHf-0006s6-Qh for emacs-devel@gnu.org; Thu, 12 Aug 2004 17:38:51 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BvNHf-0007Fk-0z; Thu, 12 Aug 2004 17:38:51 -0400 Original-To: Stefan Monnier Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26258 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26258 On Thu, Aug 12, 2004 at 11:36:10AM -0400, Stefan Monnier wrote: > >> The general rule of thumb in X11 is that an application should only change > >> its window's position and size if the user explicitly asks for it. > > I would not say that it is a rule of thumb. > > True, it's more of a convention about what a good UI should do. The term "good UI" is so vague as to be meaningless -- there are many different sorts of UIs, each of which has its particular constraints; xterm is very different from say, a typical icon-laden file-browser window. It's probably reasonable to say "don't resize the window without a good reason" though. In xterm's case, there _is_ a very good reason, and emacs is arguably enough like xterm in this respect that it should follow in many cases. The key thing about xterm (and perhaps emacs) is that the number of colums is usually important, and should remain constant when the fontsize changes, and regardless of decorations being added to the sides. In emacs's case, it could be said that the number of _rows_ is less important, but I suppose it's probably too confusing to have different rules for X and Y dimensions. [Yeah I know, there are people like you who use 500-column wide emacs windows, and probably don't care about the numberm of columns remaining constant -- but I'd say that's a vanishingly small proportion of the user-base; most people seem to use 80 column windows.] I perfectly agree that the resizing the frame is quite ugly and annoying in some cases, but regardless, it's important that certain constraints like number of columns are maintained. -Miles -- o The existentialist, not having a pillow, goes everywhere with the book by Sullivan, _I am going to spit on your graves_.