Xref: utzoo comp.unix.questions:9863 comp.bugs.sys5:636 Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!ll-xn!mit-eddie!bbn!ulowell!m2c!applix!mark From: mark@applix.UUCP (Mark Fox) Newsgroups: comp.unix.questions,comp.bugs.sys5 Subject: Re: vi `ei:' (`modeline') Summary: Why I use ignorecase Message-ID: <828@applix.UUCP> Date: 20 Oct 88 15:55:28 GMT References: <3394@dunkshot.mips.COM> <1235@cbnews.ATT.COM> <13215@hqda-ai.ARPA> <7052@ki4pv.uucp> <1221@X.UUCP> <1857@loral.UUCP> <4151@boulder.Colorado.EDU> Reply-To: mark@applix.UUCP (Mark Fox) Organization: APPLiX Inc., Westboro MA Lines: 19 In article <4151@boulder.Colorado.EDU> wu@spot.Colorado.EDU (WU SHI-KUEI) writes: >In article <1857@loral.UUCP> jlh@loral.UUCP (Physically Pffft) writes: >>..... There are also some files where I want ignorecase turned off, while >>I want it on 95% of the time. > >.... but why turn on ignorecase? We have people here who like to name their C variables with mixed case, e.g., windowId instead of window_id or wid. The X windows interface functions are also mixed case. Furthermore, we strongly encourage our people to capitalize the first letter of globals. The people who wrote the Proximity dictionary utilities also share that practice. Therefore, if I am looking for a variable, if I set ignorecase, I don't have to remember what case it was typed in with. (Let's see is it windowId, WindowID, or ...) Very helpful when looking at other peoples' code. -- Mark UUCP: ...harvard!m2c!applix!mark mark@applix.m2c.org