Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/etc/skel



On Wed, Oct 19, 2011 at 08:53:48AM -0400, Greg Troxel wrote:
 > > Please restore EDITOR=vi, otherwise the following message is going to
 > > haunt me for the rest of time:
 > >
 > > $ svn commit
 > > svn: Commit failed (details follow):
 > > svn: Could not use external editor to fetch log message; consider
 > > setting the $SVN_EDITOR environment variable or using the --message
 > > (-m) or --file (-F) options
 > > svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR
 > > are set, and no 'editor-cmd' run-time configuration option was found
 > 
 > I thought the historical default was that EDITOR should be ex, and
 > VISUAL vi.  But again this is preference; others like emacs.  So you're
 > really asking that the default for all users be set the way you like it,
 > instead of making your own choices and setting them.  To me this is an
 > argument for not having these values set in global default files.

Until we import emacs into base, the only sane thing to set EDITOR to
by default is vi.

Since there is apparently at least one program that fails gratuitously
when EDITOR isn't set at all, and other programs will run ed by
default, setting EDITOR to vi by default is not wrong.

Remember, this is in /etc/skel, not /etc/csh.cshrc.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index