GNU bug report logs - #51821
29.0.50; Suggest add variable or frame parameter: line-height

Previous Next

Package: emacs;

Reported by: "Feng Shu" <tumashu <at> 163.com>

Date: Sat, 13 Nov 2021 23:30:03 UTC

Severity: wishlist

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: tumashu <at> 163.com, 51821 <at> debbugs.gnu.org
Subject: bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height
Date: Sun, 14 Nov 2021 09:23:44 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: tumashu <at> 163.com,  51821 <at> debbugs.gnu.org
> Date: Sun, 14 Nov 2021 08:01:36 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> Sounds good to me.  Perhaps call it min{imum,}-line-height, though.
> >
> > IMO it should be line-height, for similarity with line-spacing.
> 
> But line-spacing is an absolute value, while this isn't an absolute
> line-height.  If there's something that's taller than line-height, the
> line won't be truncated to that value.
> 
> So it's the minimum line height.

How is this different from the line-height text property?

I think it will be confusing and harder to remember to have
line-spacing both as a variable and a text property, but line-height
only as a text property with a variable named differently.




This bug report was last modified 3 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.