Re: [HACKERS] Indent - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Indent
Date
Msg-id 199911100458.XAA07450@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Indent  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List pgsql-hackers
> My point is that this statement is ambiguous, particularly for those
> who didn't grow up in Pennsylvania or some other all-English locale.
> "four-space tabs" could imply that all tabs are filled with four
> spaces, but in fact pgindent replaces every four spaces with a tab.
> 
> I haven't stumbled across any mention of setting text editors or
> printing, which if it was mentioned might reduce the possibility for
> confusion.

New DEV FAQ reads:

Our standard format is to indent each code level with one tab, where
each tab is four spaces.  You will need to set your editor to display
tabs as four spaces.  <I>pgindent</I> will the format code by specifying
flags to your operating system's utility <I>indent.</I><P>   
<I>pgindent</I> is run on all source files just before each beta test

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: 6.5.3 RPMs are on ftp site
Next
From: "Ansley, Michael"
Date:
Subject: RE: [INTERFACES] Re: [HACKERS] CORBA STATUS