From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Cc: ding@gnus.org
Subject: Re: URL + efs confusion
Date: Mon, 15 Nov 2010 23:45:26 +0100 [thread overview]
Message-ID: <m37hgeqk8p.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87bp5qbajp.fsf@lifelogs.com>
Ted Zlatanov <tzz@lifelogs.com> writes:
> LMI> (url-retrieve "file:/c:/thing/foo" #'ignore)
>
> LMI> which ends up prompting me for my ftp password, since c:/thing/foo is
> LMI> interpreted as an efs file name.
I meant ange-ftp. I mean, tramp.
> I think the file: prefix should cause anything following to be
> interpreted as a local file. It seems like the URL library is the one
> that should open the file literally without any filename handlers.
Yes, I think that would make most sense.
Although I'm not quite sure what the right fix here is. The `url-file'
function is talking about ange-ftp and efs and has a lot of (featurep
'xemacs) (by the way, is it OK to remove xemacs-related stuff from the
Emacs version of url? Or is it maintained outside of Emacs, too?) and
stuff... but here's the backtrace when I get prompted for my password:
tramp-file-name-handler(file-directory-p "/c:/thing/foo")
file-directory-p("/c:/thing/foo")
url-file-build-filename([cl-struct-url "file" nil nil nil 21 "/c:/thing/foo" nil nil nil nil])
url-file([cl-struct-url "file" nil nil nil 21 "/c:/thing/foo" nil nil nil nil] ignore (nil))
url-retrieve-internal("file:/c:/thing/foo" ignore (nil) nil)
Are there any variables I can bind to just disable the entire
remote-file-access-thing in `url-file-build-filename'?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
prev parent reply other threads:[~2010-11-15 22:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-15 20:06 Lars Magne Ingebrigtsen
2010-11-15 20:23 ` Ted Zlatanov
2010-11-15 22:45 ` Lars Magne Ingebrigtsen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37hgeqk8p.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.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.
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 NNTP newsgroup(s).