From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#18017: 24.4.50; Isearch case sensitivity broken/confusing Date: Tue, 15 Jul 2014 00:17:45 +0300 Organization: JURTA Message-ID: <87wqbftzb9.fsf@mail.jurta.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405372770 27768 80.91.229.3 (14 Jul 2014 21:19:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jul 2014 21:19:30 +0000 (UTC) Cc: 18017@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 14 23:19:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X6neb-0002Rj-TX for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Jul 2014 23:19:22 +0200 Original-Received: from localhost ([::1]:60199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6neb-00075m-FB for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Jul 2014 17:19:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6neQ-00073y-K9 for bug-gnu-emacs@gnu.org; Mon, 14 Jul 2014 17:19:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6neJ-0002Ti-4Y for bug-gnu-emacs@gnu.org; Mon, 14 Jul 2014 17:19:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6neJ-0002TZ-25 for bug-gnu-emacs@gnu.org; Mon, 14 Jul 2014 17:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X6neI-00015R-2S for bug-gnu-emacs@gnu.org; Mon, 14 Jul 2014 17:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Jul 2014 21:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18017-submit@debbugs.gnu.org id=B18017.14053727344163 (code B ref 18017); Mon, 14 Jul 2014 21:19:02 +0000 Original-Received: (at 18017) by debbugs.gnu.org; 14 Jul 2014 21:18:54 +0000 Original-Received: from localhost ([127.0.0.1]:55038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X6neA-000153-4l for submit@debbugs.gnu.org; Mon, 14 Jul 2014 17:18:54 -0400 Original-Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:34763 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X6ne7-00014u-EJ for 18017@debbugs.gnu.org; Mon, 14 Jul 2014 17:18:52 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B32C6348328ECB; Mon, 14 Jul 2014 14:18:49 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Mon, 14 Jul 2014 09:02:56 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91552 Archived-At: > Type this in buffer *scratch*: > > Add > add > ADD > > M-x set-variable case-fold-search nil > > C-s add C-s > > C-s M-c C-s > > The M-c says that search is now case-insensitive, but the second and > subsequent C-s's do not find occurrences Add and ADD. > > C-s add C-s > > That finds all three (case-insensitive). Did you mean `C-s M-c add C-s' in the last key sequence (that finds all case-insensitive)? You have to use M-c to toggle case-sensitivity for case-fold-search that you set to nil. And `C-s C-s' naturally restores case-sensitivity of the previous search string, but it's possible to configure this using `isearch-keep-mode-variables' from bug#11378.