GNU bug report logs - #22991
25.0.92: C-u C-s does not display "Regexp I-search:" in the echo area

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Fri, 11 Mar 2016 19:50:02 UTC

Severity: normal

Found in version 25.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kaushal Modi <kaushal.modi <at> gmail.com>
To: 22991 <at> debbugs.gnu.org, arturmalabarba <at> gmail.com
Subject: bug#22991: 25.0.92: C-u C-s does not display "Regexp I-search:" in the echo area
Date: Fri, 11 Mar 2016 14:48:29 -0500
[Message part 1 (text/plain, inline)]
Tested in the latest emacs-25 build as of today.

emacs -Q
C-u C-s

The echo area will show "I-search:".
Earlier it used to show "Regexp I-search:" and that made it clear that we
are doing regexp search.

This change happened after this revert:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=b417c5a3b35bf31e66a170529c5aeb34cb3318d0

So it looks like that isearch-message-prefix was bound to
search-default-mode being non-nil.

I verified that "C-u C-s" shows "Regexp I-search:" fine in emacs 24.5. But
that version did not have the search-default-mode.

I believe that the clarity of regexp isearch being on/off is missing,
especially when C-u C-s DOES do regexp search and still displays "I-search:
" in the echo.

If I set search-default-mode back to "#'character-fold-to-regexp", this
issue is gone. So displaying of "Regexp I-search:" should be decoupled from
the character-fold.el library.

--
Kaushal Modi
[Message part 2 (text/html, inline)]

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

Previous Next


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