From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#6717: tramp-dissect-file-name: Not a Tramp file name Date: Mon, 26 Jul 2010 11:41:09 +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 1280138968 21113 80.91.229.12 (26 Jul 2010 10:09:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 10:09:28 +0000 (UTC) Cc: "6717@debbugs.gnu.org" <6717@debbugs.gnu.org>, "jidanni@jidanni.org" To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 26 12:09:25 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 1OdKcd-0006lq-03 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jul 2010 12:09:23 +0200 Original-Received: from localhost ([127.0.0.1]:54521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdKcc-0003PE-9M for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jul 2010 06:09:22 -0400 Original-Received: from [140.186.70.92] (port=54761 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdKbA-0002mH-F8 for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 06:08:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdKb0-0003jB-DX for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 06:07:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43817) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKb0-0003j5-9l for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 06:07:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OdKCA-0000X0-8z; Mon, 26 Jul 2010 05:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus 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 09:42: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.12801372712033 (code B ref 6717); Mon, 26 Jul 2010 09:42:02 +0000 Original-Received: (at 6717) by debbugs.gnu.org; 26 Jul 2010 09:41:11 +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 1OdKBK-0000Wk-3i for submit@debbugs.gnu.org; Mon, 26 Jul 2010 05:41:10 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKBH-0000WO-6l for 6717@debbugs.gnu.org; Mon, 26 Jul 2010 05:41:08 -0400 Original-Received: from destgsu0048.de.alcatel-lucent.com (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.14.3/8.14.3/ICT) with ESMTP id o6Q9fAWC009874; Mon, 26 Jul 2010 11:41:10 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.de.alcatel-lucent.com (8.12.3/8.12.3) with ESMTP id o6Q9fARZ013893; Mon, 26 Jul 2010 11:41:10 +0200 (MEST) In-Reply-To: (Andreas Schwab's message of "Mon, 26 Jul 2010 11:31:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Alcanet-virus-scanned: o6Q9fARZ013893 at destgsu0048.de.alcatel-lucent.com X-Scanned-By: MIMEDefang 2.64 on 149.204.45.73 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Jul 2010 05:42: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:38939 Archived-At: 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. And you don't know, whether url-file-name-directory will be added to url-handlers.el in the future. At least I don't know. If there shall be another fix than disabling Tramp temporarily, I would like to give it to somebody else with much more knowledge about the url package than I have. > Andreas. Best regards, Michael.