GNU bug report logs -
#37563
27.0.50; fit-frame-to-buffer does not account for line-spacing
Previous Next
Reported by: Ingo Lohmar <ingo.lohmar <at> posteo.net>
Date: Mon, 30 Sep 2019 19:34:01 UTC
Severity: normal
Found in version 27.0.50
Done: Ingo Lohmar <ingo.lohmar <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Thu, Oct 03 2019 20:10 (+0200), martin rudalics wrote:
> > 4) *My interpretation* of `frame-resize-pixelwise' is that the default
> > value, nil, has a single intention: To make the frame height an exact
> > multiple of lines (and char width), mainly because of aesthetic reasons.
> > In that case, I suggest we change the doc-string (which has some
> > inaccurate phrasing and is a bit wordy, anyway) to say that it nil will
> > round to a multiple of the default line height (incl line spacing)..
>
> We cannot reliably do that. Suppose a frame has two windows with
> different line heights. Which one would we choose for rounding the
> frame size? 'frame-char-height' is canonical.
>
> martin
Okay, then I truly don't know how to write that succinctly. I suggest
to keep using the char-height (and the `frame-resize-pixelwise'
docstring) for the time being, that is, not change the code in the last
part of the function.
Personally, I will simple set `frame-resize-pixelwise' to t.
This bug report was last modified 5 years and 220 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.