Re: [HACKERS] Tabs or Spaces

2007-01-05 Thread Jim Nasby
On Jan 4, 2007, at 7:54 PM, Simon Riggs wrote: On Thu, 2007-01-04 at 21:41 -0300, Alvaro Herrera wrote: Simon Riggs wrote: 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 b

Re: [HACKERS] Tabs or Spaces

2007-01-05 Thread Bruce Momjian
Simon Riggs wrote: > On Thu, 2007-01-04 at 16:01 -0500, Bruce Momjian wrote: > > Tom Lane wrote: > > > "Simon Riggs" <[EMAIL PROTECTED]> writes: > > > > Minor request for clarification: > > > > I read in the Developer's FAQ that tabs should be interpreted as 4 > > > > spaces. ...and also that pgind

Re: [HACKERS] Tabs or Spaces

2007-01-04 Thread Simon Riggs
On Thu, 2007-01-04 at 21:41 -0300, Alvaro Herrera wrote: > Simon Riggs wrote: > > 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 LOL > spacing-wise

Re: [HACKERS] Tabs or Spaces

2007-01-04 Thread Alvaro Herrera
Simon Riggs wrote: > On Thu, 2007-01-04 at 16:01 -0500, Bruce Momjian wrote: > > Tom Lane wrote: > > > "Simon Riggs" <[EMAIL PROTECTED]> writes: > > > > Minor request for clarification: > > > > I read in the Developer's FAQ that tabs should be interpreted as 4 > > > > spaces. ...and also that pgind

Re: [HACKERS] Tabs or Spaces

2007-01-04 Thread Simon Riggs
On Thu, 2007-01-04 at 16:01 -0500, Bruce Momjian wrote: > Tom Lane wrote: > > "Simon Riggs" <[EMAIL PROTECTED]> 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. >

Re: [HACKERS] Tabs or Spaces

2007-01-04 Thread Bruce Momjian
Tom Lane wrote: > "Simon Riggs" <[EMAIL PROTECTED]> 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, t

Re: [HACKERS] Tabs or Spaces

2007-01-04 Thread Bruce Momjian
Andrew Dunstan wrote: > Tom Lane wrote: > > "Simon Riggs" <[EMAIL PROTECTED]> 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 th

Re: [HACKERS] Tabs or Spaces

2007-01-04 Thread Andrew Dunstan
Tom Lane wrote: "Simon Riggs" <[EMAIL PROTECTED]> 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). Sure look

Re: [HACKERS] Tabs or Spaces

2007-01-04 Thread Tom Lane
"Simon Riggs" <[EMAIL PROTECTED]> 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). regards, tom

[HACKERS] Tabs or Spaces

2007-01-04 Thread Simon Riggs
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. Trouble is, there are tabs throughout the code. What gives? Should I be replacing tabs as spaces, or leaving them alone? At all? Only in