GNU bug report logs - #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

Previous Next

Package: emacs;

Reported by: lee <lee <at> yun.yagibdah.de>

Date: Thu, 14 Jul 2011 21:08:02 UTC

Severity: normal

Merged with 2588, 17831

Found in version 24.0.50

Fixed in version 24.4.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 9084 <at> debbugs.gnu.org
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
> 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?




This bug report was last modified 10 years and 324 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.