all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: RE: tabs v spaces in Emacs's source files
Date: Fri, 7 Mar 2008 09:21:55 -0800	[thread overview]
Message-ID: <009f01c88077$be286100$0600a8c0@us.oracle.com> (raw)
In-Reply-To: <f7ccd24b0803070710w5581aa84i8bdc37e394e865d0@mail.gmail.com>

I don't know whether the coding standard is strict in preferring TAB
characters, or why it would be. And I don't know if it is cast in concrete
or is open to suggestions. When we post patches, we generally create them
using `diff -c -w' AFAIK, which would seem to suggest an agnostic (or at
least a loose) approach to indenting whitespace.

FWIW, I prefer to work with code that uses TAB characters only where they
are pertinent - e.g. in strings. IOW, I use spaces for indenting. Turning on
highlighting of TAB chars then shows me only the places where a TAB
character is really important. I like those TABS to stand out; I don't like
the noise that comes from TABs used just to indent code. Just one opinion.






  parent reply	other threads:[~2008-03-07 17:21 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
2008-03-08 23:56                 ` Miles Bader
2008-03-09 16:39                 ` Richard Stallman
2008-03-07 17:21             ` Drew Adams [this message]
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='009f01c88077$be286100$0600a8c0@us.oracle.com' \
    --to=drew.adams@oracle.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.