GNU bug report logs - #23038
25.0.92; M-% from isearch broken (error in isearch--describe-regexp-mode)

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Thu, 17 Mar 2016 14:08:01 UTC

Severity: normal

Merged with 23084

Found in version 25.0.92

Fixed in version 25.1

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

Full log


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

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Kaushal <kaushal.modi <at> gmail.com>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, Eli Zaretskii <eliz <at> gnu.org>,
 23038 <at> debbugs.gnu.org
Subject: Re: 25.0.92;
 M-% from isearch broken (error in isearch--describe-regexp-mode)
Date: Fri, 18 Mar 2016 00:53:49 -0300
[Message part 1 (text/plain, inline)]
On 17 Mar 2016 11:26 am, "Kaushal Modi" <kaushal.modi <at> gmail.com> wrote:
>
> I would let you and others evaluate this proposed fix.
>
> diff --git a/lisp/isearch.el b/lisp/isearch.el
> index 988503e..9b8a0f0 100644
> --- a/lisp/isearch.el
> +++ b/lisp/isearch.el
> @@ -2594,7 +2594,8 @@ isearch--describe-regexp-mode
>            (isearch-regexp "regexp ")
>            ;; 4. And finally, if we're in literal mode (and if the
>            ;;    default mode is also not literal), describe it.
> -               ((functionp search-default-mode) "literal "))))
> +          ((functionp search-default-mode) "literal ")
> +          (t ""))))
>      (if space-before
>          ;; Move space from the end to the beginning.
>          (replace-regexp-in-string "\\(.*\\) \\'" " \\1" description)

Thanks Kaushal! It looks good to me.
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 120 days ago.

Previous Next


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