[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tabs v spaces in Emacs's source files
From: |
Bill Wohler |
Subject: |
Re: tabs v spaces in Emacs's source files |
Date: |
Sat, 08 Mar 2008 13:13:29 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Karl Fogel <address@hidden> writes:
> "Juanma Barranquero" <address@hidden> writes:
>> But anyway, the point is that there's a lot of code using spaces. If
>> there's a real interest in using only tabs, I'd suggest start adding
>> indent-tabs-mode cookies to local variables sections.
>
> I very much prefer spaces, because they're diff-safe (for example, in
> commit emails).
>
> With TABs, an unlucky indentation boundary can cause code to jump many
> display columns to the right, due to the "+"/"-" column along the left
> edge of the diff. This makes reading diffs of TAB-indented code a dicey
> game.
In addition to generating unreadable diffs, tabbed programs also
produce unreadable output in a terminal window or when printed.
spaces *= Integer.MAX_VALUE;
--
Bill Wohler <address@hidden> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
- Re: tabs v spaces in Emacs's source files, (continued)
- Re: tabs v spaces in Emacs's source files, Andreas Schwab, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Juanma Barranquero, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Pete Forman, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Juanma Barranquero, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Johan Bockgård, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Juanma Barranquero, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Karl Fogel, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Juanma Barranquero, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Eli Zaretskii, 2008/03/08
- Re: tabs v spaces in Emacs's source files, Stefan Monnier, 2008/03/08
- Re: tabs v spaces in Emacs's source files,
Bill Wohler <=
- Re: tabs v spaces in Emacs's source files, Miles Bader, 2008/03/08
- Re: tabs v spaces in Emacs's source files, Richard Stallman, 2008/03/09
- RE: tabs v spaces in Emacs's source files, Drew Adams, 2008/03/07
- Re: tabs v spaces in Emacs's source files, Eli Zaretskii, 2008/03/08
- RE: tabs v spaces in Emacs's source files, Drew Adams, 2008/03/08
- Re: tabs v spaces in Emacs's source files, Stefan Monnier, 2008/03/08
Re: tabs v spaces in Emacs's source files, Richard Stallman, 2008/03/08