From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.devel Subject: Re: string-match case sensivity depends on case-fold-search buffer local value? Date: Tue, 18 Oct 2005 21:51:39 +0200 Message-ID: <20051018195139.GA7249@rocksteady.printf.se> References: <4354F390.7070007@student.lu.se> <4355484C.9010905@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129665210 28314 80.91.229.2 (18 Oct 2005 19:53:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 19:53:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 18 21:53:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERxVC-00072y-7E for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2005 21:52:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERxVB-0002zF-Gl for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2005 15:52:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERxUu-0002vn-Fy for emacs-devel@gnu.org; Tue, 18 Oct 2005 15:51:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERxUs-0002uM-Nb for emacs-devel@gnu.org; Tue, 18 Oct 2005 15:51:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERxUs-0002uE-Gp for emacs-devel@gnu.org; Tue, 18 Oct 2005 15:51:42 -0400 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ERxUs-0004jD-NE for emacs-devel@gnu.org; Tue, 18 Oct 2005 15:51:42 -0400 Original-Received: from rocksteady.printf.se (81.224.154.131) by pne-smtpout2-sn1.fre.skanova.net (7.2.060.1) id 434E6D1D0011283B for emacs-devel@gnu.org; Tue, 18 Oct 2005 21:51:39 +0200 Original-Received: by rocksteady.printf.se (Postfix, from userid 1000) id 63E083FDE; Tue, 18 Oct 2005 21:51:39 +0200 (CEST) Original-To: emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <4355484C.9010905@student.lu.se> 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:44275 Archived-At: Lennart Borgman writes: > Kevin Rodgers wrote: > > >Lennart Borgman wrote: > > > >>I am beeing disturbed by this sentence in the docstring for > >>`string-match': > >> > >> Case is ignored if `case-fold-search' is non-nil in the current > >>buffer. > >> > >>Is this really true? > > > > > >I hope so, otherwise how could you specify that the match must be > >case-sensitive or case-insensitive? Now it can be done by let- > >binding case-fold-search. > > Thanks, but there is still something I do not understand. Why is "the > current buffer" mentioned? I thought that maybe it could not be let-bound. Because case-fold-search is buffer-local.