Subject: bug#16856: Enable fringe cursor when *almost* exact_window_width_line_p

From: Anders Lindgren <[email-masked]>
Date: Sat, 11 Nov 2017 18:49:03 +0100

Hi!

On Sat, Nov 11, 2017 at 6:25 PM, Eli Zaretskii <[email-masked]> wrote:
>
> ??? Are you saying that drawing on macOS is not clipped by the
> window's edge?

Yes, when it comes to the cursor, that is correct.

> > When the cursor is moved, the
> > fringe isn't updated, so artefacts are left behind.
>
> I saw no artifacts on the image that was posted.

I just verified that the following recipe (posted in 2016) demonstrates the
problem, on NS. (The original recipe from 2014 no longer works, though).

   emacs -Q
    (setq truncate-partial-width-windows nil)
    C-x 3
    C-x o
    C-u 37 x
       Here, the cursor which is in text area blinks, while the part in the
fringe doesn't.

       Wait until the the cursor stop blinking
    C-a
        Now, the right fringe contains half a cursor.

    -- Anders