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: Sun, 25 Jul 2010 22:50:15 +0200 Message-ID: <87mxtfmgl4.fsf@gmx.de> References: <87iq44zog6.fsf@gmx.de> <871vas5u8i.fsf@jidanni.org> <87iq43k589.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 1280092424 7515 80.91.229.12 (25 Jul 2010 21:13:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2010 21:13:44 +0000 (UTC) Cc: 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 Sun Jul 25 23:13: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 1Od8Vy-0005WW-IS for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jul 2010 23:13:42 +0200 Original-Received: from localhost ([127.0.0.1]:47600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Od8QG-0006q1-W9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jul 2010 17:07:49 -0400 Original-Received: from [140.186.70.92] (port=59311 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Od8Q3-0006mm-FS for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2010 17:07:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Od8Q1-0002qK-Cx for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2010 17:07:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36922) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Od8Q1-0002qG-AD for bug-gnu-emacs@gnu.org; Sun, 25 Jul 2010 17:07:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Od8A1-0003Rs-WA; Sun, 25 Jul 2010 16:51: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: Sun, 25 Jul 2010 20:51:01 +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.128009102313247 (code B ref 6717); Sun, 25 Jul 2010 20:51:01 +0000 Original-Received: (at 6717) by debbugs.gnu.org; 25 Jul 2010 20:50:23 +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 1Od89O-0003Rc-UW for submit@debbugs.gnu.org; Sun, 25 Jul 2010 16:50:23 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Od89M-0003RV-5P for 6717@debbugs.gnu.org; Sun, 25 Jul 2010 16:50:21 -0400 Original-Received: (qmail invoked by alias); 25 Jul 2010 20:50:22 -0000 Original-Received: from p4FC18B37.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.193.139.55] by mail.gmx.net (mp007) with SMTP; 25 Jul 2010 22:50:22 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+mKbZERROmvT8B9+uG+wfplpQKYH7dUiLlJE3OeS /hfd719sGCJB37 In-Reply-To: (Andreas Schwab's message of "Sun, 25 Jul 2010 17:26:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 25 Jul 2010 16:51:01 -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:38920 Archived-At: 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 ? I do not know url*.el sufficiently, that I could decide this ... > Andreas. Best regards, Michael.