From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#43506: 26.1; line-height sometimes has no effect on the line height Date: Sat, 19 Sep 2020 09:21:38 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26398"; mail-complaints-to="usenet@ciao.gmane.io" To: 43506@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 19 09:22:09 2020 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 1kJXCC-0006lD-NZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Sep 2020 09:22:08 +0200 Original-Received: from localhost ([::1]:34160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJXCB-0007An-PX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Sep 2020 03:22:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJXC6-0007Ag-A4 for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 03:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJXC6-0006zI-0d for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 03:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJXC5-00052v-Rf for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 03:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Sep 2020 07:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43506 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160050009219355 (code B ref -1); Sat, 19 Sep 2020 07:22:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 07:21:32 +0000 Original-Received: from localhost ([127.0.0.1]:45565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJXBb-000526-Np for submit@debbugs.gnu.org; Sat, 19 Sep 2020 03:21:31 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJXBa-00051x-15 for submit@debbugs.gnu.org; Sat, 19 Sep 2020 03:21:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJXBZ-00079i-Rx for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 03:21:29 -0400 Original-Received: from [78.47.144.35] (port=58146 helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJXBY-0006xU-4i for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 03:21:29 -0400 Original-Received: from mt-mbpro.localdomain (localhost [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id 01D6D9E759 for ; Sat, 19 Sep 2020 09:21:24 +0200 (CEST) Original-Received: by mt-mbpro.localdomain (Postfix, from userid 501) id 0CCDA1189D6C; Sat, 19 Sep 2020 09:21:38 +0200 (CEST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.47.144.35 (failed) Received-SPF: none client-ip=78.47.144.35; envelope-from=triska@metalevel.at; helo=metalevel.at X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 03:21:25 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:188367 Archived-At: To reproduce this issue, please start Emacs with "emacs -Q" and then evaluate the following form: (progn (goto-char (point-max)) (insert "\n") (insert (propertize "\n" 'line-height 3)) (forward-line -1) (line-pixel-height)) In my case, the minibuffer then states "17". The expected result is 3, because documentation states: A newline can have a =E2=80=98line-height=E2=80=99 text or overlay p= roperty that controls the total height of the display line ending in that newline. For comparison, it works exactly as expected if I change "3" to "300" in the snippet above, yielding "300" in the minibuffer. If possible, could you please make line-height control the total height of the display line also in the original example, or alternatively consider changing the documentation to mention all relevant exceptions? Thank you and all the best! Markus In GNU Emacs 26.1 (build 1, x86_64-apple-darwin15.3.0, X toolkit, Xaw scrol= l bars) of 2018-09-22 built on mt-laptop Windowing system distributor 'The X.Org Foundation', version 11.0.11502000