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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: luangruo <at> yahoo.com, tumashu <at> 163.com, 51821 <at> debbugs.gnu.org
Subject: Re: bug#51821: 29.0.50; Suggest add variable or frame parameter:
 line-height
Date: Sun, 21 Nov 2021 10:32:59 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: tumashu <at> 163.com,  luangruo <at> yahoo.com,  51821 <at> debbugs.gnu.org
> Date: Sun, 21 Nov 2021 09:21:25 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> If we're going to be scaling stuff, it'd be nice if there was a setting
> >> that was clearly non-scaleable.  An integer value to :height would be
> >> possible, but pretty error-prone
> >
> > How is something like ":height 1" error-prone?
> 
> Because people aren't expecting ":height 1" and ":height 1.0" to have
> such different semantics.

??? That ship has sailed long ago, in Emacs 21.  Float values and
integer values have different meanings in these face attributes (and
in other similar features, like line-height, the "space :height"
display spec, etc.).  Why is this suddenly a problem, and one that
requires a new face attribute at that?




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

Previous Next


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