[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Treatise on require
From: |
Thien-Thi Nguyen |
Subject: |
Re: Treatise on require |
Date: |
08 Jan 2006 06:01:13 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Bill Wohler <address@hidden> writes:
> feedback [...] welcome
keeping things in separate files is nice for maintenance,
but if they are meant to be used together you might want to
investigate an alternate build procedure: cat all the "core"
files together and compile that instead of each one separately.
this is the approach i take w/ EDB, which is at:
http://www.glug.org/people/ttn/software/edb/
see file bfuncs for the concatenation (and compilation).
note that not all files are considered core, just those
that are mutually (or inextricably ;-) useful.
also, in the subdir skram/, there is machinery for collecting
information on various elements (kind of like etags i suppose)
of the EDB source. this info can be massaged into a dependency
graph (not worth it for EDB, but you get the idea). see file
make-skram.el and try "make skram.data" to see it in action.
of course, EDB is a separate package, so its build methods
can be as weird as necessary. i'm not sure if this approach
would be acceptable for Emacs proper, where each file is
traditionally compiled on its own...
thi