Rob Browning <r...@defaultvalue.org> writes: > It looks like it's dh_strip_nondeterminism that's changing the timestamp > on the .el.gz file, and hence making emacs think that the source file is > newer than the byte-compiled file. > > I suspect it may make sense to have some way to get strip-nondeterminism > to preserve them, so I'm assigning a clone of this bug there.
Also, I'm not certain, but I believe Emacs may already be omitting the timestamps via gzip -n. If so, then another, more general approach might be to either detect that the gz file is already deterministic, or to strip to a temp file, and only replace the original when there's actually a difference. For now I'm just hacking around the problem in emacs24 with an override that saves/restores the .el.gz timestamps before/after dh_strip_nondeterminism. Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4