GNU bug report logs -
#72704
29.4; repunctuate-sentences ignores NO-QUERY
Previous Next
Full log
View this message in rfc822 format
> From: Richard Stallman <rms <at> gnu.org>
> Cc: juri <at> linkov.net, briandg <at> gmail.com, 72704 <at> debbugs.gnu.org,
> joseph <at> breatheoutbreathe.in
> Date: Thu, 29 Aug 2024 22:32:30 -0400
>
> > If there is an active region, repunctuate-sentences works on the
> > region. The operation from point to EOB is only if there's no active
> > region, which the above two commands don't support at all.
>
> I stand corrected. However, what other commands have this
> region or pont-to-EOB behavior?
The commands that I mentioned operate on the entire buffer or
paragraph, I think.
> What is the reason to prefer this behavior for it?
Well, repunctuate-sentences is a variant of query-replace (both
conceptually and implementation-wise), and query-replace does operate
from point to EOB if there's no active region. And I think it makes
sense for commands that replace text.
This bug report was last modified 289 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.