GNU bug report logs - #17051
Order of evaluation in .dir-locals.el

Previous Next

Packages: cc-mode, emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Thu, 20 Mar 2014 15:02:01 UTC

Severity: minor

Tags: confirmed

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 17051 <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 17051 <at> debbugs.gnu.org
Subject: Re: Order of evaluation in .dir-locals.el
Date: Sun, 5 Jun 2016 20:38:40 +0100
[Message part 1 (text/plain, inline)]
On 4 June 2016 at 23:02, Noam Postavsky <npostavs <at> users.sourceforge.net>
wrote:

>
> Of course `before-hack-local-variables-hook' runs before any local
> variables are set, so there is no "correct" order that a user can use
> in .dir-locals.el to define a new style: `c-file-style' always applies
> before any other variables.
>

​Thanks very much; to check I understand, you're saying that at present
it's not possible to do this all in .dir-locals.el; I'd have presumably to
define the style in my Emacs init sequence (or anyway, load it before
visiting the directory)?

-- 
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.