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: Sat, 31 Aug 2024 19:08:55 +0300 Message-ID: <868qwcbroo.fsf@gnu.org> References: <87r0alazj9.fsf@breatheoutbreathe.in> <86sev1hunf.fsf@mail.linkov.net> <87seuu300z.fsf@breatheoutbreathe.in> <86y14mnzvc.fsf@gnu.org> <87jzg62w55.fsf@breatheoutbreathe.in> <86wmk6mfjb.fsf@gnu.org> <87ikvpx2yx.fsf@breatheoutbreathe.in> <86bk19cagy.fsf@gnu.org> <871q24khqh.fsf@breatheoutbreathe.in> <86frqkc1ea.fsf@gnu.org> <87o758r8s4.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15615"; mail-complaints-to="usenet@ciao.gmane.io" Cc: briandg@gmail.com, juri@linkov.net, rms@gnu.org, 72704@debbugs.gnu.org To: Joseph Turner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 31 18:10:14 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 1skQg1-0003sL-S1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Aug 2024 18:10:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skQft-0004Jc-Gz; Sat, 31 Aug 2024 12:10:05 -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 1skQfs-0004JG-KO for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2024 12:10:04 -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 1skQfs-00034o-2Z for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2024 12:10:04 -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=IAAgimfFr5/mMAjg4ZxKCrdCEAT6zwDlYkPowhXxjL4=; b=FdednmVQoQT85poyUqpyM2XSr36LFT6XtKNr3PzWRNuc0kGeMwsiQS8GyEC+5mGaocUfoDmemFpVpL/0G2jAXsL4iy416kxmUNpC9peEBBxppfdXkJhK0umPyqxfvlH+u541KGP0m6JhxguFZ+cTgSxChslp5a66OtgjSYe+vhjbp9I9Vjh0Aqkpko9octco0asSojza08pFXupMfvR195RK79q7lPlcMsrBevgS7iCMqfF4suTz4V32MQ8f62USMFb+hzIX7V0dMiaLZm10QRmwJ0NxIgUNiNYAasUzm8dpCVGSoNqA4Of+R2qBotsner+BRnteIusmV9977OVkaQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1skQgo-00040T-9n for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2024 12:11: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: Sat, 31 Aug 2024 16:11: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.172512061315308 (code B ref 72704); Sat, 31 Aug 2024 16:11:02 +0000 Original-Received: (at 72704) by debbugs.gnu.org; 31 Aug 2024 16:10:13 +0000 Original-Received: from localhost ([127.0.0.1]:55572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skQg1-0003yq-5S for submit@debbugs.gnu.org; Sat, 31 Aug 2024 12:10:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skQfy-0003ya-Ob for 72704@debbugs.gnu.org; Sat, 31 Aug 2024 12:10:11 -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 1skQeu-0002q5-Or; Sat, 31 Aug 2024 12:09:04 -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=IAAgimfFr5/mMAjg4ZxKCrdCEAT6zwDlYkPowhXxjL4=; b=ZRnSrwtRyR1F Upnky6oRa7qca15Y4G3BVqVEngSLA88O5sXe1rkVNmZfzCQTe6lVk88ZDx0K2LKnELXd+7iXJzbWB +BYHFKUzC1jqzN8S138uVikGl/Itv6pmCgBgO226w7PgI8+5qSD+e/7reHMWxivR9G4OD8BConHag Tu1l5cTmvZ7BFr4iBCwSJ7ZVcaZvTGCE8HVJ41o90F1V3IjV6ug/9Trq02zQk2Hs6lJ0ht+vb8nMK YzdUPa6gtlsVl0EsqWnFRA7B1BBUeJRQnS7tPtSeu5vwxwGZx5Xa9JJ7cWSH7g6GFddX8tJiZHek5 0TY423ovHng6DsDHIpSV1g==; In-Reply-To: <87o758r8s4.fsf@breatheoutbreathe.in> (message from Joseph Turner on Sat, 31 Aug 2024 11:50:35 -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:291024 Archived-At: > From: Joseph Turner > Cc: briandg@gmail.com, rms@gnu.org, 72704@debbugs.gnu.org, juri@linkov.net > Date: Sat, 31 Aug 2024 11:50:35 -0400 > > >From dca1c5a6f3b56f7fe9f35f762732400e4e46c757 Mon Sep 17 00:00:00 2001 > From: Joseph Turner > Date: Sat, 31 Aug 2024 08:15:53 -0400 > Subject: [PATCH] Clarify skipping prompts in repunctuate-sentences docstring > > * lisp/textmodes/paragraphs.el (repunctuate-sentences): Update docstring. > > bug#72704 > > Suggested-by: Eli Zaretskii > --- > lisp/textmodes/paragraphs.el | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el > index be741e6517b..58d8d4b5f9c 100644 > --- a/lisp/textmodes/paragraphs.el > +++ b/lisp/textmodes/paragraphs.el > @@ -545,9 +545,11 @@ repunctuate-sentences > It works using `query-replace-regexp'. In Transient Mark mode, > if the mark is active, operate on the contents of the region. > Second and third arg START and END specify the region to operate on. > -If optional argument NO-QUERY is non-nil, make changes without asking > -for confirmation. You can use `repunctuate-sentences-filter' to add > -filters to skip occurrences of spaces that don't need to be replaced." > +Noninteractively, if optional argument NO-QUERY is non-nil, make changes > +without asking for confirmation. To achieve the same effect > +interactively, press \\\\[automatic] at the first prompt to skip remaining prompts. > +Use `repunctuate-sentences-filter' to add filters to skip occurrences of > +spaces that don't need to be replaced." > (declare (interactive-args (start (use-region-beginning)) > (end (use-region-end)))) > (interactive (list nil (use-region-beginning) (use-region-end))) > -- > 2.41.0 LGTM, thanks.