From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23806: 24.5; can not set line height Date: Mon, 20 Jun 2016 17:36:27 +0300 Message-ID: <83a8ig7wr8.fsf@gnu.org> References: <87twgotxlc.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1466436886 22381 80.91.229.3 (20 Jun 2016 15:34:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 15:34:46 +0000 (UTC) Cc: 23806@debbugs.gnu.org To: ynyaaa@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 20 17:34:35 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bF1Db-0001Qx-La for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 17:34:31 +0200 Original-Received: from localhost ([::1]:44398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF1Da-0004dp-L0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 11:34:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF0L0-0000nm-Dl for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 10:38:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF0Kw-0004n9-Ni for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 10:38:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF0Kw-0004n5-KK for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 10:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bF0Kw-0006Jp-Gf for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2016 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23806 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23806-submit@debbugs.gnu.org id=B23806.146643346124239 (code B ref 23806); Mon, 20 Jun 2016 14:38:02 +0000 Original-Received: (at 23806) by debbugs.gnu.org; 20 Jun 2016 14:37:41 +0000 Original-Received: from localhost ([127.0.0.1]:47817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF0Kb-0006It-GD for submit@debbugs.gnu.org; Mon, 20 Jun 2016 10:37:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF0Ka-0006Ih-2X for 23806@debbugs.gnu.org; Mon, 20 Jun 2016 10:37:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF0KQ-0004hC-Ca for 23806@debbugs.gnu.org; Mon, 20 Jun 2016 10:37:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF0KI-0004gX-7T; Mon, 20 Jun 2016 10:37:22 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3424 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bF0KG-0006tN-Cx; Mon, 20 Jun 2016 10:37:20 -0400 In-reply-to: <87twgotxlc.fsf@gmail.com> (ynyaaa@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119838 Archived-At: tags 23806 + notabug thanks > From: ynyaaa@gmail.com > Date: Mon, 20 Jun 2016 11:15:11 +0900 > > `line-height' property is effective only at the newlines, > so there are no chances to set line height > (1) when the line is wrapped > (2) when the line is truncated > (3) when the line is at the bottom of a buffer > and not terminated by newline Yes. As clearly documented in the ELisp manual: A newline can have a ‘line-height’ text or overlay property that controls the total height of the display line ending in that newline. It talks about "display lines", not physical lines. The line-height property you put on a newline is designed and implemented to cater to a specific use case: to allow control of the effect the newline itself has on the line height. Since the newline only affects the height of the display line that ends in that newline, this is what this feature supports. It is not a general-purpose way of controlling the vertical spacing of lines on display. The node "Line Height" in the ELisp manual describes the line-spacing variable and frame parameter, which are more general-purpose ways of controlling vertical layout of text.