Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!newstop!sun!amdahl!JUTS!kpc00 From: kpc00@JUTS.ccc.amdahl.com (kpc) Newsgroups: comp.emacs Subject: case-fold-search Message-ID: Date: 19 Oct 90 09:33:56 GMT Sender: kpc00@ccc.amdahl.com Organization: my-organization Lines: 32 Here is a quick suggestion for case-fold-search values for GNU emacs and any other editors that don't have their equivalents already: nil searches don't fold 'up searches fold up but not down 'down searches fold down but not up t searches fold both directions With 'up, for example, /aBc/ matches /aBc/ and /ABc/, but not /AbC/. Another suggestion is to allow quoting in a string or a regexp to have a character not be folded. e.g. /\Abc/ when c-f-s is t matches /Abc/ but not /abc/. (In GNU emacs 18.55, it's this:) case-fold-search's value is t Documentation: *Non-nil if searches should ignore case. Automatically becomes local when set in any fashion. These changes would be nice in grep(1) and elsewhere also. pc-write is the only program that I know of that can do 'up. -- If you do not receive a reply from me, please resend your mail; occasionally this site's mail gets delayed. Neither representing any company nor, necessarily, myself.