From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to Display a Zero Height Line
Date: Sun, 01 Dec 2024 08:41:20 +0200 [thread overview]
Message-ID: <86v7w36h2n.fsf@gnu.org> (raw)
In-Reply-To: <CADQMGASmm05n1NoOEqNgZykT-_-qh-p882vc_e4eWcDp48GQbQ@mail.gmail.com> (message from Psionic K on Sun, 1 Dec 2024 10:04:32 +0900)
> From: Psionic K <psionik@positron.solutions>
> Date: Sun, 1 Dec 2024 10:04:32 +0900
>
> 1. There is vertical space between a target line and the line above or
> top of the buffer
> 2. This vertical space does not have a side effect of extending the
> background or `:inverse-video' background of the target line or the
> line above it
> 3. The vertical space can be drawn at zero height and at fractional
> heights up to the distance content is slid in from
What do you mean by "extending the background of :inverse-video
background" of a line? Can you show some simple Lisp which produces
this effect on display?
Since this seems to be the main obstacle you found, it is very
important to understand what it is and how it is created.
> Within a fontified buffer, I have been unable to make actual newlines
> into fractional or zero height using overlays. I have neither been
> able to use `:before-string` or `:after-string` as properties or
> overlays.
Did you try to use an overlay with just the line-height overlay
property, and put that overlay on the newline at end of line?
IOW, I don't understand why you are talking about before-string and
after-string: those are used to show text that doesn't come from the
buffer (but from strings instead), which AFAIU is not your case, at
least not for the purpose of affecting the height of a text line.
next prev parent reply other threads:[~2024-12-01 6:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-01 1:04 How to Display a Zero Height Line Psionic K
2024-12-01 6:41 ` Eli Zaretskii [this message]
2024-12-03 13:30 ` Stefan Monnier via Users list for the GNU Emacs text editor
-- strict thread matches above, loose matches on Subject: below --
2024-12-12 6:37 Psionic K
2024-12-12 6:47 ` Eli Zaretskii
2024-12-12 9:00 ` Psionic K
2024-12-12 9:23 ` Eli Zaretskii
2024-12-12 12:25 ` Psionic K
2024-12-04 5:08 Psionic K
2024-12-04 13:10 ` Eli Zaretskii
2024-11-30 3:02 Psionic K
2024-11-30 7:35 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86v7w36h2n.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).