Re: [PATCH] emacs: Compute build dependencies to fix byte compile issues

Subject: Re: [PATCH] emacs: Compute build dependencies to fix byte compile issues

Date: Thu, 23 May 2013 08:46:07 -0300

To: Austin Clements, notmuch@notmuchmail.org

Cc:

From: David Bremner


Austin Clements <amdragon@MIT.EDU> writes:

> Previously, we simply byte compiled each Elisp source file
> independently.  This is actually the wrong thing to do and can lead to
> issues with macros and performance issues with substitutions because
> 1) when the byte compiler encounters a (require 'x) form, it will load
> x.elc in preference to x.el, even if x.el is newer, and as a result
> may load old macro and substitution definitions and 2) if we update a
> macro or substitution definition in one file, we currently won't
> re-compile other files that depend on the file containing the
> definition.

Pushed,

d

Thread: