[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Re: ange-ftp not working this AM

From: Jeff Rancier
Subject: Re: [h-e-w] Re: ange-ftp not working this AM
Date: Mon, 30 Sep 2002 16:14:38 -0400

Actually, the path has been constant.  Just a new ftp.exe in the path.  I've tried in the past to rename/erase the c:\...\system32\ftp.exe, and some *monitor* in Windows detects, and restores it.  I'll play around with it and report.
----- Original Message -----
Sent: Monday, September 30, 2002 3:53 PM
Subject: Re: [h-e-w] Re: ange-ftp not working this AM

"Jeff Rancier" <address@hidden> writes:

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

It is frustrating when something changes "behind your back".

> Perhaps, if I added the cygwin path somehow to the end of list
> instead at the beginning?

I always set exec-path explicitly, precisely for this reason:

;; "standard" Ada, TeX etc.
   (setq exec-path
          (concat gnu-drive "/usr/bin") ;; my tools, distributed binaries
          (concat gnu-drive "/usr/local/bin") ;; locally compiled gnu tools
          (concat gnat-root "/bin")
          exec-directory ; emacs utils
          "c:/texmf/miktex/bin/" ; before cygwin
          (concat gnu-drive "/Gnu/cygwin/bin")
   (setenv "PATH" (mapconcat 'identity  exec-path  path-separator))
   (setenv "MAKERULES" "e:/ST5/Tools/Makerules")

> I guess I should also be curious as to why this is failing,

I use cygwin ftp under emacs, from Windows NT, and it works fine.

> and if there is a better solution than using a binary search method
> of commenting out half my .emacs, test, and do it again.

I don't think there is. Unless you suspect a bad/new ftp.exe, you
would not have thought that setting the path to include cygwin was
bad. So you'd have stepped right past it anyway.

> Is gdb.exe what I should use to debug elisp, in particular my
> .emacs?

No. I'm not sure how to "step thru" a .el file. You can step thru a
function by executing 'M-x debug-on-entry'.

-- Stephe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]