emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dependency graph for Emacs Lisp files


From: Lars Ingebrigtsen
Subject: Re: Dependency graph for Emacs Lisp files
Date: Thu, 01 Aug 2019 15:16:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

address@hidden (Phillip Lord) writes:

>> (We need to delete B.elc because otherwise `(require B)' in A.el would
>> load the old B.elc, and A.el might be byte-compiled before B.el.)
>
> a.elc: a.el b.elc
> b.elc: b.el
>
> Changes to b.el would now force a.elc recompilation. If this were in
> place then the current name based fudge for tests should work.

But triggering recompilation isn't enough: b.elc has to be deleted,
otherwise compiling a.el will just load the old b.elc.

> Of course, I have put this forward in simple terms -- Emacs makefile are
> in multiple directories, with dependencies between directories, with a
> complicated bootstrap, so the reality would be rather more brutal.

Right.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]