Larry Wall <[EMAIL PROTECTED]> writes:
> Dan Sugalski writes:

>> 1) The indentation should be all tabs or all spaces. No mix, it's a
>> pain.

> This will devolve into an editor war, and I don't think it's a real
> issue.

I'm not positive that it will.  I can provide the magic incantations that
work for both emacs and vim, and most other editors have similar
customization.  In fact, the problem is largely caused by emacs (where
it's easiest to fix), since emacs in a default configuration tends to
gratiutiously change spaces into tabs.

One thing that may be seriously worth considering is actually putting a
local variables block into every file that sets up the proper settings for
the most commonly used editors.  Both emacs and vim support such a thing,
and it's about five lines of boilerplate that can be put at the end of the
file and will then automatically make those editors just Do The Right
Thing.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to