Subject: Re: bug#52082: 29.0.50; Scrolling aborts "repunctuate-sentences"

From: Eli Zaretskii <[email-masked]>
Date: Wed, 24 Nov 2021 22:03:29 +0200

> Date: Wed, 24 Nov 2021 20:34:27 +0100
> From:  Rudolf Adamkovič via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> 
> 1. Open a longer document containing prose.
> 2. Type "M-x repunctuate-sentences RET".
> 3. Use the mouse scroll-wheel to scroll.
> 
> Expected:
> 
> "repunctuate-sentences" does not abort, like it does not abort when the user types "C-v".
> 
> Actual:
> 
> "repunctuate-sentences" aborts, making it hard to review the entire document.

This command invokes query-replace-regexp, so it only accepts inputs
that query-replace accepts.  Why is that a problem, and why did you
have those expectations when the prompt clearly indicates that Emacs
is in query-replace-regexp?