GNU bug report logs - #47981
[PATCH] Add newline and tab matching information to query-replace-regexp docstring.

Previous Next

Package: emacs;

Reported by: Eric Skoglund <eric <at> pagefault.se>

Date: Fri, 23 Apr 2021 20:36:01 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 47981 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eric Skoglund <eric <at> pagefault.se>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 47981 <at> debbugs.gnu.org
Subject: Re: bug#47981: [PATCH] Add newline and tab matching information to
 query-replace-regexp docstring.
Date: Sun, 25 Apr 2021 05:46:18 -0500
Eric Skoglund <eric <at> pagefault.se> writes:

> From de9dccf31500ed896296ea11c7b4740c1c7a17ea Mon Sep 17 00:00:00 2001
> From: Eric Skoglund <eric <at> 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.




This bug report was last modified 4 years and 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.