all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ynyaaa@gmail.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 23806@debbugs.gnu.org
Subject: bug#23806: 24.5; can not set line height
Date: Tue, 21 Jun 2016 10:45:10 +0900	[thread overview]
Message-ID: <87inx3z55l.fsf@gmail.com> (raw)
In-Reply-To: <87twgotxlc.fsf@gmail.com>

Eli Zaretskii <eliz@gnu.org> 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.





  parent reply	other threads:[~2016-06-21  1:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20  2:15 bug#23806: 24.5; can not set line height ynyaaa
2016-06-20 14:36 ` Eli Zaretskii
2016-06-21  1:45 ` ynyaaa [this message]
2016-06-21 14:24   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inx3z55l.fsf@gmail.com \
    --to=ynyaaa@gmail.com \
    --cc=23806@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.