From: Karl Fogel <kfogel@red-bean.com>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: tabs v spaces in Emacs's source files
Date: Fri, 07 Mar 2008 12:11:36 -0500 [thread overview]
Message-ID: <8763vympbr.fsf@red-bean.com> (raw)
In-Reply-To: <f7ccd24b0803070710w5581aa84i8bdc37e394e865d0@mail.gmail.com> (Juanma Barranquero's message of "Fri, 7 Mar 2008 16:10:17 +0100")
"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.
-Karl
next prev parent reply other threads:[~2008-03-07 17:11 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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8763vympbr.fsf@red-bean.com \
--to=kfogel@red-bean.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).