Gnus development mailing list
 help / color / mirror / Atom feed
* Instead of explicitly loading .el files
@ 1996-11-28  1:39 Greg Stark
  0 siblings, 0 replies; only message in thread
From: Greg Stark @ 1996-11-28  1:39 UTC (permalink / raw)




It seems to me that a better solution to the problem of version skew in
compiled elisp files would be to delete the out of date .elc files before
trying to build newer ones. This indirectly forces Emacs to do exactly what it
really should be doing in the first place but that RMS found to difficult, to
load the .el file if the .elc file is older.

For other packages (specifically W3) I run the following shell command before
rerunning make after applying a patch:

$ for i in *.el ; do if [ $i -nt ${i}c ] ; then rm -v ${i}c ; fi ; done

If you add that command (minus the -v presumably) to the ``all'' rule in the
Makefile then the compilation can proceed without bothering to explicitly load
.el files.

This has the same deficiencies as the existing scheme if the user keeps files
compressed, but i think with a little cleverness we should be able to
construct shell commands that check and delete the right files regardless. 


greg


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-28  1:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-28  1:39 Instead of explicitly loading .el files Greg Stark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).