From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#6717: tramp-dissect-file-name: Not a Tramp file name Date: Mon, 26 Jul 2010 12:05:16 +0200 Message-ID: References: <87iq44zog6.fsf@gmx.de> <871vas5u8i.fsf@jidanni.org> <87iq43k589.fsf@gmx.de> <87mxtfmgl4.fsf@gmx.de> <87iq42nauc.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280138914 20939 80.91.229.12 (26 Jul 2010 10:08:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 10:08:34 +0000 (UTC) Cc: "6717@debbugs.gnu.org" <6717@debbugs.gnu.org>, "jidanni@jidanni.org" To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 26 12:08:30 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKbi-0006To-VA for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jul 2010 12:08:27 +0200 Original-Received: from localhost ([127.0.0.1]:54007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdKbh-0002z9-QB for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jul 2010 06:08:25 -0400 Original-Received: from [140.186.70.92] (port=54812 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdKbI-0002pk-Vl for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 06:08:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdKb7-0003ku-Rc for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 06:08:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43829) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKb7-0003kq-QI for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 06:07:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OdKZO-0000j4-Eo; Mon, 26 Jul 2010 06:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Jul 2010 10:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6717 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6717-submit@debbugs.gnu.org id=B6717.12801387162776 (code B ref 6717); Mon, 26 Jul 2010 10:06:02 +0000 Original-Received: (at 6717) by debbugs.gnu.org; 26 Jul 2010 10:05:16 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKYd-0000ij-No for submit@debbugs.gnu.org; Mon, 26 Jul 2010 06:05:15 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKYb-0000id-EO for 6717@debbugs.gnu.org; Mon, 26 Jul 2010 06:05:14 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id B0C491C0032A; Mon, 26 Jul 2010 12:05:17 +0200 (CEST) Original-Received: from hase.home (ppp-88-217-123-88.dynamic.mnet-online.de [88.217.123.88]) by mail.mnet-online.de (Postfix) with ESMTP id 3484B1C0053A; Mon, 26 Jul 2010 12:05:17 +0200 (CEST) X-Yow: I'm having BEAUTIFUL THOUGHTS about the INSIPID WIVES of smug and wealthy CORPORATE LAWYERS.. In-Reply-To: (Michael Albinus's message of "Mon, 26 Jul 2010 11:41:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Jul 2010 06:06:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38937 Archived-At: Michael Albinus writes: > Andreas Schwab writes: > >> Michael Albinus writes: >> >>> Andreas Schwab writes: >>> >>>>>> IMHO this is the wrong place to fix that. Instead file-name-directory >>>>>> should not be called on the local part in the first place, or at least >>>>>> *all* file name handlers should be suppressed around the call. >>>>> >>>>> I thought about that. But I'm not sure, whether we shall disable >>>>> jka-compr, for example. What happens, if the URL is something like >>>>> http://host.cc/path/file.gz ? >>>> >>>> Nothing special. Why should it? It's not a file name, it is a URL. >>> >>> Maybe. But at least `url-file-handler' must be kept, it treats the URL >>> as a file name. >> >> Why? There is no url-file-name-directory. > > Indeed. But you don't know, which other primitive functions are called, > requesting a url-* handler. ??? We are talking about file-name-directory. > And you don't know, whether url-file-name-directory will be added to > url-handlers.el in the future. Even then, it will not be called because the argument does not match the syntax of a URL, since it's only the local part of it. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."