GNU bug report logs - #5361
.elcs should tell more about the .els they were compiled from

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 12 Jan 2010 01:08:03 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5361 in the body.
You can then email your comments to 5361 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5361; Package emacs. (Tue, 12 Jan 2010 01:08:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 12 Jan 2010 01:08:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: emacs-pretest-bug <at> gnu.org
Subject: .elcs should tell more about the .els they were compiled from
Date: Tue, 12 Jan 2010 02:29:27 +0800
Let's try to compare two .elc files to see if they are different.

$ diff -a *.elc
2,4c2,4
< ;;; Compiled by jidanni <at> jidanni1.jidanni.org on Sat Jul 25 03:33:07 2009
< ;;; from file /home/jidanni/tmp/emacs-w3m/w3m-dtree.el
< ;;; in Emacs version 23.0.96.1
---
> ;;; Compiled by root <at> jidanni1.jidanni.org on Thu Jan  7 04:59:34 2010
> ;;; from file /usr/share/emacs-snapshot/site-lisp/w3m/w3m-dtree.el
> ;;; in Emacs version 23.1.91.1
...
Well, what would really help is if along with mentioning which .el file
the .elc file was compiled from, would be adding checksum and some ls -l
information about the .el file. Else it is really hard figuring out if
the .elcs are really derived from the .els currently nearby. (And no,
nobody wants to compile again just to see.)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5361; Package emacs. (Tue, 12 Jan 2010 02:12:02 GMT) Full text and rfc822 format available.

Message #8 received at 5361 <at> debbugs.gnu.org (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: jidanni <at> jidanni.org, 5361 <at> debbugs.gnu.org
Subject: Re: bug#5361: .elcs should tell more about the .els they were compiled
	from
Date: Tue, 12 Jan 2010 10:11:07 +0800
On 12/01/2010 02:29, jidanni <at> jidanni.org wrote:
> Let's try to compare two .elc files to see if they are different.
>
> $ diff -a *.elc
> 2,4c2,4
> <  ;;; Compiled by jidanni <at> jidanni1.jidanni.org on Sat Jul 25 03:33:07 2009
> <  ;;; from file /home/jidanni/tmp/emacs-w3m/w3m-dtree.el
> <  ;;; in Emacs version 23.0.96.1
> ---
>    
>> ;;; Compiled by root <at> jidanni1.jidanni.org on Thu Jan  7 04:59:34 2010
>> ;;; from file /usr/share/emacs-snapshot/site-lisp/w3m/w3m-dtree.el
>> ;;; in Emacs version 23.1.91.1
>>      
> ...
> Well, what would really help is if along with mentioning which .el file
> the .elc file was compiled from, would be adding checksum and some ls -l
> information about the .el file. Else it is really hard figuring out if
> the .elcs are really derived from the .els currently nearby. (And no,
> nobody wants to compile again just to see.)
>    

If they are compiled by different versions of Emacs, then you can only 
safely assume they are different, even if the .el files they were 
compiled from are identical.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5361; Package emacs. (Tue, 12 Jan 2010 02:29:02 GMT) Full text and rfc822 format available.

Message #11 received at 5361 <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: jasonr <at> gnu.org
Cc: 5361 <at> debbugs.gnu.org
Subject: Re: bug#5361: .elcs should tell more about the .els they were
	compiled from
Date: Tue, 12 Jan 2010 10:27:58 +0800
>>>>> "JR" == Jason Rumney <jasonr <at> gnu.org> writes:
JR> If they are compiled by different versions of Emacs, then you can only
JR> safely assume they are different, even if the .el files they were
JR> compiled from are identical.
Yes but if the user wants to know "were the sources different?". If a
tiny bit of extra information were added to the boilerplate, then he
would have the answer instead of needing forensic analysis or something.




Severity set to 'wishlist' from 'normal' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Tue, 12 Jan 2010 18:52:01 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 09 Jul 2011 23:16:02 GMT) Full text and rfc822 format available.

Notification sent to jidanni <at> jidanni.org:
bug acknowledged by developer. (Sat, 09 Jul 2011 23:16:02 GMT) Full text and rfc822 format available.

Message #18 received at 5361-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 5361-done <at> debbugs.gnu.org
Subject: Re: bug#5361: .elcs should tell more about the .els they were
	compiled from
Date: Sat, 09 Jul 2011 19:15:36 -0400
No. I don't see a need to keep this report open.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 07 Aug 2011 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.