From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#11985: 24.1; fit-window-to-buffer does not grab whole frame Date: Thu, 19 Jul 2012 11:32:26 -0500 Message-ID: <20488.13978.807457.302232@lukas.physics.niu.edu> References: <87obnc5l09.fsf@gnu.org> <5007E486.7090202@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342715586 9981 80.91.229.3 (19 Jul 2012 16:33:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2012 16:33:06 +0000 (UTC) Cc: 11985@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 19 18:33:05 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Srtev-00069h-3E for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2012 18:33:01 +0200 Original-Received: from localhost ([::1]:52604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srteu-0006Db-E6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2012 12:33:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srteo-0006DU-Nm for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 12:32:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Srtek-0004Z3-JZ for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 12:32:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srtek-0004YY-Gl for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 12:32:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Srtkk-0000O2-52 for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 12:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Jul 2012 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11985 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11985-submit@debbugs.gnu.org id=B11985.13427159251464 (code B ref 11985); Thu, 19 Jul 2012 16:39:02 +0000 Original-Received: (at 11985) by debbugs.gnu.org; 19 Jul 2012 16:38:45 +0000 Original-Received: from localhost ([127.0.0.1]:50982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrtkQ-0000NX-Sw for submit@debbugs.gnu.org; Thu, 19 Jul 2012 12:38:44 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:52419) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrtkN-0000NO-TV for 11985@debbugs.gnu.org; Thu, 19 Jul 2012 12:38:41 -0400 Original-Received: from lukas.physics.niu.edu ([131.156.85.221]:53224) by fencepost.gnu.org with esmtpa (Exim 4.71) (envelope-from ) id 1SrteN-00071Q-IZ; Thu, 19 Jul 2012 12:32:27 -0400 In-Reply-To: <5007E486.7090202@gmx.at> X-Mailer: VM 8.2 trial under 24.1.1 (x86_64-unknown-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62166 Archived-At: On Thu Jul 19 2012 martin rudalics wrote: > From NEWS: > > *** Window resizing functions. > A new standard function for resizing windows called `window-resize' has > been introduced. This and all other functions for resizing windows no > longer delete any windows when they become too small. This is a bit buried if one simply searches for fit-window-to-buffere. > I'll look into this. If you have any ideas what this function should > _do_ better, please tell me. I got into this when I discovered that with Emacs 24.1 Electric-pop-up-window does not behave anymore as expected. It uses fit-window-to-buffer for possibly grabbing the whole frame. In the context of what Electric-pop-up-window wants to achieve this is a reasonable and documented behavior. Possibly there is more code that relies on the old behavior. But I agree that it is probably cleaner if functions such as Electric-pop-up-window implement this old aspect of fit-window-to-buffer in some other way.