all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Joseph Turner <joseph@breatheoutbreathe.in>
Cc: briandg@gmail.com, juri@linkov.net, rms@gnu.org, 72704@debbugs.gnu.org
Subject: bug#72704: 29.4; repunctuate-sentences ignores NO-QUERY
Date: Sat, 31 Aug 2024 19:08:55 +0300	[thread overview]
Message-ID: <868qwcbroo.fsf@gnu.org> (raw)
In-Reply-To: <87o758r8s4.fsf@breatheoutbreathe.in> (message from Joseph Turner on Sat, 31 Aug 2024 11:50:35 -0400)

> From: Joseph Turner <joseph@breatheoutbreathe.in>
> 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 <joseph@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@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.





  reply	other threads:[~2024-08-31 16:08 UTC|newest]

Thread overview: 33+ 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
2024-08-27 13:06         ` Richard Stallman
2024-08-27 13:06         ` use-region-beginning Richard Stallman
2024-08-29  9:34           ` use-region-beginning Eli Zaretskii
2024-08-24  6:30       ` bug#72704: 29.4; repunctuate-sentences ignores NO-QUERY 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 [this message]
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

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

  git send-email \
    --in-reply-to=868qwcbroo.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.