From xemacs-m  Mon Mar  3 15:53:50 1997
Received: from hudutilgw.ml.com (hudutilf01.ml.com [198.242.49.31])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA21958
	for <xemacs-beta@xemacs.org>; Mon, 3 Mar 1997 15:53:50 -0600 (CST)
Received: from ml2.ml.com ([199.201.37.130])
	by hudutilgw.ml.com (8.8.5/8.8.5/MLgw-3.03) with ESMTP id QAA23568
	for <xemacs-beta@xemacs.org>; Mon, 3 Mar 1997 16:52:07 -0500 (EST)
Received: from commpost.ml.com (commpost.ml.com [146.125.4.24]) by ml2.ml.com (8.7.5/8.7.3/MLml-2.06b) with SMTP id QAA07472 for <xemacs-beta@xemacs.org>; Mon, 3 Mar 1997 16:56:27 -0500 (EST)
Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id QAA03131; Mon, 3 Mar 1997 16:56:02 -0500
Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1)
	id QAA19528; Mon, 3 Mar 1997 16:52:53 -0500
Mail-Copies-To: never
To: XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: Re: load-path with remote host [YouKnowWho]
References: <3066364977562441@naggum.no> <kighgis4tb3.fsf_-_@jagor.srce.hr>
Reply-To: Colin Rafferty <craffert@ml.com>
X-Face: ""xJff<P[R~C67]V?J|X^Dr`YigXK|;1wX<rt^>%{>hr-{:QXl"Xk2O@@(+F]e{"%EYQiW@mUuvEsL>=mx96j12qW[%m;|:B^n{J8k?Mz[K1_+H;$v,nYx^1o_=4M,L+]FIU~[[`-w~~xsy-BX,?tAF_.8u&0y*@aCv;a}Y'{w@#*@iwAl?oZpvvv
X-Y-Zippy: I am having FUN...  I wonder if it's NET FUN or GROSS FUN?
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Mar__3_16:52:52_1997-1"
Content-Transfer-Encoding: 7bit
From: Colin Rafferty <craffert@spspme.ml.com>
Date: 03 Mar 1997 16:52:52 -0500
In-Reply-To: Hrvoje Niksic's message of 03 Mar 1997 21:25:04 +0100
Message-ID: <ocrybc44p8r.fsf@spssunp.spspme.ml.com>
Lines: 112
X-Mailer: Gnus v5.4.12/XEmacs 20.1

--Multipart_Mon_Mar__3_16:52:52_1997-1
Content-Type: text/plain; charset=US-ASCII

Hrvoje Niksic writes:

> For some reason I hate when YouKnowWho is right in anything he says
> about XEmacs.  Here is a thing that bugs me now.

> The discussion was about allowing things like "/user@host:dir" in one's
> load-path, and for Emacs really doing what it's supposed to do.  GNU
> Emacs is said to handle this correctly (haven't checked), but XEmacs
> doesn't.

>> it could be you are using XEmacs, and that XEmacs does not allow
>> this, yet.
> [...]
>> upgrade to GNU Emacs 19.34 if this is important to you.

> Nyah nyah.

> Now, to the point.  I put the correct things to my .netrc, and push
> "/hniksic@regoc:site-lisp" to the beginning of my load-path.  I
> require 'efs-auto (*grumble*), and I create a file something.el,
> containing (message "hi") (provide 'something) on regoc in the
> site-lisp/ directory.

> Now, I require 'something, XEmacs loads efs (or, ange-ftp in 19.14),
> and says "Cannot open load file: something".  What?!  The log is as
> follows:

> open regoc 
> Connected to regoc.srce.hr. 
> 220 regoc FTP server (Version wu-2.4-ci(1) Fri Apr 26 13:19:06 MET DST 1996) re\
> ady. 
ftp> quote user "hniksic" 
> 331 Password required for hniksic. 
ftp> quote pass  Turtle Power! 
> 230 User hniksic logged in. 
ftp> hash 
> Hash mark printing on (1024 bytes/hash mark). 
ftp> quote pwd 
> 257 "/usr/users/hniksic" is current directory. 
ftp> quote syst 
> 215 UNIX Type: L8 
ftp> 

> As you can clearly see, efs got no clue as to what it should do.  It
> just logged on.  Which is Obviously Wrong.

On MULE XEmacs20.1b3, I just tried something similar, and it worked
perfectly.  I created a file niksic.el that had (message "Hi Hrvoje")
(provide 'niksic) on machine sparc10 in directory ~/hniksic.

Note that I set efs-default-password and efs-default-user in my .emacs.

I did (push "/sparc10:/home/craffert/hniksic" load-path)
(require 'niksic), and got the message.  I think Someone needs to
upgrade from Emacs 19.34 to XEmacs 20.

I do not know what is going wrong with your efs.  Even with a lame ftpd,
efs gets it right for me.

Here is the total output from buffer "*ftp craffert@sparc10*".


--Multipart_Mon_Mar__3_16:52:52_1997-1
Content-Type: text/plain; charset=US-ASCII

open sparc10
Connected to sparc10.
220 sparc10 FTP server (SunOS 4.1) ready.
ftp> quote user "craffert"
331 Password required for craffert.
ftp> quote pass  Turtle Power!
230 User craffert logged in.
ftp> hash
Hash mark printing on (8192 bytes/hash mark).
ftp> quote pwd
257 "/export/home5/craffert" is current directory.
ftp> quote syst
500 'SYST': command not understood.
ftp> ls "-al /home/craffert/hniksic/niksic.elc/." /tmp/efsa004Wi
200 PORT command successful.
150 ASCII data connection for /bin/ls (192.168.111.13,40965) (0 bytes).
226 ASCII Transfer complete.
local: /tmp/efsa004Wi remote: -al /home/craffert/hniksic/niksic.elc/.
47 bytes received in 0.025 seconds (1.8 Kbytes/s)
ftp> quote site idle
502 SITE command not implemented.
ftp> ls "-al /home/craffert/hniksic/." /tmp/efsa004Wi
200 PORT command successful.
150 ASCII data connection for /bin/ls (192.168.111.13,40966) (0 bytes).
226 ASCII Transfer complete.
local: /tmp/efsa004Wi remote: -al /home/craffert/hniksic/.
162 bytes received in 0.04 seconds (4 Kbytes/s)
ftp> type image
200 Type set to I.
ftp> get /home/craffert/hniksic/niksic.el /tmp/efsa004Wi
200 PORT command successful.
150 Binary data connection for /home/craffert/hniksic/niksic.el (192.168.111.13,40967) (40 bytes).
226 Binary Transfer complete.
local: /tmp/efsa004Wi remote: /home/craffert/hniksic/niksic.el
40 bytes received in 0.00098 seconds (40 Kbytes/s)
ftp> 

--Multipart_Mon_Mar__3_16:52:52_1997-1
Content-Type: text/plain; charset=US-ASCII

-- 
Colin

--Multipart_Mon_Mar__3_16:52:52_1997-1--

