all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jeff Rancier" <jeff.rancier@softechnics.com>
Subject: Re: ange-ftp not working this AM
Date: Mon, 30 Sep 2002 18:14:02 GMT	[thread overview]
Message-ID: <Kv0m9.70284$kk7.11843155@twister.nyroc.rr.com> (raw)
In-Reply-To: E8%l9.70264$kk7.11778567@twister.nyroc.rr.com

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

      reply	other threads:[~2002-09-30 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30 16:41 ange-ftp not working this AM Jeff Rancier
2002-09-30 18:14 ` Jeff Rancier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Kv0m9.70284$kk7.11843155@twister.nyroc.rr.com' \
    --to=jeff.rancier@softechnics.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.