bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6717: tramp-dissect-file-name: Not a Tramp file name


From: Andreas Schwab
Subject: bug#6717: tramp-dissect-file-name: Not a Tramp file name
Date: Mon, 26 Jul 2010 00:10:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Michael Albinus <address@hidden> writes:

> Andreas Schwab <address@hidden> writes:
>
>> Michael Albinus <address@hidden> 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, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]