unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5361: .elcs should tell more about the .els they were compiled from
@ 2010-01-11 18:29 jidanni
  2010-01-12  2:11 ` Jason Rumney
  0 siblings, 1 reply; 4+ messages in thread
From: jidanni @ 2010-01-11 18:29 UTC (permalink / raw)
  To: emacs-pretest-bug

Let's try to compare two .elc files to see if they are different.

$ diff -a *.elc
2,4c2,4
< ;;; Compiled by jidanni@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@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.)






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

* bug#5361: .elcs should tell more about the .els they were compiled from
  2010-01-11 18:29 bug#5361: .elcs should tell more about the .els they were compiled from jidanni
@ 2010-01-12  2:11 ` Jason Rumney
  2010-01-12  2:27   ` jidanni
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Rumney @ 2010-01-12  2:11 UTC (permalink / raw)
  To: jidanni, 5361

On 12/01/2010 02:29, jidanni@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@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@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.







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

* bug#5361: .elcs should tell more about the .els they were compiled from
  2010-01-12  2:11 ` Jason Rumney
@ 2010-01-12  2:27   ` jidanni
  2011-07-09 23:15     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: jidanni @ 2010-01-12  2:27 UTC (permalink / raw)
  To: jasonr; +Cc: 5361

>>>>> "JR" == Jason Rumney <jasonr@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.






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

* bug#5361: .elcs should tell more about the .els they were compiled from
  2010-01-12  2:27   ` jidanni
@ 2011-07-09 23:15     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2011-07-09 23:15 UTC (permalink / raw)
  To: 5361-done


No. I don't see a need to keep this report open.





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

end of thread, other threads:[~2011-07-09 23:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-11 18:29 bug#5361: .elcs should tell more about the .els they were compiled from jidanni
2010-01-12  2:11 ` Jason Rumney
2010-01-12  2:27   ` jidanni
2011-07-09 23:15     ` Glenn Morris

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).