GNU bug report logs -
#17831
24.4.50; bad default value for `Man-width'
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Sun, 22 Jun 2014 13:32:02 UTC
Severity: normal
Merged with 2588,
9084
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
> As a general solution for such cases it seems the proper order is
> to display an empty buffer first, and then fill it with the contents.
Obviously there are two way to tackle this:
Fill the buffer in some way and try to display it in a window with
suitable size. That's what we've done so far and it fails typically
because it looks at the width of the selected window in order to do the
filling but displays the buffer in a window with different width. The
first to report this problem was Lennart when filing bug#6000 more than
four years ago.
To fix this we could either use some sort of maximimum width (for me
more than 80 columns are not very readable anyway) and propose an
adequate display buffer action or implement simple heuristics to detect
how large the window used by `display-buffer' would be and fill the
buffer in some adequate manner.
Alternatively, we could display the buffer first, look at what size we
get, fill the buffer, and possibly resize the window afterwards. For
`with-temp-buffer-window' this means that we would have to fill the
buffer either via `temp-buffer-window-show-hook' or in QUIT-FUNCTION.
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.