Thread
-
Re: [HACKERS] Indent
Bruce Momjian <maillist@candle.pha.pa.us> — 1999-11-10T03:55:47Z
> > "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. DEV FAQ says: <I>pgindent</I> will format source files to match our standard format, which has four-space tabs, > > Apparently we never send source code directly to a printer ;) I run it through vgrind or use crisp to print with color syntax highlighting. However, I do convert the tabs to 4-character spaces before printing. It is a pain, but indenting/unindenting without tab=indent level is a pain, and 8-space tabs are too large. -- 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, Pennsylvania 19026