Ville Skyttä <scop(a)xemacs.org> wrote:
I trust your analysis is correct, go ahead and commit, Jerry.
You're going to regret trusting my analysis, you know. :-) Committed.
While you're at it, could you also check if Ben's (yet
unapplied)
diff-mode dependency fix should be handled the same way as this patch
fixes things instead of Makefile tricks? The patch is at
<
http://list-archive.xemacs.org/xemacs-patches/200212/msg00083.html>.
Hmmm... The stuff I just did seems to show that a bunch more
dependencies like that are needed. I wonder if there is some way of
automatically extracting such dependencies? I can think of a byte
compiler modification that would make it easy, but that might not be a
popular way to go. (Basically, you would record the source path for
each macro as it is defined, and upon expanding a macro, compare the
source path for the file being compiled with the source path for the
macro, and emit a log record if they are not in the same directory.
Then a post-processor could pick out those records and compute the
dependencies.)
Anyway, I think Ben's change is harmless, at least, and probably a good
idea.
--
Jerry James
http://www.ittc.ku.edu/~james/