Re: ftp URL -> ANF
wmperry@spry.com
Wed, 22 Mar 95 06:28 PST
Christian Lynbech writes:
> >>>>> "David" == David N Blank-Edelman <dnb@meshugge.media.mit.edu> writes:
>
> David> Has anyone written the quick hack it would take to have ange-ftp
> David> accept the anon ftp://... URL in addtion to the Ange Normal Form
> David> (/host:..)? I'm hoping for (gulp) emacs 18 elisp code. Thanks!
>
> I have tried the obvious solution (manipulating the regexps) and
> failed. Even though I tried with emacs19, I suspect you may run into the
> same problem.
[...]
> I have seen that John Interrante has posted one fix, utilizing a special
> key. Another approach woul be grab the W3 package, which is supposed to
> be an emacs interface to the World Wide Web. I do not know if it will run
> on emacs 18.
Yup it does.
> It just appeared to me that it would perhaps work to use regexps that
> would natch again the domain, ie. something to the effect of (unquoted)
>
> ^/\([^/.]\.\)+\.\(edu\|com\)/
>
> I guess only few people has files in the top-level directory ending on
> .edu or .com. The execise is of course to find a set of doamins, large
> enough to cover the parts of the net one usually surfs in.
The next release of emacs 19 will have all sorts of fun stuff that let
emacs-w3 install its own set of file-handlers, and let you do
http://xxxxx/foo.html (or any other URL) for most file operations. Works
pretty well with the patches that should be in 19.29 for this hand applied.
-Bill P.