all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>, Nicolas Petton <nicolas@petton.fr>
Subject: Re: Allowing .dir-locals-N.el
Date: Sat, 7 Nov 2015 13:01:30 +0000	[thread overview]
Message-ID: <CAAdUY-Lkg8RkKkNwwfOgX7VcWtSjaoFyBuANXG+3BzzLNjkhdg@mail.gmail.com> (raw)
In-Reply-To: <m2ziysrzag.fsf@RFC1918.na.baesystems.com>

2015-11-05 20:01 GMT+00:00 John Wiegley <jwiegley@gmail.com>:
>>>>>> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>> That seems really complicated for every use case I can imagine. Why not just
>> look for `.dir-locals*.el' and sort lexicographically? That degrades
>> gracefully to the current state of things.

I've written and pushed a version of this to the branch
scratch/dir-local-wildcard

It allows wildcards in `dir-locals-file', and loads them in string<
order. That is, a file called ".dir-locals2.el" will override the
values in ".dir-locals.el" (only conflicting values are overridden).

Nicollas, this also adds a function `map-merge-with' to map.el. Is that alright?



  reply	other threads:[~2015-11-07 13:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04 13:58 Allowing .dir-locals-N.el Artur Malabarba
2015-11-04 14:03 ` 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 [this message]
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-Lkg8RkKkNwwfOgX7VcWtSjaoFyBuANXG+3BzzLNjkhdg@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=nicolas@petton.fr \
    /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.