unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
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 11:41:09 +0200	[thread overview]
Message-ID: <nqy6cy60ne.fsf@alcatel-lucent.com> (raw)
In-Reply-To: <m3tynm1tdz.fsf@hase.home> (Andreas Schwab's message of "Mon, 26 Jul 2010 11:31:36 +0200")

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. 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.





  reply	other threads:[~2010-07-26  9:41 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 [this message]
2010-07-26 10:05                 ` Andreas Schwab
2010-07-26 10:13                   ` Michael Albinus
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=nqy6cy60ne.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).