From: Reuben Thomas <rrt@sc3d.org>
To: Alan Mackenzie <acm@muc.de>
Cc: 17051@debbugs.gnu.org, Noam Postavsky <npostavs@users.sourceforge.net>
Subject: bug#17051: Order of evaluation in .dir-locals.el
Date: Tue, 7 Jun 2016 13:53:11 +0100 [thread overview]
Message-ID: <CAOnWdoioELOXnk1BV8V7Z77rt5X0_DMCBBJKyrb2JgXORym5Fg@mail.gmail.com> (raw)
In-Reply-To: <20160607112313.GA3681@acm.fritz.box>
[-- Attachment #1: Type: text/plain, Size: 695 bytes --]
On 7 June 2016 at 12:23, Alan Mackenzie <acm@muc.de> wrote:
>
> Why are you defining the new style "fontforge" every time a file gets
> visited?
The idea was to define a per-project style every time that project's
directory was visited.
Couldn't you simply define it once, directly in your .emacs,
> before any C files are loaded (e.g., via desktop-save-mode)?
>
I would prefer to keep the per-project style with the project code.
>
> Would you please try defining your CC Mode style outside of
> .dir-locals.el, as suggested above.
>
That works fine (I do it for other styles that are more widely
applicable).
--
http://rrt.sc3d.org
[-- Attachment #2: Type: text/html, Size: 1735 bytes --]
next prev parent reply other threads:[~2016-06-07 12:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-20 15:01 bug#17051: Order of evaluation in .dir-locals.el Reuben Thomas
2016-06-04 22:02 ` Noam Postavsky
2016-06-05 19:38 ` Reuben Thomas
2016-06-07 0:41 ` Noam Postavsky
2016-06-07 11:23 ` Alan Mackenzie
[not found] ` <20160607112313.GA3681@acm.fritz.box>
2016-06-07 12:53 ` Reuben Thomas [this message]
2021-12-04 3:19 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOnWdoioELOXnk1BV8V7Z77rt5X0_DMCBBJKyrb2JgXORym5Fg@mail.gmail.com \
--to=rrt@sc3d.org \
--cc=17051@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=npostavs@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).