unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Eric Skoglund <eric@pagefault.se>
Cc: 47981@debbugs.gnu.org
Subject: bug#47981: [PATCH] Add newline and tab matching information to query-replace-regexp docstring.
Date: Sun, 25 Apr 2021 05:46:18 -0500	[thread overview]
Message-ID: <CADwFkmncxbG+43ggvrJRP+VB1J8X9wHupDKvXH0cq-z_QmR_5g@mail.gmail.com> (raw)
In-Reply-To: <87wnsrwok1.fsf@pagefault.se> (Eric Skoglund's message of "Sat, 24 Apr 2021 18:00:22 +0000")

Eric Skoglund <eric@pagefault.se> writes:

> From de9dccf31500ed896296ea11c7b4740c1c7a17ea Mon Sep 17 00:00:00 2001
> From: Eric Skoglund <eric@pagefault.se>
> Date: Fri, 23 Apr 2021 22:10:07 +0200
> Subject: [PATCH] Add newline and tab matching documentation to
>  query-replace-regexp
>
> * lisp/replace.el: Add \n and \t matching information to
> query-replace-regexp docstring.
> ---
>  lisp/replace.el | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/lisp/replace.el b/lisp/replace.el
> index b5dea61924..81c465eb7f 100644
> --- a/lisp/replace.el
> +++ b/lisp/replace.el
> @@ -432,6 +432,10 @@ query-replace-regexp
>  of the region.  Otherwise, operate from point to the end of the buffer's
>  accessible portion.
>
> +When invoked interactivly, Matching a newline with `\n' will not work,
                ^ interactively
                              ^ matching
> +use `C-q C-j' instead.  Similarly to match a tab character (`\t')
                           ^ I would delete the word "Similarly"
> +just press `TAB'.
> +

Other than that, LGTM.





  reply	other threads:[~2021-04-25 10:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-23 20:35 bug#47981: [PATCH] Add newline and tab matching information to query-replace-regexp docstring Eric Skoglund
2021-04-24  0:10 ` Filipp Gunbin
2021-04-24  5:25   ` Eric Skoglund
2021-04-26 14:12     ` Filipp Gunbin
2021-04-24  6:04 ` Eli Zaretskii
2021-04-24 18:00   ` Eric Skoglund
2021-04-25 10:46     ` Stefan Kangas [this message]
2021-04-25 11:28       ` Eric Skoglund
2021-05-02  9:13         ` Lars Ingebrigtsen

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=CADwFkmncxbG+43ggvrJRP+VB1J8X9wHupDKvXH0cq-z_QmR_5g@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=47981@debbugs.gnu.org \
    --cc=eric@pagefault.se \
    /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).