From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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: Sat, 26 Nov 2011 16:45:02 +0200 Message-ID: <83sjlb6iz5.fsf@gnu.org> References: <33462449944A4AD488077588779E681E@us.oracle.com> <83y5v58if1.fsf@gnu.org> <0797981120E94694A8751992E871E874@us.oracle.com> <83wrao8w2r.fsf@gnu.org> <838vn483iw.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1322318794 20089 80.91.229.12 (26 Nov 2011 14:46:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2011 14:46:34 +0000 (UTC) Cc: 10127@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 26 15:46:26 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 1RUJWL-0004Z0-Ut for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Nov 2011 15:46:26 +0100 Original-Received: from localhost ([::1]:43759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUJWL-0005df-IN for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Nov 2011 09:46:25 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUJWI-0005ZO-Q4 for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2011 09:46:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUJWG-0001VJ-Tj for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2011 09:46:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUJWG-0001V8-S3 for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2011 09:46:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RUJXv-0003SG-FX for bug-gnu-emacs@gnu.org; Sat, 26 Nov 2011 09:48:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Nov 2011 14:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10127-submit@debbugs.gnu.org id=B10127.132231884213118 (code B ref 10127); Sat, 26 Nov 2011 14:48:03 +0000 Original-Received: (at 10127) by debbugs.gnu.org; 26 Nov 2011 14:47:22 +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 1RUJXF-0003PS-Vd for submit@debbugs.gnu.org; Sat, 26 Nov 2011 09:47:22 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RUJXB-0003Op-UK for 10127@debbugs.gnu.org; Sat, 26 Nov 2011 09:47:18 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LV900400UWMWV00@a-mtaout22.012.net.il> for 10127@debbugs.gnu.org; Sat, 26 Nov 2011 16:45:00 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.100.85]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LV9003IMVMXDAF0@a-mtaout22.012.net.il>; Sat, 26 Nov 2011 16:44:58 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 26 Nov 2011 09:48:03 -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:54332 Archived-At: > From: "Drew Adams" > Cc: <10127@debbugs.gnu.org> > Date: Fri, 25 Nov 2011 11:41:16 -0800 > > I really am delighted that you want to fix this in the best way > possible. My suggestions for fixing it were only that: suggestions. > I have no problem if you ignore them, as I said. My only concern is > that the bug be fixed, not how the fix is implemented. OK, let's give it another try. No matter how you format the various fields of the information displayed by "C-u C-x =", it will eventually happen that the window is not wide enough to display something like this: foo bar: bla-bla-bla yak-yak-yak in a single screen line. When this happens, the current code does the following: . it inserts a newline after the colon . it indents to the column just past the one occupied by the colon . it then inserts the remaining text at that point The result is roughly this: foo bar: bla-bla-bla yak-yak-yak There are several possible ways to change this. One is just displaying the value disregarding the window width, producing a continuation line: foo bar: bla-bla-bla yak-\ yak-yak Another is to force word-wrap in the *Help* buffer, resulting in foo bar: bla-bla-bla \ yak-yak-yak Yet another is do the equivalent of M-q, with this result: foo bar: bla-bla-bla yak-yak-yak There are others, I'm sure. So which one is the best?