From: Bill Wohler <wohler@newt.com>
To: emacs-devel@gnu.org
Subject: Re: tabs v spaces in Emacs's source files
Date: Sat, 08 Mar 2008 13:13:29 -0800 [thread overview]
Message-ID: <87pru4q5qe.fsf@olgas.newt.com> (raw)
In-Reply-To: 8763vympbr.fsf@red-bean.com
Karl Fogel <kfogel@red-bean.com> writes:
> "Juanma Barranquero" <lekktu@gmail.com> 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 <wohler@newt.com> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
next prev parent reply other threads:[~2008-03-08 21:13 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 4:33 tabs v spaces in Emacs's source files Glenn Morris
2008-03-07 4:44 ` Miles Bader
2008-03-07 10:19 ` Andreas Schwab
2008-03-07 11:18 ` Juanma Barranquero
2008-03-07 12:28 ` Pete Forman
2008-03-07 14:56 ` Juanma Barranquero
2008-03-07 15:02 ` Johan Bockgård
2008-03-07 15:10 ` Juanma Barranquero
2008-03-07 17:11 ` Karl Fogel
2008-03-08 0:38 ` Juanma Barranquero
2008-03-08 12:58 ` Eli Zaretskii
2008-03-08 20:52 ` Stefan Monnier
2008-03-08 21:13 ` Bill Wohler [this message]
2008-03-08 23:56 ` Miles Bader
2008-03-09 16:39 ` Richard Stallman
2008-03-07 17:21 ` Drew Adams
2008-03-08 13:00 ` Eli Zaretskii
2008-03-08 23:19 ` Drew Adams
2008-03-09 2:40 ` Stefan Monnier
2008-03-08 17:40 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pru4q5qe.fsf@olgas.newt.com \
--to=wohler@newt.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.