[comp.emacs] case-fold-search

kpc00@JUTS.ccc.amdahl.com (kpc) (10/19/90)

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.

phil_y@hpfcso.HP.COM (Phil Yastrow) (11/16/90)

I use emacs regularly and have no clue as to the meaning of this base note. 
Am I missing something?