GNU bug report logs - #62048
30.0.50; Non-nil `line-spacing' takes precendence over 'line-height t text property

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Wed, 8 Mar 2023 12:18:01 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 62048 <at> debbugs.gnu.org
Subject: Re: bug#62048: 30.0.50; Non-nil `line-spacing' takes precendence
 over 'line-height t text property
Date: Wed, 08 Mar 2023 21:50:40 +0200
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: 62048 <at> debbugs.gnu.org
> Date: Wed, 08 Mar 2023 18:26:21 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I've updated the manual to be more accurate about this.  But other
> > than that, this is not a bug in the code.
> 
> Thanks!
> 
> I agree that the current newline 'line-height property behaviour makes sense.
> However, I still see `insert-sliced-image' inserting image with gaps as
> a bug. Would it be possible to change `insert-sliced-image' so that it
> overrides buffer-local `line-spacing' and forces no gaps?

Not easily, because the fact that the line-spacing variable affects
_all_ lines is deeply entrenched in the implementation: it computes
the corresponding metrics once and never changes that through the
entire redisplay of the window.




This bug report was last modified 2 years and 134 days ago.

Previous Next


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