GNU bug report logs -
#43506
26.1; line-height sometimes has no effect on the line height
Previous Next
Reported by: Markus Triska <triska <at> metalevel.at>
Date: Sat, 19 Sep 2020 07:22:01 UTC
Severity: normal
Tags: notabug
Found in version 26.1
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 43506 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> The value t is not a valid value for the line-height property. So you
> are invoking "unspecified behavior" here by using it.
This is very surprising to read, because the documentation itself states:
If the property value is ‘t’, the newline character has no effect on
the displayed height of the line—the visible contents alone determine
the height.
Is it indeed true that t is not a valid value for the line-height property?
In one of my applications, I am using the t property to ensure that
adding a newline does not increase the line height in any way, and I
would prefer if this behaviour is retained also in future Emacs versions.
> The limitations are documented; what happens when you use invalid
> values isn't (and doesn't have to be).
What is documented seems to contradict what I observe, and also what the
documentation itself states in other places.
All the best,
Markus
This bug report was last modified 177 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.