unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21148: 25.0.50; Huge problems with case-insensitive search
@ 2015-07-28  8:44 Sebastien Vauban
  2015-07-28 13:23 ` Artur Malabarba
       [not found] ` <mailman.7537.1438089852.904.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastien Vauban @ 2015-07-28  8:44 UTC (permalink / raw)
  To: 21148-ubl+/3LiMTaZdePnXv/OxA

As you can see on the screencast http://screencast.com/t/nq7xkfJiy,
case-insensitive [1] searches are becoming very fuzzy to me.

Sample text file:

--8<---------------cut here---------------start------------->8---
Let's search for all case-insensitive occurrences of "workingd"...

#+begin_src shell :var workingDir=(file-name-directory (buffer-file-name))
# No init file.
cmd="$EMACS -q -l ${workingDir}.init.el"
#+end_src
--8<---------------cut here---------------end--------------->8---

Recipe:

- Incremantally search (with `C-s') for "workingd"

Problems:

- While point is at the beginning of the buffer, and while the string
  "workingd" exists in the buffer, Isearch tells me from the start that
  it fails finding my pattern!??

- As the search is case-insensitive, `C-s' should allow me to cycle
  between the 3 strings found (1 "workingd" and 2 "workingD"), but it
  finally only finds the exact match "workingd".

Note -- Anzu correctly reports me (in the modeline) that there are
        3 found strings...

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2015-07-03 on LEG570
Repository revision: 2b848fadd51e805b2f46da64c5958ea7f009048a
Windowing system distributor `Microsoft Corp.', version 6.3.9600
Configured using:
 `configure --host=i686-pc-mingw32 --enable-checking=yes,glyphs'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

[1]  ┌────
     │ case-fold-search is a variable defined in ‘C source code’.
     │ Its value is t
     │ 
     │   Automatically becomes buffer-local when set.
     │ 
     │ Documentation:
     │ Non-nil if searches and matches should ignore case.
     └────






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-28 23:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-28  8:44 bug#21148: 25.0.50; Huge problems with case-insensitive search Sebastien Vauban
2015-07-28 13:23 ` Artur Malabarba
     [not found] ` <mailman.7537.1438089852.904.bug-gnu-emacs@gnu.org>
     [not found]   ` <mailman.7537.1438089852.904.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2015-07-28 13:50     ` Sebastien Vauban
2015-07-28 14:10       ` Artur Malabarba
2015-07-28 23:15         ` Artur Malabarba

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).