Re: updated emacs configuration - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: updated emacs configuration
Date
Msg-id 1372216482.5936.3.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: updated emacs configuration  (Andrew Dunstan <andrew@dunslane.net>)
List 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.





pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: updated emacs configuration
Next
From: Peter Eisentraut
Date:
Subject: Re: updated emacs configuration