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: MS Windows Frame Maximize in .emacs (again) Date: Thu, 09 Jun 2005 10:23:58 +0200 Message-ID: <403fc914043db7.4043db7403fc91@net.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1118310491 19781 80.91.229.2 (9 Jun 2005 09:48:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2005 09:48:11 +0000 (UTC) Cc: David Abrahams , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 11:47:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DgJAz-0002e4-4U for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2005 11:19:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgJHW-0001JN-HU for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2005 05:24:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DgIQb-0008NF-W8 for emacs-devel@gnu.org; Thu, 09 Jun 2005 04:30:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DgIQS-0008J2-L8 for emacs-devel@gnu.org; Thu, 09 Jun 2005 04:30:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgIQO-0008CJ-Eq for emacs-devel@gnu.org; Thu, 09 Jun 2005 04:30:05 -0400 Original-Received: from [130.235.208.46] (helo=piraten.student.lu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DgIKc-0002PZ-BT for emacs-devel@gnu.org; Thu, 09 Jun 2005 04:24:06 -0400 Original-Received: from net.lu.se (localhost [127.0.0.1]) by piraten.student.lu.se (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0IHT00KO15ZY67@piraten.student.lu.se> for emacs-devel@gnu.org; Thu, 09 Jun 2005 10:23:58 +0200 (MEST) Original-Received: from [212.209.42.132] by piraten.student.lu.se (mshttpd); Thu, 09 Jun 2005 10:23:58 +0200 Original-To: jasonr@f2s.com X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.14 (built Mar 18 2003) Content-language: sv Content-disposition: inline X-Accept-Language: sv Priority: normal 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:38409 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38409 From: jasonr@f2s.com > > I think the changes below should make maximized frames behave > better on > > w32. They try to prevent changing the size of a frame that is > maximized.> > > This change remove the bug that a maximized frame does not fit > the whole > > screen. It also removes the bug that a maximezed frame can be moved. > > The "bug" used to be there because Emacs required an integer > number of lines on > the screen. Now that Emacs handles different sized fonts, this > restriction may > not be needed anymore, in which case we should remove it > completely on all > platforms, not just for maximized frames on Windows. But I am not > convincedthat scrolling code and other code that works with > "pages" has been adapted to > work with non inteeger numbers of lines measured in the default > font yet. I see, that is what I thought. But changing the size of a maximized window on w32 confuses the w32 window handler a bit I guess. It would be good to avoid this.