From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jeff Rancier" Newsgroups: gmane.emacs.help Subject: Re: ange-ftp not working this AM Date: Mon, 30 Sep 2002 18:14:02 GMT Organization: Road Runner Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1033410437 6362 127.0.0.1 (30 Sep 2002 18:27:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Sep 2002 18:27:17 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17w5GF-0001eT-00 for ; Mon, 30 Sep 2002 20:27:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17w5GR-0006vg-00; Mon, 30 Sep 2002 14:27:27 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.nyroc.rr.com!cyclone-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 73 X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 24.97.108.46 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: twister.nyroc.rr.com 1033409642 24.97.108.46 (Mon, 30 Sep 2002 14:14:02 EDT) Original-NNTP-Posting-Date: Mon, 30 Sep 2002 14:14:02 EDT Original-Xref: nntp.stanford.edu gnu.emacs.help:105555 comp.emacs:74934 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2099 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2099 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" 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 > >