MAJOR BUG (mode lines)

Alan S. Driscoll alan at allegra.UUCP
Mon Apr 23 07:27:55 AEST 1984


> (1) vi/ex reading commands from its source files.  I reluctantly have to
> 	agree that this is a bad idea.  I can see where it would be very
> 	useful, but I think the dangers outway the advantages.
> (2) vi/ex reading .exrc from current directory and home directory:
> 	This one IS a good idea.  It can take the place of some of the 
> 	things that (1) was supposed to do.  Different types of files
> 	often require different configurations.  For example, 
> 	'autoindent' is very useful when writing a program, but a pain in
> 	the rear when typing text.  I like the idea of vi being 
> 	automatically reconfigured for these different tasks.

What if you have different sorts of files in the same directory?  Don't
you really want your editor's configuration determined by the extension
of the file you're editing?  That way, you get autoindent on '.c' files,
etc.  Gosling's Emacs has such a facility.

-- 
	Alan S. Driscoll
	AT&T Bell Laboratories



More information about the Net.bugs mailing list