bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9084: 24.0.50; displaying man pages splits the window and formats th


From: Drew Adams
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
Date: Thu, 21 Jul 2011 05:53:52 -0700

 

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden 
> On Behalf Of martin rudalics
> Sent: Wednesday, July 20, 2011 10:37 AM
> To: Juri Linkov
> Cc: address@hidden
> 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
> 
> 
> 
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]