From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Improve the docstring of case-fold-search Date: Mon, 27 Jul 2009 13:27:48 -0400 Message-ID: References: <877hy1ea1l.fsf@bzg.ath.cx> <877hxuonhz.fsf@bzg.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248716007 10040 80.91.229.12 (27 Jul 2009 17:33:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2009 17:33:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 27 19:33:20 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MVU4d-0006hn-Pa for ged-emacs-devel@m.gmane.org; Mon, 27 Jul 2009 19:33:20 +0200 Original-Received: from localhost ([127.0.0.1]:34251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVU4d-0000jy-8K for ged-emacs-devel@m.gmane.org; Mon, 27 Jul 2009 13:33:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVU4X-0000j5-0S for emacs-devel@gnu.org; Mon, 27 Jul 2009 13:33:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVU4S-0000h7-Fw for emacs-devel@gnu.org; Mon, 27 Jul 2009 13:33:12 -0400 Original-Received: from [199.232.76.173] (port=46489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVU4S-0000gl-4W for emacs-devel@gnu.org; Mon, 27 Jul 2009 13:33:08 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:45625) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVTzN-0004tN-CF for emacs-devel@gnu.org; Mon, 27 Jul 2009 13:27:53 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVTzL-0002jT-N7 for emacs-devel@gnu.org; Mon, 27 Jul 2009 13:27:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AigFAAeAbUpFxJuZ/2dsb2JhbACBUdAFhAwFhxU X-IronPort-AV: E=Sophos;i="4.43,277,1246852800"; d="scan'208";a="42302318" Original-Received: from 69-196-155-153.dsl.teksavvy.com (HELO pastel.home) ([69.196.155.153]) by ironport2-out.teksavvy.com with ESMTP; 27 Jul 2009 13:27:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 340647F56; Mon, 27 Jul 2009 13:27:49 -0400 (EDT) In-Reply-To: <877hxuonhz.fsf@bzg.ath.cx> (Bastien's message of "Mon, 27 Jul 2009 10:42:16 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-Detected-Operating-System: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113234 Archived-At: >> The case-fold-search variable is pretty low-level and applies to >> functions like re-search-forward. Maybe it shouldn't be customizable to >> avoid such confusion. > As a first step toward this, I don't see why you'd need steps for this. > the attached patch creates an option for > `isearch-case-fold-search'. The possible values for this option are: > t : isearch ignores case > nil : isearch does not ignore case > 'yes : isearch ignores mixed case > 'case-fold-search : isearch uses the local case-fold-search > Is it okay to apply this? I don't understand what use cases we're trying to address here. Stefan