unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: briandg@gmail.com, joseph@breatheoutbreathe.in,
	72704@debbugs.gnu.org, juri@linkov.net
Subject: bug#72704: 29.4; repunctuate-sentences ignores NO-QUERY
Date: Fri, 30 Aug 2024 09:40:37 +0300	[thread overview]
Message-ID: <86seumecnv.fsf@gnu.org> (raw)
In-Reply-To: <E1sjrR8-00086F-MY@fencepost.gnu.org> (message from Richard Stallman on Thu, 29 Aug 2024 22:32:30 -0400)

> From: Richard Stallman <rms@gnu.org>
> Cc: juri@linkov.net, briandg@gmail.com, 72704@debbugs.gnu.org,
> 	joseph@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.





  reply	other threads:[~2024-08-30  6:40 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-18 20:14 bug#72704: 29.4; repunctuate-sentences ignores NO-QUERY Brian Green
2024-08-19  4:48 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-19  6:52   ` Juri Linkov
2024-08-24  3:00     ` Richard Stallman
2024-08-24  6:18       ` Eli Zaretskii
2024-08-27 13:06         ` Richard Stallman
2024-08-27 13:53           ` Eli Zaretskii
2024-08-30  2:32             ` Richard Stallman
2024-08-30  6:40               ` Eli Zaretskii [this message]
2024-08-27 13:06         ` Richard Stallman
2024-08-24  6:30       ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-24  6:53         ` Visuwesh
2024-08-24  7:51           ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-24  7:28         ` Eli Zaretskii
2024-08-24  7:54           ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-24  8:29             ` Brian Green
2024-08-24  9:33               ` Eli Zaretskii
2024-08-24 17:09                 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-24 18:23                   ` Brian Green
2024-08-24 19:18                     ` Brian Green
2024-08-24 19:41                       ` Brian Green
2024-08-25  2:23                         ` Visuwesh
2024-08-25 16:53                           ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-31  9:23                   ` Eli Zaretskii
2024-08-31 12:19                     ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-31 12:39                       ` Eli Zaretskii
2024-08-31 15:50                         ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-31 16:08                           ` Eli Zaretskii
2024-08-31 17:26                             ` Brian Green
2024-08-25  6:51         ` Juri Linkov
2024-08-25 15:11           ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86seumecnv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=72704@debbugs.gnu.org \
    --cc=briandg@gmail.com \
    --cc=joseph@breatheoutbreathe.in \
    --cc=juri@linkov.net \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).