🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99208

case-fold-search

#99208
From: kpc
Date: Fri, 19 Oct 1990 09:18
33 lines
1663 bytes

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.
Technical Details
Message-ID: <KPC00.90Oct19021822@JUTS.ccc.amdahl.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!clyde.concordia.ca!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!juts.ccc.amdahl.com!kpc00

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,cc332d8fa87678a,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-10-19 02:18:22 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!clyde.concordia.ca!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!juts.ccc.amdahl.com!kpc00
From: kpc00@juts.ccc.amdahl.com (kpc)
Newsgroups: gnu.emacs.bug
Subject: case-fold-search
Message-ID: <KPC00.90Oct19021822@JUTS.ccc.amdahl.com>
Date: 19 Oct 90 09:18:22 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: my-organization
Lines: 33
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Fri Oct 19 10:18:22 1990