unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'martin rudalics'" <rudalics@gmx.at>, "'Juri Linkov'" <juri@jurta.org>
Cc: 9084@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
Date: Thu, 21 Jul 2011 05:53:52 -0700	[thread overview]
Message-ID: <41938B07137048ECBC2C39DF9FF2F7D2@us.oracle.com> (raw)
In-Reply-To: <4E271225.9030704@gmx.at>

 

> -----Original Message-----
> From: bug-gnu-emacs-bounces+drew.adams=oracle.com@gnu.org 
> [mailto:bug-gnu-emacs-bounces+drew.adams=oracle.com@gnu.org] 
> On Behalf Of martin rudalics
> Sent: Wednesday, July 20, 2011 10:37 AM
> To: Juri Linkov
> Cc: 9084@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
> 
> 
> 
> 






  reply	other threads:[~2011-07-21 12:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-14 21:07 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 lee
2011-07-15  0:46 ` Juri Linkov
2011-07-15  7:30   ` martin rudalics
2011-07-16 15:48     ` lee
2011-07-16 23:18       ` Juri Linkov
2011-07-17 13:12         ` 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 " Drew Adams
2011-07-17 14:23         ` 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 " lee
2011-07-17 23:08           ` Juri Linkov
2011-07-18 17:56             ` lee
2011-07-19  0:34               ` Juri Linkov
2011-07-19 17:22                 ` lee
2011-07-20 15:17                   ` Juri Linkov
2011-07-20 17:36                     ` martin rudalics
2011-07-21 12:53                       ` Drew Adams [this message]
2011-07-21 13:05                       ` 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 " Drew Adams
2011-07-21 14:20                       ` 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 " lee
2011-07-21 23:27                       ` Juri Linkov
2011-07-22  6:29                         ` martin rudalics
2011-07-25 11:18                           ` Juri Linkov
2011-07-21 13:12                     ` lee
2011-07-21 23:28                       ` Juri Linkov
2011-07-22  8:44                         ` lee
2011-07-16 23:08     ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41938B07137048ECBC2C39DF9FF2F7D2@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=9084@debbugs.gnu.org \
    --cc=juri@jurta.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).