Re: updated emacs configuration - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: updated emacs configuration
Date
Msg-id 1402362242.1248.4.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: updated emacs configuration  (Noah Misch <noah@leadboat.com>)
Responses Re: updated emacs configuration  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
On Sun, 2014-06-08 at 21:55 -0400, Noah Misch wrote:
> After upgrading to GNU Emacs 23.4.1 from a version predating directory-local
> variables, I saw switch/case indentation go on the fritz.  My hooks were
> issuing (c-set-style "postgresql"), but ".dir-locals.el" set it back to plain
> "bsd" style.

I'd consider just getting rid of the
   (c-file-style . "bsd")

setting in .dir-locals.el and put the actual interesting settings from
the style in there.

Another alternative is to change emacs.samples to use
hack-local-variables-hook instead, as described here:
http://www.emacswiki.org/emacs/LocalVariables





pgsql-hackers by date:

Previous
From: Naoya Anzai
Date:
Subject: Re: "cancelling statement due to user request error" occurs but the transaction has committed.
Next
From: Peter Eisentraut
Date:
Subject: Re: tests for client programs