unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: 21148-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#21148: 25.0.50; Huge problems with case-insensitive search
Date: Tue, 28 Jul 2015 10:44:30 +0200	[thread overview]
Message-ID: <86pp3chdsh.fsf@example.com> (raw)

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.
     └────






             reply	other threads:[~2015-07-28  8:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28  8:44 Sebastien Vauban [this message]
2015-07-28 13:23 ` bug#21148: 25.0.50; Huge problems with case-insensitive search 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

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=86pp3chdsh.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=21148-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
    /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).