From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#7822: 24.0.50; `fit-window-to-buffer': take display artefacts into account Date: Tue, 11 Jan 2011 19:16:46 -0800 Message-ID: References: <7A4D04DE08AE47B8B59F98C7D0215CAD@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294802719 8514 80.91.229.12 (12 Jan 2011 03:25:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Jan 2011 03:25:19 +0000 (UTC) Cc: 7822@debbugs.gnu.org To: "'Lennart Borgman'" , "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 12 04:25:15 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcrKi-0000P2-Ju for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jan 2011 04:25:12 +0100 Original-Received: from localhost ([127.0.0.1]:49474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcrKi-0000UA-2g for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jan 2011 22:25:12 -0500 Original-Received: from [140.186.70.92] (port=60192 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcrJm-00005z-4C for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 22:24:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcrJl-0001JO-6J for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 22:24:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcrJl-0001JK-15 for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2011 22:24:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pcr63-0006Zh-Eu; Tue, 11 Jan 2011 22:10:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jan 2011 03:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7822 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7822-submit@debbugs.gnu.org id=B7822.129480180225269 (code B ref 7822); Wed, 12 Jan 2011 03:10:03 +0000 Original-Received: (at 7822) by debbugs.gnu.org; 12 Jan 2011 03:10:02 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pcr61-0006ZW-I4 for submit@debbugs.gnu.org; Tue, 11 Jan 2011 22:10:01 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pcr5z-0006ZE-Fc for 7822@debbugs.gnu.org; Tue, 11 Jan 2011 22:10:00 -0500 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p0C3HQfS014196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 12 Jan 2011 03:17:27 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p0BKwBlh001490; Wed, 12 Jan 2011 03:17:25 GMT Original-Received: from abhmt001.oracle.com by acsmt353.oracle.com with ESMTP id 917722301294802209; Tue, 11 Jan 2011 19:16:49 -0800 Original-Received: from dradamslap1 (/10.159.223.199) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 11 Jan 2011 19:16:48 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acux/oyq2c1l4BU3Q3CmlZGTmkjYZAACD+uw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 11 Jan 2011 22:10:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43274 Archived-At: > Try first to adjust window below and if that is not enough window > above. I looked only at the doc string. Whatever we do for `fit-window-to-buffer', it should _not_ take any other windows into account or have any effect on any other windows. This is only about fitting a window to its buffer as displayed. Whatever effects that might have on other windows are derivative, and not to be taken into account in this function. It sounds like you are doing something different from what this bug is about.