From xemacs-m  Mon Mar  3 14:25:11 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA21038
	for <xemacs-beta@xemacs.org>; Mon, 3 Mar 1997 14:25:09 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id VAA12891; Mon, 3 Mar 1997 21:25:05 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: load-path with remote host [YouKnowWho]
References: <3066364977562441@naggum.no>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 03 Mar 1997 21:25:04 +0100
In-Reply-To: Erik Naggum's message of 03 Mar 1997 08:02:57 +0000
Message-ID: <kighgis4tb3.fsf_-_@jagor.srce.hr>
Lines: 62
X-Mailer: Gnus v5.4.17/XEmacs 19.14

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.


YouKnowWho says:

>   /* If file name is magic, call the handler.  */
>   handler = Ffind_file_name_handler (file, Qload);
>   if (!NILP (handler))
>     return call5 (handler, Qload, file, noerror, nomessage, nosuffix);
> 
> this is how ange-ftp hooks into the code.

Really, lread.c:576 contains exactly that snippet of code.  So
something is broken deeper.  Can any/all of you repeat the lossage I
experience?  Does anyone know the fix?

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Psychos _do not_ explode when sunlight hits them."

