Re: Coding style for emacs

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Coding style for emacs
Date: 2006-08-10 19:12:50
Message-ID: 44DB8532.6020808@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Jeff Davis wrote:
> At the link:
>
> http://www.postgresql.org/docs/8.1/static/source.html
>
> It gives some style configuration code to put in the .emacs file.
> However, when I do that, emacs doesn't appear to follow the style of the
> postgresql source. For instance, inside a function definition emacs
> always indents by 8 columns.
>
> What emacs scripts do the hackers use? Is that documentation out of
> date?
>
>

I use more or less what is in the developers' FAQ (not surprising, since
I contributed it). It works just fine for me. See
http://www.postgresql.org/docs/faqs.FAQ_DEV.html#item1.9

We should probably bring the docs in line with that, unless someone with
more emacs-fu than me has something to add.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-08-10 19:47:18 Re: Win32 max connections bug (causing crashes)
Previous Message Jim Nasby 2006-08-10 18:56:00 Re: Buildfarm failure on ecpg/test/pgtypeslib

Browse pgsql-patches by date

  From Date Subject
Next Message korryd@enterprisedb.com 2006-08-10 23:03:10 Re: Plugins redux (was Re: [PATCHES] PL instrumentation
Previous Message Jeff Davis 2006-08-10 18:41:39 Coding style for emacs