From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: file://host/location URLs Date: Mon, 19 Nov 2012 18:16:06 +0100 Organization: Linux Private Site Message-ID: <87obit5x9l.fsf@Rainer.invalid> References: <50A57E1A.4040109@dancol.org> <50A6FDD7.4090304@dancol.org> <87a9ugljpg.fsf@Rainer.invalid> <50A8FF48.6090007@dancol.org> <87haom6yef.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353345398 31882 80.91.229.3 (19 Nov 2012 17:16:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 17:16:38 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 18:16:49 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaUxj-0004mz-3o for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 18:16:47 +0100 Original-Received: from localhost ([::1]:35555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUxY-0006xP-Ry for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 12:16:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUxW-0006ww-Qq for emacs-devel@gnu.org; Mon, 19 Nov 2012 12:16:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaUxL-0006Ih-OV for emacs-devel@gnu.org; Mon, 19 Nov 2012 12:16:34 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:36342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUxL-0006Ic-Hf for emacs-devel@gnu.org; Mon, 19 Nov 2012 12:16:23 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TaUxR-0004UY-Fw for emacs-devel@gnu.org; Mon, 19 Nov 2012 18:16:29 +0100 Original-Received: from pd9eb2ea7.dip.t-dialin.net ([217.235.46.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Nov 2012 18:16:29 +0100 Original-Received: from Stromeko by pd9eb2ea7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Nov 2012 18:16:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb2ea7.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Cancel-Lock: sha1:hov+eVIw+wzA1d8t9ZmeMzUQUIU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154958 Archived-At: Stephen J. Turnbull writes: > I disagree. To me, it's the obvious RFC-standardized way to write an > ssh/scp/sftp URL[1] for fetching a file from a specific host, where > the user of the URL is expected to be able to access the same file > system on that host as the writer, but without constraining the user > to a possibly inconvenient transport protocol. Yes, and that is what I use them for: if I need to point to a file that resides on a specific host that I may or may not have direct access to depending on where I am, then specifying that resource as a non-local file URI is mightily convenient. If it resolves to localhost then it should be a normal file access, if the target file system is already mounted or reachable via a network file system, then I'd like to use that access path and if all else fails, then try scp, ssh or ftp or even avian carrier (see RFC1149/2549). If there's anything to fix in Emacs then it is its insistence to only try FTP for those (if I always wanted to use FTP then I'd use an FTP URI). If it warned users about obviously malformed URIs and offered sensible corrections that would also be nice. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds