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


View this message in rfc822 format

From: Brian Green <briandg <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 72704 <at> debbugs.gnu.org, juri <at> linkov.net, rms <at> gnu.org, Joseph Turner <joseph <at> breatheoutbreathe.in>
Subject: bug#72704: 29.4; repunctuate-sentences ignores NO-QUERY
Date: Sat, 31 Aug 2024 10:26:58 -0700
Seems clear. Thanks, everyone.

On Sat, Aug 31, 2024 at 9:09 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Joseph Turner <joseph <at> breatheoutbreathe.in>
> > Cc: briandg <at> gmail.com,  rms <at> gnu.org,  72704 <at> debbugs.gnu.org,  juri <at> linkov.net
> > Date: Sat, 31 Aug 2024 11:50:35 -0400
> >
> > >From dca1c5a6f3b56f7fe9f35f762732400e4e46c757 Mon Sep 17 00:00:00 2001
> > From: Joseph Turner <joseph <at> breatheoutbreathe.in>
> > 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 <eliz <at> gnu.org>
> > ---
> >  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 \\<query-replace-map>\\[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.




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.