GNU bug report logs - #72704
29.4; repunctuate-sentences ignores NO-QUERY

Previous Next

Package: emacs;

Reported by: Brian Green <briandg <at> gmail.com>

Date: Sun, 18 Aug 2024 22:50:02 UTC

Severity: normal

Found in version 29.4

Full log


Message #77 received at 72704 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: briandg <at> gmail.com, joseph <at> breatheoutbreathe.in, 72704 <at> debbugs.gnu.org,
 juri <at> linkov.net
Subject: Re: bug#72704: 29.4; repunctuate-sentences ignores NO-QUERY
Date: Fri, 30 Aug 2024 09:40:37 +0300
> 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 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.