* decompiling compiled emacs lisp
@ 2005-03-04 6:48 Dhruva Krishnamurthy
2005-03-04 11:20 ` Pascal Bourguignon
2005-03-04 12:03 ` John Paul Wallington
0 siblings, 2 replies; 5+ messages in thread
From: Dhruva Krishnamurthy @ 2005-03-04 6:48 UTC (permalink / raw)
Hello,
I have a XEmacs compiled emacs lisp file. There are some
incompatibilities between functions in Emacs and XEmacs which I need
to fix. I do not have the original emacs lisp source. Is there a way
to decompile an elc file? This request might rather strange If it
does, please ignore this posting.
-dhruva
--
Name : Dhruva Krishnamurthy (dk)
Phone: +91-(0)80-22999190
Proud FSF member: #1935
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: decompiling compiled emacs lisp
2005-03-04 6:48 decompiling compiled emacs lisp Dhruva Krishnamurthy
@ 2005-03-04 11:20 ` Pascal Bourguignon
2005-03-07 12:14 ` Dhruva Krishnamurthy
2005-03-04 12:03 ` John Paul Wallington
1 sibling, 1 reply; 5+ messages in thread
From: Pascal Bourguignon @ 2005-03-04 11:20 UTC (permalink / raw)
Dhruva Krishnamurthy <Dhruva.Krishnamurthy@in.bosch.com> writes:
> Hello,
> I have a XEmacs compiled emacs lisp file. There are some
> incompatibilities between functions in Emacs and XEmacs which I need
> to fix. I do not have the original emacs lisp source. Is there a way
> to decompile an elc file? This request might rather strange If it
> does, please ignore this posting.
(disassemble 'fun)
--
__Pascal_Bourguignon__ _ Software patents are endangering
() ASCII ribbon against html email (o_ the computer industry all around
/\ 1962:DO20I=1.100 //\ the world http://lpf.ai.mit.edu/
2001:my($f)=`fortune`; V_/ http://petition.eurolinux.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: decompiling compiled emacs lisp
2005-03-04 6:48 decompiling compiled emacs lisp Dhruva Krishnamurthy
2005-03-04 11:20 ` Pascal Bourguignon
@ 2005-03-04 12:03 ` John Paul Wallington
1 sibling, 0 replies; 5+ messages in thread
From: John Paul Wallington @ 2005-03-04 12:03 UTC (permalink / raw)
On (12:18 04/03/05), Dhruva Krishnamurthy wrote:
> I have a XEmacs compiled emacs lisp file. There are some
> incompatibilities between functions in Emacs and XEmacs which I need
> to fix. I do not have the original emacs lisp source. Is there a way
> to decompile an elc file? This request might rather strange If it
> does, please ignore this posting.
Does the output of M-x disassemble help ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: decompiling compiled emacs lisp
2005-03-04 11:20 ` Pascal Bourguignon
@ 2005-03-07 12:14 ` Dhruva Krishnamurthy
2005-03-07 14:29 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Dhruva Krishnamurthy @ 2005-03-07 12:14 UTC (permalink / raw)
>>>>> On 04 Mar 2005 12:20:08 +0100, Pascal Bourguignon <spam@mouse-potato.com> said:
pb> Dhruva Krishnamurthy <Dhruva.Krishnamurthy@in.bosch.com> writes:
>> Hello, I have a XEmacs compiled emacs lisp file. There are some
>> incompatibilities between functions in Emacs and XEmacs which I need to
>> fix. I do not have the original emacs lisp source. Is there a way to
>> decompile an elc file? This request might rather strange If it does, please
>> ignore this posting.
pb> (disassemble 'fun)
This works but I will have to do it for each function. I wonder how I can take
care of other entities if they are byte compiled (variable declarations etc..)
Anyway, fortunately I found the raw e-lisp file and am spared of doing this
manually.
Thanks anyway,
-dhruva
--
Name : Dhruva Krishnamurthy (dk)
Phone: +91-(0)80-22999190
Proud FSF member: #1935
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: decompiling compiled emacs lisp
2005-03-07 12:14 ` Dhruva Krishnamurthy
@ 2005-03-07 14:29 ` Stefan Monnier
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2005-03-07 14:29 UTC (permalink / raw)
> This works but I will have to do it for each function. I wonder how I can
> take care of other entities if they are byte compiled (variable
> declarations etc..)
You can look at `load-history' too see which functions and variables were
defined when you loaded the elc file.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-03-07 14:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04 6:48 decompiling compiled emacs lisp Dhruva Krishnamurthy
2005-03-04 11:20 ` Pascal Bourguignon
2005-03-07 12:14 ` Dhruva Krishnamurthy
2005-03-07 14:29 ` Stefan Monnier
2005-03-04 12:03 ` John Paul Wallington
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).