* ange-ftp not working this AM
@ 2002-09-30 16:41 Jeff Rancier
2002-09-30 18:14 ` Jeff Rancier
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Rancier @ 2002-09-30 16:41 UTC (permalink / raw)
Hello All,
A strange thing happened this morning. I started NTEmacs (21.2.1 on Windows
XP), and when I trying to use ange-ftp to visit a file, emacs sits
*indefinitely* (I let it set for about 10 minutes). I can stop it with C-g,
and upon inspecting the *Messages* buffer, I see that NTEmacs *appears* to
be stuck in the function:
ange-ftp-start-process.
(1) 9 out of 10 times, the ange-ftp buffer is zero length, but that one time
shows: get NUL
(2) I set instrument-function-for-debug on ange-ftp-start-process(), and it
hangs at the end of the function.
(3) Has anyone experienced this? My .emacs hasn't changed in several weeks,
and I've used ange-ftp right along.
(4) I can get ange-ftp to work, by running runemacs.exe -q.
(5) I've been trying to comment out my .emacs and keep restarting. Is there
a better way?
(6) Is there any way to insert a halt command into my .emacs to abort
reading the initialization file?
I'm at a loss right now. Any help would be appreciated.
--
Thanks,
Jeff
-----------------------------------------------------------------
Jeffery B. Rancier
Softechnics, a METTLER TOLEDO company
http://www.softechnics.com
http://www.mt.com
-----------------------------------------------------------------
"Live as if you were to die tomorrow.
Learn as if you were to live forever."
- M.K. Gandhi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ange-ftp not working this AM
2002-09-30 16:41 ange-ftp not working this AM Jeff Rancier
@ 2002-09-30 18:14 ` Jeff Rancier
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Rancier @ 2002-09-30 18:14 UTC (permalink / raw)
I think I've found it after about 6 hours of commenting/uncommenting my
.emacs. I did a install from the internet update for my cygwin tools, and
*apparently* Cygwin thought I needed a different version of ftp. So,
ange-ftp was breaking due to the following line:
(setq exec-path (cons "h:/usr/pkg/cygwin/bin" exec-path))
Perhaps, if I added the cygwin path somehow to the end of list instead at
the beginning? I guess I should also be curious as to why this is failing,
and if there is a better solution than using a binary search method of
commenting out half my .emacs, test, and do it again.
Is gdb.exe what I should use to debug elisp, in particular my .emacs? I've
tried runemacs.exe --debug-init, but when it fails, the information in the
backtrace, is pretty much unusable to me. Is there way to
have --debug-init, step through my .emacs, alerting me to the problem, in a
*run* or *trace* mode?
TIA,
Jeff
"Jeff Rancier" <jeff.rancier@softechnics.com> wrote in message
news:E8%l9.70264$kk7.11778567@twister.nyroc.rr.com...
> Hello All,
>
> A strange thing happened this morning. I started NTEmacs (21.2.1 on
Windows
> XP), and when I trying to use ange-ftp to visit a file, emacs sits
> *indefinitely* (I let it set for about 10 minutes). I can stop it with
C-g,
> and upon inspecting the *Messages* buffer, I see that NTEmacs *appears* to
> be stuck in the function:
>
> ange-ftp-start-process.
>
> (1) 9 out of 10 times, the ange-ftp buffer is zero length, but that one
time
> shows: get NUL
> (2) I set instrument-function-for-debug on ange-ftp-start-process(), and
it
> hangs at the end of the function.
> (3) Has anyone experienced this? My .emacs hasn't changed in several
weeks,
> and I've used ange-ftp right along.
> (4) I can get ange-ftp to work, by running runemacs.exe -q.
> (5) I've been trying to comment out my .emacs and keep restarting. Is
there
> a better way?
> (6) Is there any way to insert a halt command into my .emacs to abort
> reading the initialization file?
>
> I'm at a loss right now. Any help would be appreciated.
> --
>
> Thanks,
> Jeff
>
> -----------------------------------------------------------------
> Jeffery B. Rancier
> Softechnics, a METTLER TOLEDO company
> http://www.softechnics.com
> http://www.mt.com
> -----------------------------------------------------------------
> "Live as if you were to die tomorrow.
> Learn as if you were to live forever."
>
> - M.K. Gandhi
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-30 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-30 16:41 ange-ftp not working this AM Jeff Rancier
2002-09-30 18:14 ` Jeff Rancier
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).