Xref: utzoo unix-pc.bugs:49 comp.sys.att:4400 comp.unix.wizards:11496 Path: utzoo!attcan!uunet!ukma!nrl-cmf!cmcl2!lanl!unm-la!unmvax!mike From: mike@turing.unm.edu (Michael I. Bushnell) Newsgroups: unix-pc.bugs,comp.sys.att,comp.unix.wizards Subject: Re: Weird problem with vi... "Not that many lines in buffer" Keywords: vi, bug Message-ID: <1217@unmvax.unm.edu> Date: 27 Sep 88 08:27:45 GMT References: <508@icus.islp.ny.us> <3552@ihlpe.ATT.COM> Sender: news@unmvax.unm.edu Reply-To: mike@turing.unm.edu (Michael I. Bushnell) Followup-To: unix-pc.bugs Organization: University of No Money, Albuquerque, New Mexico Lines: 23 In-reply-to: woods@ihlpe.ATT.COM (Swan) Gee...I hate to point it out, but there is an editor which allows you to have "ex: " or "vi: " in a file you edit. Can you say EMACS? Actually, GNU Emacs does have a similar feature, but there is something to be said for the manner in which you envoke it. To set the major mode, you put the string "-*- ModeName -*-" at the front of the file somewhere. Pretty unlikely to see this in normal text. In the general case, you put "Local Variables:" near the end of the file, and a list of variables, and then "End:". I think it was a good decision to make this something which will not occur in normal text frequently. In fact, the design is such that it is easy to write files which describe this behavior without it getting in the way. -- -- N u m q u a m G l o r i a D e o \ Michael I. Bushnell \ HASA - "A" division /\ mike@turing.unm.edu / \ {ucbvax,gatech}!unmvax!turing.unm.edu!mike