Re: Tabs or Spaces - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Tabs or Spaces
Date
Msg-id 20070105004119.GD3792@alvh.no-ip.org
Whole thread Raw
In response to Re: Tabs or Spaces  ("Simon Riggs" <simon@2ndquadrant.com>)
Responses Re: Tabs or Spaces  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> On Thu, 2007-01-04 at 16:01 -0500, Bruce Momjian wrote:
> > Tom Lane wrote:
> > > "Simon Riggs" <simon@2ndquadrant.com> writes:
> > > > Minor request for clarification:
> > > > I read in the Developer's FAQ that tabs should be interpreted as 4
> > > > spaces. ...and also that pgindent replaces tabs as spaces.
> > > 
> > > No, it does the opposite (or I would hope so anyway).
> > 
> > Sorry, the mistake was in a reference to entab.  It now reads:
> > 
> >     entab           converts spaces to tabs, used by pgindent
> 
> S'OK, just thought it was funny I'd been doing it backwards all this
> time: Actively been replacing tabs with spaces. :-)

That explains why your patches always seemed to be so weird to me
spacing-wise :-)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Andreas 'ads' Scherbaum
Date:
Subject: Re: Problem with windows installer
Next
From: "Simon Riggs"
Date:
Subject: Re: Tabs or Spaces