From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: Improve the docstring of case-fold-search Date: Wed, 22 Jul 2009 10:11:40 +0200 Message-ID: <87eis9jfwj.fsf@bzg.ath.cx> References: <877hy1ea1l.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 1248250479 26951 80.91.229.12 (22 Jul 2009 08:14:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jul 2009 08:14:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 22 10:14:32 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 1MTWy7-0003RR-5X for ged-emacs-devel@m.gmane.org; Wed, 22 Jul 2009 10:14:31 +0200 Original-Received: from localhost ([127.0.0.1]:51058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTWy6-0004QG-DP for ged-emacs-devel@m.gmane.org; Wed, 22 Jul 2009 04:14:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTWvd-0003qM-Vl for emacs-devel@gnu.org; Wed, 22 Jul 2009 04:11:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTWvY-0003ob-FU for emacs-devel@gnu.org; Wed, 22 Jul 2009 04:11:56 -0400 Original-Received: from [199.232.76.173] (port=45647 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTWvY-0003oW-8P for emacs-devel@gnu.org; Wed, 22 Jul 2009 04:11:52 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:15260) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTWvX-0002l7-Qh for emacs-devel@gnu.org; Wed, 22 Jul 2009 04:11:52 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.251]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTWvW-0000RM-TQ for emacs-devel@gnu.org; Wed, 22 Jul 2009 04:11:51 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so11379rvb.6 for ; Wed, 22 Jul 2009 01:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type; bh=GyF0uLLE5I1xP9mjOcacmPCRjuOAmzexUVPYLjj1xWE=; b=UsQU0diA4B4n06ryn1tjEgzfFQqT8G7+4lQhE7bN5yc0OkRMzAoz1hTv+HS6tqmt1H P1fkPBTS67ZFoJ8GePC+fZ4SkkW4qwSh/beKK53xOckmay7uyApB6cqAaeunHm3iczRN 9unuXFLvacY7NFbte65Da2rszWOq3Cs1Q+N5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; b=T0rHgQpTn/OA4UVqECt+zllKzoRCY7vzJa642V6pNcLcW9PnW6x3JBBrw+8LQ7Kpxq yi+7wNsJVaLJWoekM7dYxpT3+XbjbyNWBnASCP9n/+VwFsggB00f4TniZ42TWD2uA4Et aJI+6hcsjW5Yyseb6gVC4J3LRyAC3HyVZPUmM= Original-Received: by 10.141.36.17 with SMTP id o17mr365492rvj.270.1248250308895; Wed, 22 Jul 2009 01:11:48 -0700 (PDT) Original-Received: from bzg.ath.cx ([222.29.50.13]) by mx.google.com with ESMTPS id b39sm245374rvf.33.2009.07.22.01.11.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Jul 2009 01:11:47 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Tue, 21 Jul 2009 23:38:48 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:112992 Archived-At: Stefan Monnier writes: > As written, the doc is wrong. The magic "pay attention to case if > there's a capital letter" is not done "within case-fold-search" but > within isearch (and maybe a few more places) which then bind > case-fold-search to the appropriate value. /me trying to figure out what other places... > 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. Yes. And add a `case-fold-isearch' option with a docstring reflecting the behavior described in the Search Case of the manual. Be maybe there are other functions than isearch that would make use of it. -- Bastien