public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] About how many spaces a tab represents
Date: Mon, 15 Apr 2013 00:04:31 +0200	[thread overview]
Message-ID: <20843.10223.857334.99070@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <20130414222531.1c285ce4@googlemail.com>

>>>>> On Sun, 14 Apr 2013, Ciaran McCreesh wrote:

> On Sun, 14 Apr 2013 23:22:04 +0200
> Pacho Ramos <pacho@gentoo.org> wrote:
>> It stated a tab represents 4 spaces. Where does this rule come from?
>> Why 8 spaces wasn't chosen instead? I say that because looks like 8
>> spaces equivalence is used by tools like "cat", "less", even CVS
>> reports in gentoo-commits show tabs as 8 spaces instead of 4. 

> Hysterical raisins. Unfortunately drobbins mandated it that way early
> on, because he didn't use a proper text editor.

AFAIK, there's no standard that specifies the positions of tab stops,
so multiples of 4 are as good as anything else. Different text editors
have different defaults (Emacs uses multiples of 8, but it's easy to
change).

Of course, once you have a convention that is widely followed, it's
wise not to change it ...

Ulrich


  reply	other threads:[~2013-04-14 22:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-14 21:22 [gentoo-dev] About how many spaces a tab represents Pacho Ramos
2013-04-14 21:25 ` Ciaran McCreesh
2013-04-14 22:04   ` Ulrich Mueller [this message]
2013-04-15  5:21 ` Michał Górny
2013-04-15  6:15   ` Pacho Ramos
2013-04-15 11:10     ` Aaron W. Swenson
2013-04-15 19:06       ` Alec Warner
2013-04-15 20:05       ` Andreas K. Huettel
2013-04-17 18:26 ` Mike Frysinger

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=20843.10223.857334.99070@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox