Subject: Re: bug#73863: 30.0.91; Unexpected cursor movement with flymake-show-diagnostics-at-end-of-line

From: Eli Zaretskii <[email-masked]>
Date: Fri, 18 Oct 2024 19:08:46 +0300

> From: Romain Ouabdelkader <[email-masked]>
> Date: Fri, 18 Oct 2024 17:09:19 +0200
> 
> I found some unexpected cursor movement near diagnostics with flymake-show-diagnostics-at-end-of-line
> enabled. 
> When the cursor is on a line with a diagnostic, pressing down will move the cursor to the end of the current
> line instead of the next line.
> 
> For example, pressing down here:
> Screenshot 2024-10-18 at 16.57.29.png
> Will move the cursor at the end of the line:
> Screenshot 2024-10-18 at 16.58.09.png
> 
> Also, when editing the last line of a buffer, new text will appear after the diagnostic until no key is pressed for a
> few seconds:
> Screenshot 2024-10-18 at 17.04.57.png
> 
> Reproduced with emacs -Q on emacs 30.0.91

Please show a full recipe for reproducing this issue, starting from
"emacs -Q", preferably without the need to install any packages not
included in Emacs.

Thanks.