From: Michael Albinus <michael.albinus@gmx.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: "6717@debbugs.gnu.org" <6717@debbugs.gnu.org>,
"jidanni@jidanni.org" <jidanni@jidanni.org>
Subject: bug#6717: tramp-dissect-file-name: Not a Tramp file name
Date: Mon, 26 Jul 2010 12:13:43 +0200 [thread overview]
Message-ID: <nqtynm5z54.fsf@alcatel-lucent.com> (raw)
In-Reply-To: <m3k4oi1rtv.fsf@hase.home> (Andreas Schwab's message of "Mon, 26 Jul 2010 12:05:16 +0200")
Andreas Schwab <schwab@linux-m68k.org> writes:
> Michael Albinus <michael.albinus@gmx.de> writes:
>
>> Andreas Schwab <schwab@linux-m68k.org> writes:
>>
>>> Michael Albinus <michael.albinus@gmx.de> writes:
>>>
>>>> Andreas Schwab <schwab@linux-m68k.org> 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.
I believe, such a mis-handling of the URL file name part can happen
somewhere else as well. So a more general solution might be useful.
For the concrete location of my patch you might be right. Let-bind of
file-name-handler-alist to nil should do the job as well.
> Andreas.
Best regards, Michael.
next prev parent reply other threads:[~2010-07-26 10:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-24 14:54 bug#6717: tramp-dissect-file-name: Not a Tramp file name jidanni
2010-07-24 19:09 ` Michael Albinus
2010-07-24 23:35 ` jidanni
2010-07-25 14:26 ` Michael Albinus
2010-07-25 15:26 ` Andreas Schwab
2010-07-25 20:50 ` Michael Albinus
2010-07-25 22:10 ` Andreas Schwab
2010-07-26 4:08 ` Michael Albinus
2010-07-26 9:31 ` Andreas Schwab
2010-07-26 9:41 ` Michael Albinus
2010-07-26 10:05 ` Andreas Schwab
2010-07-26 10:13 ` Michael Albinus [this message]
2010-07-26 10:31 ` Andreas Schwab
2010-07-26 14:02 ` Michael Albinus
2010-07-24 23:47 ` jidanni
2010-07-24 23:56 ` jidanni
2010-07-25 0:59 ` jidanni
2010-07-25 1:39 ` jidanni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nqtynm5z54.fsf@alcatel-lucent.com \
--to=michael.albinus@gmx.de \
--cc=6717@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).