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/>
- PDD 2nd go: Conventions and Guidelines for Perl Source C... Dave Mitchell
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Abhijit Menon-Sen
- Re: PDD 2nd go: Conventions and Guidelines for Perl... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Bart Lateur
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Dan Sugalski
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Graham Barr
- Re: PDD 2nd go: Conventions and Guidelines for ... Dan Sugalski
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Larry Wall
- Re: PDD 2nd go: Conventions and Guidelines for ... Dan Sugalski
- Re: PDD 2nd go: Conventions and Guidelines for ... Russ Allbery
- Re: PDD 2nd go: Conventions and Guidelines for Perl... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Dave Mitchell
- Re: PDD 2nd go: Conventions and Guidelines for Perl... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Graham Barr
- Re: PDD 2nd go: Conventions and Guidelines for ... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Dan Sugalski
- Re: PDD 2nd go: Conventions and Guidelines for ... H . Merijn Brand
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Jarkko Hietaniemi
- Re: PDD 2nd go: Conventions and Guidelines for Perl... Jarkko Hietaniemi
- Re: PDD 2nd go: Conventions and Guidelines for ... Russ Allbery