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

From Thomas Lockhart
Subject Re: [HACKERS] Indent
Date
Msg-id 3828E203.2FF9F49C@alumni.caltech.edu
Whole thread Raw
In response to Indent  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [HACKERS] Indent  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] Indent  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
List pgsql-hackers
> "pgindent will format source files to match our standard format, which
>  has four-space tabs, and an indenting format specified by flags to the
>  your operating system's utility indent."
> Then why are all files indented with eight spaces?

The FAQ isn't clear on this at all. pg_indent *assumes* that all tabs
will be four spaces. One must set vi or emacs to tab every four spaces
for things to look right.

Apparently we never send source code directly to a printer ;)
              - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] CORBA STATUS
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Indent