unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Psionic K <psionik@positron.solutions>
To: help-gnu-emacs@gnu.org
Cc: Psionic K <psionik@positron.solutions>
Subject: How to Display a Zero Height Line
Date: Sat, 30 Nov 2024 12:02:05 +0900	[thread overview]
Message-ID: <CADQMGASZ2Z_bKgVHJV+28T4UP-Vcg0uiRvZooqo=TQ2NPCbGTA@mail.gmail.com> (raw)

Related dslide user issue:
https://github.com/positron-solutions/dslide/issues/15

If I use line height or line spacing to accomplish the slide-in
effect, text with any background color set have that background
stretched out.

To work around this, I was going to use a zero height line but could
not achieve the effect after a couple tries.

While I achieved vanishing line height in a fundamental mode buffer
using an actual newline with text properties, I could not reproduce
the effect in a fontified buffer, where I needed to use an overlay.  I
messed around a bit with 'before-string etc.

I'm aware this might be a display limitation and want to confirm
before labeling my user's issue accordingly.



             reply	other threads:[~2024-11-30  3:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-30  3:02 Psionic K [this message]
2024-11-30  7:35 ` How to Display a Zero Height Line Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2024-12-01  1:04 Psionic K
2024-12-01  6:41 ` Eli Zaretskii
2024-12-03 13:30 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-04  5:08 Psionic K
2024-12-04 13:10 ` Eli Zaretskii
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

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='CADQMGASZ2Z_bKgVHJV+28T4UP-Vcg0uiRvZooqo=TQ2NPCbGTA@mail.gmail.com' \
    --to=psionik@positron.solutions \
    --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).