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: Mon, 10 Jan 2011 16:21:26 -0800 Message-ID: <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 1294705804 12566 80.91.229.12 (11 Jan 2011 00:30:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2011 00:30:04 +0000 (UTC) To: 7822@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 11 01:30:00 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 1PcS7b-0006q5-Gl for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jan 2011 01:29:59 +0100 Original-Received: from localhost ([127.0.0.1]:33484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcS25-00042E-Dn for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Jan 2011 19:24:17 -0500 Original-Received: from [140.186.70.92] (port=39265 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcS1y-0003zI-5I for bug-gnu-emacs@gnu.org; Mon, 10 Jan 2011 19:24:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcS1x-0001vQ-28 for bug-gnu-emacs@gnu.org; Mon, 10 Jan 2011 19:24:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcS1w-0001vM-TF for bug-gnu-emacs@gnu.org; Mon, 10 Jan 2011 19:24:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PcRt8-0000Bg-DU; Mon, 10 Jan 2011 19:15:02 -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: Tue, 11 Jan 2011 00:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7822 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.1294704870653 (code B ref -1); Tue, 11 Jan 2011 00:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jan 2011 00:14:30 +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 1PcRsc-0000AU-1x for submit@debbugs.gnu.org; Mon, 10 Jan 2011 19:14:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PcRsZ-0000AI-J8 for submit@debbugs.gnu.org; Mon, 10 Jan 2011 19:14:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcRzl-0001hf-4E for submit@debbugs.gnu.org; Mon, 10 Jan 2011 19:21:53 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:55144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcRzl-0001ha-0w for submit@debbugs.gnu.org; Mon, 10 Jan 2011 19:21:53 -0500 Original-Received: from [140.186.70.92] (port=38919 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcRzk-0003G5-04 for bug-gnu-emacs@gnu.org; Mon, 10 Jan 2011 19:21:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcRzi-0001hN-Ly for bug-gnu-emacs@gnu.org; Mon, 10 Jan 2011 19:21:51 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:56905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcRzi-0001hJ-Ai for bug-gnu-emacs@gnu.org; Mon, 10 Jan 2011 19:21:50 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p0B0Lkhx022704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 Jan 2011 00:21:48 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p0AMgQ6m019199 for ; Tue, 11 Jan 2011 00:21:46 GMT Original-Received: from abhmt004.oracle.com by acsmt354.oracle.com with ESMTP id 947020931294705283; Mon, 10 Jan 2011 16:21:23 -0800 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 10 Jan 2011 16:21:22 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcuxI9CGckkH1BI8S/u3rWkLmVtq9gAAZf8Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 10 Jan 2011 19:15:02 -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:43250 Archived-At: Enhancement request. See emacs-devel thread "`fit-window-to-buffer-as-displayed'?", 2011-01-10: http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00323.html `fit-window-to-buffer' does not take any display artefacts into account, except for visual (screen) lines. The enhancement would be to have it do so. How much it tries to do so should be under programmer control, so that, e.g., one could tell it (e.g. via a new optional parameter) not to take any display stuff into account (i.e., to treat the buffer content as just plain text with a fixed-width font of the current char size). See the emacs-devel thread for more info about this. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-01-03 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include'