GNU bug report logs - #37563
27.0.50; fit-frame-to-buffer does not account for line-spacing

Previous Next

Package: emacs;

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


Message #41 received at 37563 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Ingo Lohmar <ingo.lohmar <at> posteo.net>
Cc: 37563 <at> debbugs.gnu.org
Subject: Re: bug#37563: 27.0.50; fit-frame-to-buffer does not account for
 line-spacing
Date: Thu, 3 Oct 2019 20:10:37 +0200
> 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




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.