Subject: Re: bug#76064: 31.0.50; Display issue with flymake-show-diagnostics-at-end-of-line

From: Eli Zaretskii <[email-masked]>
Date: Wed, 05 Feb 2025 18:31:54 +0200

> Date: Wed, 5 Feb 2025 16:45:07 +0100
> From: Ergus <[email-masked]>
> Cc: [email-masked], [email-masked]
> 
> I think that we are just missing some property in the overlay that
> basically means "this text doesn't exist at all".
> 
> Is it really that hard?

I think you don't realize the root cause of these problems.  The root
cause is cursor position, not anything else.  The overlay itself is
not the problem, the problem is that it tells the display engine to
show the cursor on the first character of the overlay string, when
point is actually _on_the_next_line_.  That's why cursor motion
misbehaves.

IOW, it isn't about the overlay string text, it's about where to show
the cursor.