[Top][All Lists]

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

Re: build broken: no defun org-float-time. Who's guilty, and what does

From: Lennart Borgman
Subject: Re: build broken: no defun org-float-time. Who's guilty, and what does he propose?
Date: Mon, 7 Sep 2009 20:42:58 +0200

On Mon, Sep 7, 2009 at 8:32 PM, Drew Adams<address@hidden> wrote:
>> > What we need IMO is a way to scan all the *.el files, look for
>> > `require', and generate Make dependencies between Lisp files.  Then
>> > this problem should be gone for good. Any takers?
>> I just spent part of the last couple of hours thinking over this
>> problem too.  Other files could be autoloaded during
>> compilation, and should be listed as dependencies too.
>> The byte compiler has rather a lot of information available
>> while it's doing its job.  Perhaps it could look at the files
>> that were loaded as part of the compilation, and generate a
>> list of dependencies.  The byte compiler code itself, and
>> files loaded via loadup.el, would still present a problem;
>> a conservative approach would be to always list all
>> of them as dependencies, though that would lead to excessive
>> rebuilding still.
> Dunno if any of this code would help, but you might be able to adapt some of 
> it,
> depending on what you're trying to do:
> http://www.emacswiki.org/emacs/LibraryDependencies
> http://www.emacswiki.org/emacs/lib-requires.el
> http://www.emacswiki.org/emacs/elisp-depend.el

A further question:

What can the Emacs that compiles the libraries do? Can it hold the
dependency tree and start subprocesses for compilation? Or is that a
bad idea?

reply via email to

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