From: Artur Malabarba <bruce.connor.am@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Allowing .dir-locals-N.el
Date: Wed, 4 Nov 2015 13:58:31 +0000 [thread overview]
Message-ID: <CAAdUY-+6hG0vi_AR8efX8PQxHHh18ozDFKRKvprxdaoDWKOYzQ@mail.gmail.com> (raw)
Hi All,
I'd like to implement support for additional .dir-locals.el files.
This is very useful in VCS repositories, where the main .dir-locals.el
file is usually under version control. In this situation it's usually
not good for every single contributor to stick their own variables
inside .dir-locals.el.
With this feature, you can have additional files called
.dir-locals-1.el, .dir-locals-2.el, etc... and these will be read for
local variables as well.
I can hardcode a single filename (like .dir-locals-extra.el) or make
it a regexp like "\\.dir-locals-[0-9]+\\.el", whatever people prefer.
Cheers,
Artur
next reply other threads:[~2015-11-04 13:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 13:58 Artur Malabarba [this message]
2015-11-04 14:03 ` Allowing .dir-locals-N.el Kaushal Modi
2015-11-04 16:24 ` John Wiegley
2015-11-04 19:15 ` Artur Malabarba
2015-11-04 19:24 ` David Kastrup
2015-11-04 19:36 ` Artur Malabarba
2015-11-04 19:54 ` John Wiegley
2015-11-04 20:25 ` Artur Malabarba
2015-11-05 19:52 ` Ted Zlatanov
2015-11-05 20:01 ` John Wiegley
2015-11-07 13:01 ` Artur Malabarba
2015-11-07 13:41 ` Eli Zaretskii
2015-11-07 13:52 ` Ted Zlatanov
2015-11-07 22:34 ` Juri Linkov
2015-11-08 11:37 ` Artur Malabarba
2015-11-08 15:56 ` Eli Zaretskii
2015-11-09 9:14 ` Stephen Leake
2015-11-09 16:37 ` John Wiegley
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAdUY-+6hG0vi_AR8efX8PQxHHh18ozDFKRKvprxdaoDWKOYzQ@mail.gmail.com \
--to=bruce.connor.am@gmail.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.