Re: updated emacs configuration - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: updated emacs configuration
Date
Msg-id 51C75661.8020502@dunslane.net
Whole thread Raw
In response to Re: updated emacs configuration  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: updated emacs configuration
List pgsql-hackers
On 06/23/2013 03:43 PM, 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.


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


cheers

andrew




pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Next
From: Tom Lane
Date:
Subject: Re: updated emacs configuration