From unknown Mon Jun 23 13:14:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23806: 24.5; can not set line height Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2016 02:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23806 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23806@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146638893915761 (code B ref -1); Mon, 20 Jun 2016 02:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jun 2016 02:15:39 +0000 Received: from localhost ([127.0.0.1]:46844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEokU-000469-Rz for submit@debbugs.gnu.org; Sun, 19 Jun 2016 22:15:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEokT-00045o-4D for submit@debbugs.gnu.org; Sun, 19 Jun 2016 22:15:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEokG-0004jQ-Ho for submit@debbugs.gnu.org; Sun, 19 Jun 2016 22:15:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEokG-0004jL-Ed for submit@debbugs.gnu.org; Sun, 19 Jun 2016 22:15:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEokF-0002q8-1S for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 22:15:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEokA-0004iq-10 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 22:15:21 -0400 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:35210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEok9-0004il-Ol for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 22:15:17 -0400 Received: by mail-pf0-x229.google.com with SMTP id c2so48848830pfa.2 for ; Sun, 19 Jun 2016 19:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=gZLLDlwa4s2KtkmulHiyNkU1CXmkW4sQU8LmRCA7Rxk=; b=c1vVz20opkmI5T7/U44fmPVXMBsMQ55OnVDg806qi1qKJRuA1yvTQiyKrzgXmsBW8O 6oVhIN8aRjBGl7gGcEFzm3SErmSBkPxFX61xSXE7mn0gLO/jsjfgOGaoaili3LEHtG0P +y1/ubIinkr1SzP9dptO8H59+hRPBwTlOl5nTA0Ku57imNzwu5aOmpwioU0qA7imXxQw 1H0i7UYwLRwqMIgBnIApfVg+4YdV/Ip2KGUrMycexJQWn7GGqp/ZUwYPTiTzI+skPBXd rzwvsWkF2mRPPbbsZr5HCl/7r/PToH0dLCOclQiU4kEjOnZmKmSYdixC9FZlQcazns6U zHtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=gZLLDlwa4s2KtkmulHiyNkU1CXmkW4sQU8LmRCA7Rxk=; b=O9co/Zb6N7BZB468lZyef/Wf/6fruhscSucDrDN2KqoH+reY4P8I8eJ3gu756Je4Te 9ZkSZ+/sKxr19m1oOtfijb3wkxbdPEBrEb2x/6w3npNt9CcsmTfwWgoDQbzckW+Vwe5Y +ECejYwvimH0YEl8CvBonhRmaxKMS7j4hpqdsWDkYDh5xkJ10k9xXj5Qex945nti+63B 0puf2bdXDDFwuMSAKPou5a7AsVUvLJgkzsb9riGV8FwQZSAPFMYBTNr+fGiTH4DPUWN9 Zs2Vxjabmq4clzpqk7FBJZGhxpSqvCPFzOcTl4W7c++6MKcyVFM5jdw1ZKi8Ws/NmROP X9vg== X-Gm-Message-State: ALyK8tIDqMwFUaSzUczGNN2IDlDTj9wLSb68IuM3ARyCnp9AALLOA0NHmF0lKIVNUudy8Q== X-Received: by 10.98.102.66 with SMTP id a63mr19040371pfc.32.1466388916869; Sun, 19 Jun 2016 19:15:16 -0700 (PDT) Received: from PNUT-PC (east49-p99.eaccess.hi-ho.ne.jp. [219.105.5.100]) by smtp.gmail.com with ESMTPSA id vy8sm83558927pab.22.2016.06.19.19.15.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2016 19:15:16 -0700 (PDT) From: ynyaaa@gmail.com Date: Mon, 20 Jun 2016 11:15:11 +0900 Message-ID: <87twgotxlc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) `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 In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.0.6002 Configured using: `configure --prefix=/c/usr --host=i686-pc-mingw32' Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Quit Load-path shadows: None found. Features: (network-stream starttls tls mailalias smtpmail warnings auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core password-cache shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils advice debug help-fns mule-util pp wid-edit cl-loaddefs cl-lib descr-text help-mode easymenu time-date japan-util tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 227072 60329) (symbols 32 29503 0) (miscs 32 99 569) (strings 16 27899 6877) (string-bytes 1 690788) (vectors 8 25909) (vector-slots 4 789072 15730) (floats 8 67 702) (intervals 28 717 199) (buffers 508 22)) From unknown Mon Jun 23 13:14:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23806: 24.5; can not set line height 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: To: ynyaaa@gmail.com Cc: 23806@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23806-submit@debbugs.gnu.org id=B23806.146643346124239 (code B ref 23806); Mon, 20 Jun 2016 14:38:02 +0000 Received: (at 23806) by debbugs.gnu.org; 20 Jun 2016 14:37:41 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Date: Mon, 20 Jun 2016 17:36:27 +0300 Message-Id: <83a8ig7wr8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87twgotxlc.fsf@gmail.com> (ynyaaa@gmail.com) References: <87twgotxlc.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) 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. From unknown Mon Jun 23 13:14:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23806: 24.5; can not set line height References: <87twgotxlc.fsf@gmail.com> 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 To: Eli Zaretskii Cc: 23806@debbugs.gnu.org Received: via spool by 23806-submit@debbugs.gnu.org id=B23806.14664735275131 (code B ref 23806); Tue, 21 Jun 2016 01:46:02 +0000 Received: (at 23806) by debbugs.gnu.org; 21 Jun 2016 01:45:27 +0000 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 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 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) 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) From: ynyaaa@gmail.com Date: Tue, 21 Jun 2016 10:45:10 +0900 Message-ID: <87inx3z55l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 $B!F(B(HEIGHT TOTAL)$B!G(B, (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 $B!F(Bline-spacing$B!G(B text or overlay property that overrides the default frame line spacing and the buffer local $B!F(Bline-spacing$B!G(B 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. From unknown Mon Jun 23 13:14:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ynyaaa@gmail.com Subject: bug#23806: closed (Re: bug#23806: 24.5; can not set line height) Message-ID: References: <83bn2u7h6x.fsf@gnu.org> <87twgotxlc.fsf@gmail.com> X-Gnu-PR-Message: they-closed 23806 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 23806@debbugs.gnu.org Date: Tue, 21 Jun 2016 14:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1466519162-20027-1" This is a multi-part message in MIME format... ------------=_1466519162-20027-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23806: 24.5; can not set line height which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23806@debbugs.gnu.org. --=20 23806: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23806 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1466519162-20027-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23806-done) by debbugs.gnu.org; 21 Jun 2016 14:25:59 +0000 Received: from localhost ([127.0.0.1]:49855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFMco-0005Ck-Of for submit@debbugs.gnu.org; Tue, 21 Jun 2016 10:25:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFMcm-0005CW-Ik for 23806-done@debbugs.gnu.org; Tue, 21 Jun 2016 10:25:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFMce-0001Ta-13 for 23806-done@debbugs.gnu.org; Tue, 21 Jun 2016 10:25:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFMcd-0001TN-UP; Tue, 21 Jun 2016 10:25:47 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4832 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bFMcb-00052A-Rp; Tue, 21 Jun 2016 10:25:46 -0400 Date: Tue, 21 Jun 2016 17:24:54 +0300 Message-Id: <83bn2u7h6x.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-reply-to: <87inx3z55l.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#23806: 24.5; can not set line height References: <87inx3z55l.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23806-done Cc: 23806-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: ynyaaa@gmail.com > Cc: 23806@debbugs.gnu.org > Date: Tue, 21 Jun 2016 10:45:10 +0900 > > 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. Yes, and its documentation also refers to a "display line". > I want to use the line-height property because the line-spacing variable > can not affect partial buffer contents What do you mean by "partial buffer contents"? > and can not add spacing both above and below lines. Such an extension could be added. > By the way it is written in the manual, > If the property value is a list of the form $B!F(B(HEIGHT TOTAL)$B!G(B, > (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. It's documented, sort of, by saying that only the visible content determines the line height in this case. But I made that more explicit. > In the manual: > Finally, a newline can have a $B!F(Bline-spacing$B!G(B text or overlay property > that overrides the default frame line spacing and the buffer local > $B!F(Bline-spacing$B!G(B 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. Actually, it doesn't override, but compared, and the largest value used instead. I fixed these inaccuracies, and I'm marking the bug done. Thanks. ------------=_1466519162-20027-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Jun 2016 02:15:39 +0000 Received: from localhost ([127.0.0.1]:46844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEokU-000469-Rz for submit@debbugs.gnu.org; Sun, 19 Jun 2016 22:15:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEokT-00045o-4D for submit@debbugs.gnu.org; Sun, 19 Jun 2016 22:15:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEokG-0004jQ-Ho for submit@debbugs.gnu.org; Sun, 19 Jun 2016 22:15:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEokG-0004jL-Ed for submit@debbugs.gnu.org; Sun, 19 Jun 2016 22:15:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEokF-0002q8-1S for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 22:15:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEokA-0004iq-10 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 22:15:21 -0400 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:35210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEok9-0004il-Ol for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2016 22:15:17 -0400 Received: by mail-pf0-x229.google.com with SMTP id c2so48848830pfa.2 for ; Sun, 19 Jun 2016 19:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=gZLLDlwa4s2KtkmulHiyNkU1CXmkW4sQU8LmRCA7Rxk=; b=c1vVz20opkmI5T7/U44fmPVXMBsMQ55OnVDg806qi1qKJRuA1yvTQiyKrzgXmsBW8O 6oVhIN8aRjBGl7gGcEFzm3SErmSBkPxFX61xSXE7mn0gLO/jsjfgOGaoaili3LEHtG0P +y1/ubIinkr1SzP9dptO8H59+hRPBwTlOl5nTA0Ku57imNzwu5aOmpwioU0qA7imXxQw 1H0i7UYwLRwqMIgBnIApfVg+4YdV/Ip2KGUrMycexJQWn7GGqp/ZUwYPTiTzI+skPBXd rzwvsWkF2mRPPbbsZr5HCl/7r/PToH0dLCOclQiU4kEjOnZmKmSYdixC9FZlQcazns6U zHtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=gZLLDlwa4s2KtkmulHiyNkU1CXmkW4sQU8LmRCA7Rxk=; b=O9co/Zb6N7BZB468lZyef/Wf/6fruhscSucDrDN2KqoH+reY4P8I8eJ3gu756Je4Te 9ZkSZ+/sKxr19m1oOtfijb3wkxbdPEBrEb2x/6w3npNt9CcsmTfwWgoDQbzckW+Vwe5Y +ECejYwvimH0YEl8CvBonhRmaxKMS7j4hpqdsWDkYDh5xkJ10k9xXj5Qex945nti+63B 0puf2bdXDDFwuMSAKPou5a7AsVUvLJgkzsb9riGV8FwQZSAPFMYBTNr+fGiTH4DPUWN9 Zs2Vxjabmq4clzpqk7FBJZGhxpSqvCPFzOcTl4W7c++6MKcyVFM5jdw1ZKi8Ws/NmROP X9vg== X-Gm-Message-State: ALyK8tIDqMwFUaSzUczGNN2IDlDTj9wLSb68IuM3ARyCnp9AALLOA0NHmF0lKIVNUudy8Q== X-Received: by 10.98.102.66 with SMTP id a63mr19040371pfc.32.1466388916869; Sun, 19 Jun 2016 19:15:16 -0700 (PDT) Received: from PNUT-PC (east49-p99.eaccess.hi-ho.ne.jp. [219.105.5.100]) by smtp.gmail.com with ESMTPSA id vy8sm83558927pab.22.2016.06.19.19.15.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2016 19:15:16 -0700 (PDT) From: ynyaaa@gmail.com To: bug-gnu-emacs@gnu.org Subject: 24.5; can not set line height Date: Mon, 20 Jun 2016 11:15:11 +0900 Message-ID: <87twgotxlc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) `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 In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.0.6002 Configured using: `configure --prefix=/c/usr --host=i686-pc-mingw32' Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Quit Load-path shadows: None found. Features: (network-stream starttls tls mailalias smtpmail warnings auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core password-cache shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils advice debug help-fns mule-util pp wid-edit cl-loaddefs cl-lib descr-text help-mode easymenu time-date japan-util tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 227072 60329) (symbols 32 29503 0) (miscs 32 99 569) (strings 16 27899 6877) (string-bytes 1 690788) (vectors 8 25909) (vector-slots 4 789072 15730) (floats 8 67 702) (intervals 28 717 199) (buffers 508 22)) ------------=_1466519162-20027-1--