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#10127: 24.0.91; wrong window width calc for `C-u C-x =' when *Help* in separate frame Date: Thu, 24 Nov 2011 10:29:44 -0800 Message-ID: <33462449944A4AD488077588779E681E@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 1322159443 25200 80.91.229.12 (24 Nov 2011 18:30:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2011 18:30:43 +0000 (UTC) To: 10127@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 24 19:30:39 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RTe4C-0006x0-Vf for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2011 19:30:37 +0100 Original-Received: from localhost ([::1]:58067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTe4C-0003xr-AL for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2011 13:30:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTe47-0003vz-3X for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 13:30:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTe45-0006KW-Vd for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 13:30:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTe45-0006KQ-Pk for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 13:30:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RTe5Z-0004vS-UI for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 13:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2011 18:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.132215949118873 (code B ref -1); Thu, 24 Nov 2011 18:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Nov 2011 18:31:31 +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 1RTe55-0004uM-06 for submit@debbugs.gnu.org; Thu, 24 Nov 2011 13:31:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RTe52-0004uD-PU for submit@debbugs.gnu.org; Thu, 24 Nov 2011 13:31:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTe3X-0006AT-4d for submit@debbugs.gnu.org; Thu, 24 Nov 2011 13:29:56 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:34368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTe3X-0006AP-2k for submit@debbugs.gnu.org; Thu, 24 Nov 2011 13:29:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTe3V-0003T6-UH for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 13:29:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTe3U-0006A5-St for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 13:29:53 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:26113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTe3U-00069k-O1 for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 13:29:52 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pAOITmXQ028486 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 24 Nov 2011 18:29:49 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pAOITlTT010465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 24 Nov 2011 18:29:48 GMT Original-Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pAOITgNx029593 for ; Thu, 24 Nov 2011 12:29:42 -0600 Original-Received: from dradamslap1 (/10.159.44.13) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 24 Nov 2011 10:29:42 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acyq1wnlja3t+Fe9QFOqQXxj5w+mrA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090205.4ECE8D1D.00DD,ss=1,re=0.594,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 24 Nov 2011 13:32:01 -0500 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:54265 Archived-At: In `describe-char', the max width of the displayed output is calculated based on the width of the current window. This makes zero sense, especially when *Help* is displayed in a separate frame, and that case includes but is not limited to the case where *Help* is a special-display buffer. To see this, make *Help* a special-display buffer, then, in some other frame and buffer, do `C-u C-x ='. Make that frame narrower and do it again. Repeat. At some point of sufficient narrowness, you will see this kind of (bizarre) formatting: character: c (99, #o143, #x63) preferred charset: ascii (ASCII (ISO646 IRV)) code point: 0x63 syntax: w which means: word category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman buffer code: #x63 file code: #x63 (encoded by coding system undecided-unix) display: by this font (glyph code) uniscribe:-outline-Lucida Console-normal-normal-normal-mono-14-*-*-*-c-*-iso8859-1 (#x46) ... Note the unnecessary newlines after `character:', `syntax:', and `category:'. This is uncalled for. There is no reason to base the display output width on the window width of the current buffer - no relation. That is so even in the case where the same frame is used. Please revert this annoying and unnecessary cleverness. In GNU Emacs 24.0.91.1 (i386-mingw-nt5.1.2600) of 2011-11-21 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags -LD:/devel/emacs/libs/gnutls-2.10.1/lib'