From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthew Huggett Newsgroups: gmane.emacs.help Subject: Re: Case sensitive search in emacs info reader Date: Thu, 17 Feb 2005 04:26:46 +0900 (JST) Message-ID: <20050216192646.B5A0F1975FA@smtp2.att.ne.jp> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1108582115 25540 80.91.229.2 (16 Feb 2005 19:28:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2005 19:28:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 16 20:28:35 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D1UqM-0001HB-Pe for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Feb 2005 20:28:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1V6M-0006TN-HF for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Feb 2005 14:44:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D1V5h-0006J1-Bi for help-gnu-emacs@gnu.org; Wed, 16 Feb 2005 14:44:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D1V5b-0006FT-7W for help-gnu-emacs@gnu.org; Wed, 16 Feb 2005 14:44:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1V5b-0006Ep-0y for help-gnu-emacs@gnu.org; Wed, 16 Feb 2005 14:43:59 -0500 Original-Received: from [165.76.15.138] (helo=smtp2.att.ne.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D1Up1-0003pT-4s for help-gnu-emacs@gnu.org; Wed, 16 Feb 2005 14:26:51 -0500 Original-Received: from MATT-DESKTOP (218.45.67.90.eo.eaccess.ne.jp [218.45.67.90]) by smtp2.att.ne.jp (Postfix) with ESMTP id B5A0F1975FA for ; Thu, 17 Feb 2005 04:26:46 +0900 (JST) Original-To: help-gnu-emacs@gnu.org In-reply-to: (message from Harry Putnam on Wed, 16 Feb 2005 12:29:17 -0600) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24136 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24136 > > I want my searches in Emacs info reader to always be case sensitive. > > I have this in emacs: > (setq case-fold-search nil) > And I've tried: > (setg-default case-fold-search nil) > > Neither of these produce case sensitive searchs in info. > > Evaluating (setq case-fold-search nil) while in the info reader does > make them case sensitive so how can I make that permanent? How about something like the following (in your .emacs) : ,---- | (defun case-fold-nil () | (setq case-fold-search nil)) | | (add-hook 'Info-mode-hook 'case-fold-nil) `---- Matt