From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#9084: 24.0.50; displaying man pages splits the window and formats the text for the full width of the whole frame rather than for the width of the window the text is displayed in, which is only 1/2 the width of the frame Date: Fri, 22 Jul 2011 02:27:22 +0300 Organization: JURTA Message-ID: <87bownm465.fsf@mail.jurta.org> References: <878vs0d10o.fsf@yun.yagibdah.de> <8762n4e5gy.fsf@mail.jurta.org> <4E1FEC9C.2090102@gmx.at> <87aacerzv3.fsf@yun.yagibdah.de> <87tyalilpf.fsf@mail.jurta.org> <87zkkdouje.fsf@yun.yagibdah.de> <87hb6kcx7z.fsf@mail.jurta.org> <87hb6jtqua.fsf@yun.yagibdah.de> <877h7fc7vx.fsf@mail.jurta.org> <87livunq27.fsf@yun.yagibdah.de> <874o2hf0bt.fsf@mail.jurta.org> <4E271225.9030704@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311303675 5703 80.91.229.12 (22 Jul 2011 03:01:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2011 03:01:15 +0000 (UTC) Cc: 9084@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 22 05:01:11 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 1Qk5z9-0002VT-NL for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Jul 2011 05:01:07 +0200 Original-Received: from localhost ([::1]:49442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk5z9-0008Sl-Ca for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 23:01:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk5z6-0008SY-B0 for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2011 23:01:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qk5z5-0003CT-9F for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2011 23:01:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk5z5-0003CP-6m for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2011 23:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qk5z4-0001hN-Kh; Thu, 21 Jul 2011 23:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jul 2011 03:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9084 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9084-submit@debbugs.gnu.org id=B9084.13113036396495 (code B ref 9084); Fri, 22 Jul 2011 03:01:02 +0000 Original-Received: (at 9084) by debbugs.gnu.org; 22 Jul 2011 03:00:39 +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 1Qk5yh-0001gi-9Q for submit@debbugs.gnu.org; Thu, 21 Jul 2011 23:00:39 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qk5yd-0001gQ-TL for 9084@debbugs.gnu.org; Thu, 21 Jul 2011 23:00:36 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 1CFFC6E82E7; Thu, 21 Jul 2011 20:00:17 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id C036C451C2EC; Thu, 21 Jul 2011 20:00:14 -0700 (PDT) In-Reply-To: <4E271225.9030704@gmx.at> (martin rudalics's message of "Wed, 20 Jul 2011 19:36:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 21 Jul 2011 23:01:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:49541 Archived-At: > BTW, is it impossible to use word wrapping for man pages? `man' uses its own word wrapping. Currently I'm testing your window changes. Do you think creating an automated test would help? I tried to run such tests in batch mode. Both `frame-width' and `frame-height' return the value 10. And `window-height' returns 8. After calling `split-window', the function `window-height' returns the value 4. This means that it's possible to create a batch test for splitting windows. But calling `make-frame' from the window test fails with: Test window-tests backtrace: make-terminal-frame(nil) tty-create-frame-with-faces(nil) make-frame() ... Test window-tests condition: (error "Unknown terminal type") How could Ert help testing in interactive mode?