Re: updated emacs configuration

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: updated emacs configuration
Date: 2013-06-26 03:14:42
Message-ID: 1372216482.5936.3.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 2013-06-23 at 16:11 -0400, Andrew Dunstan wrote:
> > The idea is a very good one in principle, but my short experiment with
> > the provided .dir-locals.el didn't give me BSD style brace
> > indentation. It works if we can do those "unsafe" things, but then we
> > surely don't want to have a user prompted to accept the settings each
> > time. If .dir-locals.el won't do what we need on its own, it seems to
> > me hardly worth having.

The main win will be to get 4-space tabs for casual observers, so the
files don't look crappy to newbies.

> However, it does work if you add this at the beginning of the c-mode list:
>
> (c-file-style . "bsd")

You are right, that should be added.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2013-06-26 03:17:47 Re: updated emacs configuration
Previous Message Peter Eisentraut 2013-06-26 03:04:37 Re: updated emacs configuration