From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72704: 29.4; repunctuate-sentences ignores NO-QUERY Date: Fri, 30 Aug 2024 09:40:37 +0300 Message-ID: <86seumecnv.fsf@gnu.org> References: <87r0alazj9.fsf@breatheoutbreathe.in> <86sev1hunf.fsf@mail.linkov.net> <865xrqphom.fsf@gnu.org> <86mskyhy1t.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14414"; mail-complaints-to="usenet@ciao.gmane.io" Cc: briandg@gmail.com, joseph@breatheoutbreathe.in, 72704@debbugs.gnu.org, juri@linkov.net To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 30 08:41:25 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sjvJz-0003XF-Tb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Aug 2024 08:41:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjvJj-0006Hw-Pr; Fri, 30 Aug 2024 02:41:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjvJi-0006Ha-Gr for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2024 02:41:06 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjvJi-0000vL-8A for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2024 02:41:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=D1ksAOppNxM0pgbTRuufZ9rnz2BX0RbNVYvJ5Lnm66s=; b=PbEzha/nGJB8CiTxygaN+QSmMLBF0ssG+ELd80D/cQ/HcCA/VCVUSyQCtwayhWzuHavbIRL6l0nYdjSKg2aXJtP4whzzt5H+ANpJ4ZYpWf6BvRwlKCoCw1RCFNAWlEFOH3+G06waI1CAxlOXBj6l7VYXYu6agmOwazXmmfic59EDnfHtzM9mPV6x5Gp1nMEhdniHUBJF+hRCGL2pyIKelAZEMONBBVP5h27zFo2f38d1/jBOoKQpxoXpfrw8zGAJSA2g2kY+wu7WYxa0KCv2zqDdJuBiZGfSsBExQCZirEzxCtIsNRrC46hxmN2TXwOd1gfTdgfygoiuJVWsmYGW7A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjvKc-0001D5-Ca for bug-gnu-emacs@gnu.org; Fri, 30 Aug 2024 02:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Aug 2024 06:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72704 X-GNU-PR-Package: emacs Original-Received: via spool by 72704-submit@debbugs.gnu.org id=B72704.17250001104627 (code B ref 72704); Fri, 30 Aug 2024 06:42:02 +0000 Original-Received: (at 72704) by debbugs.gnu.org; 30 Aug 2024 06:41:50 +0000 Original-Received: from localhost ([127.0.0.1]:52370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjvKQ-0001CZ-87 for submit@debbugs.gnu.org; Fri, 30 Aug 2024 02:41:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjvKN-0001CL-5h for 72704@debbugs.gnu.org; Fri, 30 Aug 2024 02:41:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjvJM-0000sU-5R; Fri, 30 Aug 2024 02:40:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=D1ksAOppNxM0pgbTRuufZ9rnz2BX0RbNVYvJ5Lnm66s=; b=UyTL9YzRGauZ mxEtKHHYLWnDniOHxTIi+t5PzrPItM5gbzT0mSTKKAEpIX0/wlIrJ0ha95I4IBd4sR3htT+2GRBOF 4dBc2NoR4KkU7uDO+twZ0Re5QdE+ZtuL8O0Le6MfPxR4MX2FIpNPBwk1ENNVMMmZARQkLcrF5lyTr kHDHYrvYSeHze5FYge6zgrkQGL9iN9u0BZrfnLNV5HPmqkJp8mEfmEYXGSfIrAxuUDJaBbfTk8lQs ziNHgilgAgHpb7wIngqJG5m5WWpQWyjLt7nWLPKBh3QMT4EBwBTvJqiH82wUJgxsI14RurlvO/Ria 0N7Fh7kH+0Ldl25rYw/J8w==; In-Reply-To: (message from Richard Stallman on Thu, 29 Aug 2024 22:32:30 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290955 Archived-At: > From: Richard Stallman > 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.