From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: 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 Message-ID: <834jqv3tv3.fsf@gnu.org> References: <87ilfbe8r0.fsf@localhost> <83a60n40an.fsf@gnu.org> <87y1o7cd6a.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27506"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62048@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 08 20:51:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pZzoi-0006y8-J1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Mar 2023 20:51:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZzoW-0001n0-K2; Wed, 08 Mar 2023 14:51:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZzoU-0001gv-U2 for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 14:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZzoU-0002oZ-Hs for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 14:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZzoU-0000DN-Do for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 14:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Mar 2023 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62048 X-GNU-PR-Package: emacs Original-Received: via spool by 62048-submit@debbugs.gnu.org id=B62048.1678305047804 (code B ref 62048); Wed, 08 Mar 2023 19:51:02 +0000 Original-Received: (at 62048) by debbugs.gnu.org; 8 Mar 2023 19:50:47 +0000 Original-Received: from localhost ([127.0.0.1]:50259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZzoE-0000Cu-SP for submit@debbugs.gnu.org; Wed, 08 Mar 2023 14:50:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZzoD-0000Cd-Tq for 62048@debbugs.gnu.org; Wed, 08 Mar 2023 14:50:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZzo8-0002kP-MI; Wed, 08 Mar 2023 14:50:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Hqh4Nq+LX6E2rlKWO0VaTne2aWU91j7xiJZeZZXYw1I=; b=Bg6QzjQk9m1A d/QVczaF5AomaYfAgv8xzaXC/cRpx3TmjjA7M1aeisSzYW0xLDuG51pLrHDx+zTU4CtJgG1GeMqhw cfi/dbiJIy5Yf0Nana+3t6TgfI9zrn5ubrpYaqRX0NnJsXIhY6x5N+kHKavTpCn+R2+IcvAJL/+X2 yqdJBjCpZWCYMeIAAqelN1F2LbhzMIvbijdPFpzUAK/7sJ7UAvc2Fz1Ow5zDuz4X08QtT0GQ8TSnn Fp1DSOyhCLQ5FQUVYFR9UkY1FT5beukz2EMHzgD+jQHtrd20krSIHQAGf5eeHaeTumolGfHp5njVw c1R0ueLBffu7e7/ufvKqWQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZzo8-00040d-66; Wed, 08 Mar 2023 14:50:40 -0500 In-Reply-To: <87y1o7cd6a.fsf@localhost> (message from Ihor Radchenko on Wed, 08 Mar 2023 18:26:21 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257560 Archived-At: > From: Ihor Radchenko > Cc: 62048@debbugs.gnu.org > Date: Wed, 08 Mar 2023 18:26:21 +0000 > > Eli Zaretskii 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.