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
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Date: Tue, 24 Jun 2014 08:53:14 -0400
> Cc: 17831 <at> debbugs.gnu.org, Leo Liu <sdl.web <at> gmail.com>
>
> > 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
>
> I'm with you here, but some users disagree (e.g. they want to use their
> 160-column *Cmpletions* window fully).
>
> > Alternatively, we could display the buffer first, look at what size we
> > get, fill the buffer, and possibly resize the window afterwards.
>
> That's what we should aim for, I think.
You are talking about 2 different situations as if they are identical.
But IMO they are very different. "M-x man" runs the text formatter in
the background, while the user is free to change the window
configuration at will. I see no way that we will be able to solve
this reliably.
By contrast, in the *Completions* use case the code that formats the
text runs synchronously, so having in place some protocol that would
allow to query about the dimensions of the window display-buffer
etc. _will_ get, and then immediately use these dimensions to format
the candidate list, is probably all we need. The alternative you
favor is IMO worse: it will momentarily flash incorrect display, which
I think will look un-professional.
Returning to the "M-x man" use case, I think the possibilities
supported via the Man-width option is the best we can do. So any
users that are unhappy should be pointed to that option.
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.