Subject: bug#57876: [PATCH] pulse-momentary-highlight-one-line: Act on visual line

From: Eli Zaretskii <[email-masked]>
Date: Sat, 17 Sep 2022 14:20:43 +0300

> From: Augusto Stoffel <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Sat, 17 Sep 2022 12:56:44 +0200
> 
> > Why don't you use beginning/end-of-visual-line?
> 
> Because it obeys fields, so if you try to highlight a prompt line in a
> comint buffer, only part of the line would be highlighted.

It should be possible to disable fields temporarily by binding
inhibit-point-motion-hooks, right?  I prefer doing that to reinventing
the wheel of moving to the edges of the visible line.