emacs-devel
[Top][All Lists]
Advanced

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]