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


Message #47 received at 9084 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'martin rudalics'" <rudalics <at> gmx.at>, "'Juri Linkov'" <juri <at> jurta.org>
Cc: 9084 <at> debbugs.gnu.org
Subject: RE: bug#9084: 24.0.50;
	displaying man pages splits the window and formats the text
	forthe	full width of the whole frame rather than for the width
	ofthe	window the text is displayed in, which is only 1/2
	thewidth of	the frame
Date: Thu, 21 Jul 2011 05:53:52 -0700
 

> -----Original Message-----
> From: bug-gnu-emacs-bounces+drew.adams=oracle.com <at> gnu.org 
> [mailto:bug-gnu-emacs-bounces+drew.adams=oracle.com <at> gnu.org] 
> On Behalf Of martin rudalics
> Sent: Wednesday, July 20, 2011 10:37 AM
> To: Juri Linkov
> Cc: 9084 <at> debbugs.gnu.org
> Subject: bug#9084: 24.0.50;displaying man pages splits the 
> window and formats the text forthe full width of the whole 
> frame rather than for the width ofthe window the text is 
> displayed in, which is only 1/2 thewidth of the frame
> 
>  >> Hm, sounds good to me.  Is there some more info about 
> this available?
>  >> Will this be implemented?
>  >
>  > I hope Martin could answer your questions whether in the new design
>  > is possible to achieve this by using window nests and splits.
> 
> `display-buffer' allows to specify (1) the minimum 
> height/width for the
> popped-up window (the window is not created if this can't be 
> done), and
> (2) a desired height/width of the window after it has been 
> created.  If
> this fails, the size of the popped-up window remains 
> unchanged after the
> split.
> 
> For (2) you can either specify the desired size explicitly or call a
> function like `fit-window-to-buffer' to adjust the size.  I 
> just noticed
> that the latter is broken because I call the function with the old
> buffer (that is the one from the split window) instead of the new one.
> I'll fix that tomorrow.
> 
> I don't know a function to fit the width of a window to the 
> maximum line
> length of the buffer it shows, but writing such a function should be
> easy provided we have a function that tells us the maximum 
> column within
> a buffer.  BTW, is it impossible to use word wrapping for man pages?
> 
> martin
> 
> 
> 
> 





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.