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 00:10:40 +0200 Message-ID: References: <87iq44zog6.fsf@gmx.de> <871vas5u8i.fsf@jidanni.org> <87iq43k589.fsf@gmx.de> <87mxtfmgl4.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 1280097465 20632 80.91.229.12 (25 Jul 2010 22:37:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2010 22:37:45 +0000 (UTC) Cc: 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 00:37:42 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 1Od9pF-0001lQ-VW for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jul 2010 00:37:42 +0200 Original-Received: from localhost ([127.0.0.1]:37737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Od9pE-0001of-Ks for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jul 2010 18:37:40 -0400 Original-Received: from [140.186.70.92] (port=41844 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Od9p8-0001oa-Qj for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2010 18:37:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Od9p7-0004wb-7d for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2010 18:37:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41463) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Od9p7-0004wV-64 for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2010 18:37:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Od9PS-0003zS-Bh; Sun, 25 Jul 2010 18:11: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: Sun, 25 Jul 2010 22:11: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.128009584215331 (code B ref 6717); Sun, 25 Jul 2010 22:11:02 +0000 Original-Received: (at 6717) by debbugs.gnu.org; 25 Jul 2010 22:10:42 +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 1Od9P7-0003zE-9I for submit@debbugs.gnu.org; Sun, 25 Jul 2010 18:10:41 -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 1Od9P4-0003z9-Ru for 6717@debbugs.gnu.org; Sun, 25 Jul 2010 18:10:39 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id E1EB31C001E5; Mon, 26 Jul 2010 00:10:41 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-114-73.dynamic.mnet-online.de [88.217.114.73]) by mail.mnet-online.de (Postfix) with ESMTP id B61111C000F6; Mon, 26 Jul 2010 00:10:41 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 244E7CA297; Mon, 26 Jul 2010 00:10:40 +0200 (CEST) X-Yow: Is it NOUVELLE CUISINE when 3 olives are struggling with a scallop in a plate of SAUCE MORNAY? In-Reply-To: <87mxtfmgl4.fsf@gmx.de> (Michael Albinus's message of "Sun, 25 Jul 2010 22:50:15 +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: Sun, 25 Jul 2010 18:11: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:38922 Archived-At: Michael Albinus writes: > Andreas Schwab writes: > >> Michael Albinus writes: >> >>> --- 435,444 ---- >>> (delete-process url-http-process))))) >>> (let ((buffer (current-buffer)) >>> (class nil) >>> ! (success nil) >>> ! ;; The filename part of a URL could be in remote file syntax, >>> ! ;; see Bug#6717 for an example. We disable Tramp, therefore. >>> ! (tramp-mode nil)) >> >> 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. 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."