From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: URL filename syntax? Date: Thu, 17 Apr 2003 16:55:24 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <848yu9p40z.fsf@lucy.is.informatik.uni-duisburg.de> References: <841y051emv.fsf@lucy.is.informatik.uni-duisburg.de> <84y92br2ks.fsf@lucy.is.informatik.uni-duisburg.de> <200304152120.h3FLK8G1008335@beta.mvs.co.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050592007 21143 80.91.224.249 (17 Apr 2003 15:06:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2003 15:06:47 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 17 17:06:45 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 196AyL-0005Ut-00 for ; Thu, 17 Apr 2003 17:06:45 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 196B1D-00061U-00 for ; Thu, 17 Apr 2003 17:09:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196AvJ-0006Le-03 for emacs-devel@quimby.gnus.org; Thu, 17 Apr 2003 11:03:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 196Asb-0003iL-00 for emacs-devel@gnu.org; Thu, 17 Apr 2003 11:00:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 196AsV-0003WF-00 for emacs-devel@gnu.org; Thu, 17 Apr 2003 11:00:44 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196AsG-0003Ku-00 for emacs-devel@gnu.org; Thu, 17 Apr 2003 11:00:28 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 196Aqd-0004lF-00 for ; Thu, 17 Apr 2003 16:58:47 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 196Aoi-0004Zh-00 for ; Thu, 17 Apr 2003 16:56:48 +0200 Original-Lines: 59 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:HF5x1xrHrsTZjqUf0mdtEfEATbM= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13265 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13265 "Ehud Karni" writes: > On Tue, 15 Apr 2003 21:19:15 +0200, kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) wrote: >> >> Are you talking about my suggestion of changing ftp://user@host//foo >> to mean the same as ftp://user@host/%2Ffoo, instead of >> ftp://user@host/foo? > > No. I'm talking about the general principal - any legal URL should work > without modification. If `wget' can transfer it, Emacs should be able > to edit it in a buffer (It may be read only). > e.g. https://www.name.tld/foo/bar.html Maybe Tramp does not support http and https URLs initially. >> It's not quite clear what you want: >> >> (a) ftp://user@host/%2Ffoo must have the standard meaning, or >> (b) ftp://user@host//foo must have the standard meaning (ie, same as >> ftp://user@host/foo), or >> (c) both. >> >> I agree on (a). But for (b) I'd say the added convenience outweighs >> the slight incompatibility with the standard. > > (a) must be supported (any legal URL should work). > (b) MAY be supported - improvements are welcomed. Okay. It seems that ftp://user@host//foo is an illegal URL, so I can assign any meaning to it that I like. Hence, I'll define it to mean the same thing as ftp://user@host/%2Ffoo. Do you object? >> (And Tramp is incompatible with the standard anyway, since it mostly >> supports URL schemes like ssh, scp, su, smb, and rsync, which are not >> standardized.) > > If there is no standard - there is no incompatibility. > If there will be standard for any of these methods - it should be > supported Yes. Though I am afraid that there might be a standard which defines some completely useless meaning to these URLs from Tramp's point of view. For example, if there is ever a standard that says that ssh://user@host/ should open a terminal window, then Tramp can't meaningfully support it. (Tramp will show a dired buffer of the home dir of that user on that host instead.) > (note that the ftp standard is NOT supported). The ftp standard is not supported by whom? Tramp does not currently use URL-like syntax, but it does support ftp (on Emacs, via Ange-FTP). -- file-error; Data: (Opening input file no such file or directory ~/.signature)