From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#23806: 24.5; can not set line height Date: Tue, 21 Jun 2016 10:45:10 +0900 Message-ID: <87inx3z55l.fsf@gmail.com> References: <87twgotxlc.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: ger.gmane.org 1466473599 15579 80.91.229.3 (21 Jun 2016 01:46:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2016 01:46:39 +0000 (UTC) Cc: 23806@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 21 03:46:24 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 1bFAlc-0002Qo-Oc for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2016 03:46:16 +0200 Original-Received: from localhost ([::1]:47463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFAlb-0005H0-Qn for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Jun 2016 21:46:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFAlS-0005FP-SD for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 21:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFAlO-0008JL-M7 for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 21:46:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFAlO-0008JH-Ik for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 21:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bFAlO-0001LY-50 for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2016 21:46:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87twgotxlc.fsf@gmail.com> Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jun 2016 01:46: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: notabug Original-Received: via spool by 23806-submit@debbugs.gnu.org id=B23806.14664735275131 (code B ref 23806); Tue, 21 Jun 2016 01:46:02 +0000 Original-Received: (at 23806) by debbugs.gnu.org; 21 Jun 2016 01:45:27 +0000 Original-Received: from localhost ([127.0.0.1]:48192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFAko-0001Kh-RE for submit@debbugs.gnu.org; Mon, 20 Jun 2016 21:45:27 -0400 Original-Received: from mail-pa0-f49.google.com ([209.85.220.49]:34779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFAkn-0001KU-0s for 23806@debbugs.gnu.org; Mon, 20 Jun 2016 21:45:25 -0400 Original-Received: by mail-pa0-f49.google.com with SMTP id bz2so831467pad.1 for <23806@debbugs.gnu.org>; Mon, 20 Jun 2016 18:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version; bh=0r2zOtL5h5nkmmosi5usbzFdiYYtceGLq/L0HZmW8NI=; b=GUiq/rdpsGVCnciMf8QzMBtmf/d6/sCpG0V3vbA4Ot+ivcCjezzpSJQtUh9VAozO+i coTpEbwophvYdHeAmuEthp+vrvFrX2GiPda19Y6ZfeeJnCQZSCOjdMCXHcU5z+t+tOHK UPsVJs3/VjaSqFOL2XUx13asSKXakppZGLi6IDZwXDCnycT20a3rXuVtvsKYnp+x667l 6mt7f4XL0utoEZXIVR48a/2Rk41ylKcd/KrCcs8G1N58Ty/FyszostINjyV0eEgnAYPN ZXy1yUxTuXduUUwzUUIJThDLDhXHEmC1Yx81cmiZGiU2oOaKTSOrjtFi3KcfeGR/h0/C +b2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=0r2zOtL5h5nkmmosi5usbzFdiYYtceGLq/L0HZmW8NI=; b=a0dKmT0Ke36f9FEOU5q+uipGzLVBVfGbqVHHni+bhtFfGVJbErTl8PMAAcZqmGIt4s EvmRDJU8/qWcs7/9W/Gr/r/T6Qen+78fdlgc/ur2mhzmnx+R47DBI85oju682EuA/pEt vIq7RHMtf7dYVljGCirgwOLG4iwkDAc+EoPQwX/h8d5DgT2GSZ+H/sr5brRWZDGZ5/rG S28R6jV9ne6LMCK22wc1BxnwJxxAQaVMKiRpQWM+An5vRyjsqgrD+1hHChHoKDYOOS/d 5N68nXzqOnIY07qnOC54xPma2D7K2M73vXMipnzjQnaOcDyUTW5VrYqOlWNUcc7gMoib 3U0A== X-Gm-Message-State: ALyK8tKAOsMHTYox7NnrUoeC150DziWt3UwYKyAB+I5n0Vd1G+AeHoPp/nQvHMJmwxiwnw== X-Received: by 10.66.237.175 with SMTP id vd15mr25127702pac.139.1466473519127; Mon, 20 Jun 2016 18:45:19 -0700 (PDT) Original-Received: from PNUT-PC (east49-p99.eaccess.hi-ho.ne.jp. [219.105.5.100]) by smtp.gmail.com with ESMTPSA id d2sm87595971pfk.36.2016.06.20.18.45.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 18:45:18 -0700 (PDT) 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:119859 Archived-At: Eli Zaretskii writes: > 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. The manual also describes the line-spacing property at the newlines, which has same problems as the line-height property. I want to use the line-height property because the line-spacing variable can not affect partial buffer contents and can not add spacing both above and below lines. By the way it is written in the manual, If the property value is a list of the form ‘(HEIGHT TOTAL)’, (snip) In this case, the other ways to specify the line spacing are ignored. Setting the line-height property to '(1.0 1.0) ignores the line-spacing property, but the line-spacing variable or frame parameter takes effect. Setting the line-height property to 't ignores the line-spacing property, this behavior is not documented. In the manual: Finally, a newline can have a ‘line-spacing’ text or overlay property that overrides the default frame line spacing and the buffer local ‘line-spacing’ variable, for the display line ending in that newline. The line-spacing property overrides the line-spacing variable or frame parameter only if the property value is bigger.