* Problems evaluating p4.el
@ 2012-03-22 13:51 Jonathan Arnold
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Arnold @ 2012-03-22 13:51 UTC (permalink / raw)
To: help-gnu-emacs
I have been using p4.el :
http://sourceforge.net/projects/p4el/
for years without a problem. But the version I have been using is one I
byte-compiled a long time ago. If I download the "latest" version
(which is from 2006) and try to byte-compile (or even evaluate it), my
Emacs 23.4.1 just hangs in the middle of processing it. Even if I load
Emacs with -Q.
Anyone else use p4.el and does it evaluate for you? Any ideas on how to
debug the problem?
--
Jonathan Arnold Webstream: http://hieronymus.soup.io
Talent wins games, but team work and intelligence wins championships.
Michael Jordan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Problems evaluating p4.el
@ 2012-03-26 20:18 Jonathan Arnold
2012-03-26 21:26 ` Drew Adams
2012-03-30 9:44 ` Eli Zaretskii
0 siblings, 2 replies; 4+ messages in thread
From: Jonathan Arnold @ 2012-03-26 20:18 UTC (permalink / raw)
To: help-gnu-emacs
I have been using p4.el :
http://sourceforge.net/projects/p4el/
for years without a problem. But the version I have been using is one I
byte-compiled a long time ago. If I download the "latest" version
(which is from 2006) and try to byte-compile (or even evaluate it), my
Emacs 23.4.1 just hangs in the middle of processing it. Even if I load
Emacs with -Q.
Anyone else use p4.el and does it evaluate for you? Any ideas on how to
debug the problem?
--
Jonathan Arnold Webstream: http://hieronymus.soup.io
Talent wins games, but team work and intelligence wins championships.
Michael Jordan
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Problems evaluating p4.el
2012-03-26 20:18 Problems evaluating p4.el Jonathan Arnold
@ 2012-03-26 21:26 ` Drew Adams
2012-03-30 9:44 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2012-03-26 21:26 UTC (permalink / raw)
To: 'Jonathan Arnold', help-gnu-emacs
> But the version I have been using is one I
> byte-compiled a long time ago. If I download the "latest" version
> (which is from 2006) and try to byte-compile (or even evaluate it), my
> Emacs 23.4.1 just hangs in the middle of processing it. Even if I load
> Emacs with -Q.
>
> Anyone else use p4.el and does it evaluate for you? Any ideas
> on how to debug the problem?
I know nothing about p4.el, but maybe this will help anyway:
1. Concentrate on the source file first, not on byte-compiling it or
(especially) using an old byte-compiled version. The only "processing" of the
file you should care about at first is (a) loading it and then (b) getting it to
do what it is supposed to do.
If Emacs hangs when just trying to load the source file then diagnose that
problem first. If you can load it OK but it hangs when you try to use it, then
diagnose that problem.
2. To diagnose a load problem, select the first half of the source file and do
`M-x evaluate-region'. If that hangs, then start over and select only the first
quarter of the file. If that hangs, try the first 1/8th.
Keep trying to evaluate more or less code in the file, always starting with the
top of the file and narrowing things down until you find the first occurrence of
whatever causes the hang.
3. If it loads OK but hangs when you use it, make note of how you invoke it
(which Emacs command or whatever). Then use `M-x debug-on-entry' for the
function that causes the problem. Step through the debugger using `d' (or `c'
to skip a step), and note which evaluation causes Emacs to hang.
4. Report what you find here or, if you already think you see an Emacs bug,
using `M-x report-emacs-bug'.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems evaluating p4.el
2012-03-26 20:18 Problems evaluating p4.el Jonathan Arnold
2012-03-26 21:26 ` Drew Adams
@ 2012-03-30 9:44 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2012-03-30 9:44 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Mon, 26 Mar 2012 16:18:20 -0400
> From: Jonathan Arnold <jdarnold@buddydog.org>
>
> I have been using p4.el :
>
> http://sourceforge.net/projects/p4el/
>
> for years without a problem. But the version I have been using is one I
> byte-compiled a long time ago. If I download the "latest" version
> (which is from 2006) and try to byte-compile (or even evaluate it), my
> Emacs 23.4.1 just hangs in the middle of processing it. Even if I load
> Emacs with -Q.
It doesn't hang for me. It asks for the full path of the p4
executable (presumably, Perforce, which I don't have), but if I feed
it with a name of a fake executable I create for this purpose, it goes
right on and successfully finishes the compilation.
I tried this both with "emacs -batch -f batch-byte-compile" and by
invoking "M-x emacs-lisp-byte-compile RET" from a running Emacs
session, after visiting p4.el, and both methods worked.
This works for me both with the latest released version 10.6 of p4.el
and with the current CVS version.
Do you get the prompt for the full pathname of the p4 executable? Or
does Emacs hang before that?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-30 9:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 20:18 Problems evaluating p4.el Jonathan Arnold
2012-03-26 21:26 ` Drew Adams
2012-03-30 9:44 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2012-03-22 13:51 Jonathan Arnold
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).