[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: builds are getting slower?
From: |
David Kastrup |
Subject: |
Re: builds are getting slower? |
Date: |
Wed, 16 Dec 2015 14:25:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Artur Malabarba <address@hidden> writes:
> On 16 Dec 2015 11:58 am, "Eli Zaretskii" <address@hidden> wrote:
>> > We need to locate the dir locals file(s) in order to compare its
> timestamp to
>> > the cache. Do we have a faster way of expanding wildcards?
>>
>> Does it have to be wildcards? Will file-name-all-completions not do?
>
> Yes, I think we can do that.
>
>> And why exactly this code needs to run when we need to byte-compile
>> Lisp files, btw?
>
> I suspect it's because the byte-compiler is affected by local variables, so
> it needs to know them.
Not really. It loads the files, and loading the files sets the
directory-local variables. I don't think it is a good idea to use them
for byte compilation even though I have to admit that a directory-wide
setting of `lexical-binding' would seem less ugly than putting it in
every file manually. But it sounds like a recipe for trouble.
--
David Kastrup
- Re: builds are getting slower?, (continued)
- Re: builds are getting slower?, Phillip Lord, 2015/12/15
- Re: builds are getting slower?, Glenn Morris, 2015/12/15
- Re: builds are getting slower?, Artur Malabarba, 2015/12/15
- Re: builds are getting slower?, David Kastrup, 2015/12/15
- Re: builds are getting slower?, Eli Zaretskii, 2015/12/15
- Re: builds are getting slower?, Artur Malabarba, 2015/12/16
- Re: builds are getting slower?, Eli Zaretskii, 2015/12/16
- Re: builds are getting slower?, Artur Malabarba, 2015/12/16
- Re: builds are getting slower?,
David Kastrup <=
- Re: builds are getting slower?, Eli Zaretskii, 2015/12/16
- Re: builds are getting slower?, Glenn Morris, 2015/12/16
- Re: builds are getting slower?, John Wiegley, 2015/12/17
- Re: builds are getting slower?, Glenn Morris, 2015/12/16
- Re: builds are getting slower?, Glenn Morris, 2015/12/15
- Re: builds are getting slower?, David Kastrup, 2015/12/15
Re: builds are getting slower?, Pádraig Brady, 2015/12/15