unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Timestamp information in .elc files
@ 2013-03-08  9:08 Glenn Morris
  2013-03-08 17:51 ` Paul Eggert
  2013-03-09  2:14 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Glenn Morris @ 2013-03-08  9:08 UTC (permalink / raw)
  To: emacs-devel


.elc files start with a comment like this:

   ;;; Compiled by user@host on Sun Mar  3 23:34:26 2013

I have never used this information, and I can never imagine needing it.
I find it annoying because it means .elc files change on every
compilation. Diffing two trees containing .elc files reports spurious
differences for every single .elc file due to this (admittedly, you can
avoid this by using diff -I).

Is this timestamp useful in any way?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Timestamp information in .elc files
  2013-03-08  9:08 Timestamp information in .elc files Glenn Morris
@ 2013-03-08 17:51 ` Paul Eggert
  2013-03-08 19:34   ` Achim Gratz
  2013-03-09  2:14 ` Stefan Monnier
  1 sibling, 1 reply; 5+ messages in thread
From: Paul Eggert @ 2013-03-08 17:51 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

On 03/08/2013 01:08 AM, Glenn Morris wrote:
> Is this timestamp useful in any way?

It's far more trouble than it's worth.  It's annoyed me in the past, too,
for the same reason it's annoying you.  Let's get rid of it.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Timestamp information in .elc files
  2013-03-08 17:51 ` Paul Eggert
@ 2013-03-08 19:34   ` Achim Gratz
  0 siblings, 0 replies; 5+ messages in thread
From: Achim Gratz @ 2013-03-08 19:34 UTC (permalink / raw)
  To: emacs-devel

Paul Eggert writes:
> On 03/08/2013 01:08 AM, Glenn Morris wrote:
>> Is this timestamp useful in any way?
>
> It's far more trouble than it's worth.  It's annoyed me in the past, too,
> for the same reason it's annoying you.  Let's get rid of it.

+1


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Timestamp information in .elc files
  2013-03-08  9:08 Timestamp information in .elc files Glenn Morris
  2013-03-08 17:51 ` Paul Eggert
@ 2013-03-09  2:14 ` Stefan Monnier
  2013-03-09 10:40   ` Ulrich Mueller
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2013-03-09  2:14 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

> .elc files start with a comment like this:

>    ;;; Compiled by user@host on Sun Mar  3 23:34:26 2013

Off with their heads!


        Stefan



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Timestamp information in .elc files
  2013-03-09  2:14 ` Stefan Monnier
@ 2013-03-09 10:40   ` Ulrich Mueller
  0 siblings, 0 replies; 5+ messages in thread
From: Ulrich Mueller @ 2013-03-09 10:40 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

>>>>> On Fri, 08 Mar 2013, Stefan Monnier wrote:

>> .elc files start with a comment like this:
>> ;;; Compiled by user@host on Sun Mar  3 23:34:26 2013

> Off with their heads!

Please have only their hair cut. ;-)

The full comment is like this:

   ;;; Compiled by user@host on Fri Mar  8 08:59:18 2013
   ;;; from file /path/to/simple.el
   ;;; in Emacs version 24.3
   ;;; with all optimizations.

Gentoo has a script called emacs-updater [1] that uses the version
information from the third line, by matching the following regexp:
[Ee]macs version \([0-9].*\)

It would be nice if this part of the comment could be preserved.

Ulrich

[1] http://git.overlays.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=blob;f=emacs-updater;hb=refs/heads/emacs-updater



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-09 10:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08  9:08 Timestamp information in .elc files Glenn Morris
2013-03-08 17:51 ` Paul Eggert
2013-03-08 19:34   ` Achim Gratz
2013-03-09  2:14 ` Stefan Monnier
2013-03-09 10:40   ` Ulrich Mueller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).