Re: [PATCH 21.5] Do not insert timestamps in .elc files
Jerry James <[email protected]> Thu, 25 Sep 2014 19:55:37 -0600
| Newsgroups | gmane.emacs.xemacs.patches |
|---|---|
| Message-ID | <CAHCOHQkWB7_+RWT2Tk4G3NGyLNA94sKkt5UaT6A8aV7aRDOskw@mail.gmail.com> |
On Thu, Sep 25, 2014 at 6:57 PM, Stephen J. Turnbull <[email protected]> wrote: > $ host olympus.net > CNAME att.com > > <wink/> > > On the DMARC front, I've been hanging out with a guy who styles > himself [email protected], which is arguably bigger than god@att > these days. :-) (Except of course Googlers get @google addresses.) Heh. Still, that's a good one. > I'm not sure I agree with this, though. Why not have the build do > > xemacs -eval '(setq user-mail-address "[email protected]")' Good point. That would be fine. > I think it's useful to be able to easily distinguish between packaged > compiles and local ones: "That doesn't sound like our build. Check > the first line of the .elc; ours always say 'compiled by > [email protected]'." Time is different, there's no point that I > can see in setting time to a constant. Agreed. How about this patch, then? diff -r be31f7878b0d lisp/ChangeLog --- a/lisp/ChangeLog Tue Sep 23 16:50:48 2014 -0600 +++ b/lisp/ChangeLog Thu Sep 25 19:54:02 2014 -0600 @@ -1,3 +1,8 @@ +2014-09-25 Jerry James <[email protected]> + + * bytecomp.el (byte-compile-insert-header): do not insert + timestamps in .elc comments to get reproducible builds. + 2014-08-05 Aidan Kehoe <[email protected]> * keymap.el: diff -r be31f7878b0d lisp/bytecomp.el --- a/lisp/bytecomp.el Tue Sep 23 16:50:48 2014 -0600 +++ b/lisp/bytecomp.el Thu Sep 25 19:54:02 2014 -0600 @@ -2159,8 +2159,7 @@ (insert "\n;;; compiled by " (or (and (boundp 'user-mail-address) user-mail-address) (concat (user-login-name) "@" (system-name))) - " on " - (current-time-string) "\n;;; from file " filename "\n") + "\n;;; from file " filename "\n") (insert ";;; emacs version " emacs-version ".\n") (insert ";;; bytecomp version " byte-compile-version "\n;;; " (cond -- Jerry James http://www.jamezone.org/