Subject: bug#39245: 26.3; 'mouse-face highlighting is extended beyond EOB

From: Eli Zaretskii <[email-masked]>
Date: Wed, 28 Oct 2020 17:41:17 +0200

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Wed, 28 Oct 2020 13:36:09 +0100
> Cc: [email-masked]
> 
> This is just an issue with mouse-face, face doesn't have this problem:
> 
>   (let ((buf (generate-new-buffer "tmp")))
>     (switch-to-buffer buf)
>     (insert (propertize "XYZ" 'face 'region)))

Mouse face is displayed in a very special way (and for very different
purposes), so this is not surprising.