From: Michael Albinus <michael.albinus@gmx.de>
To: Glenn Morris <rgm@gnu.org>
Cc: sds@gnu.org, 17425@debbugs.gnu.org
Subject: bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button
Date: Thu, 08 May 2014 21:37:00 +0200 [thread overview]
Message-ID: <87bnv8uko3.fsf@gmx.de> (raw)
In-Reply-To: <kwzjisnqoh.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 08 May 2014 13:09:02 -0400")
Glenn Morris <rgm@gnu.org> writes:
> Michael Albinus wrote:
>
>> (let ((default-directory "http://debbugs.gnu.org/"))
>> (url-handler-mode 1)
>> (expand-file-name "17245"))
>
> Hey, this fails with a recursive load in emacs-24.3.90 -Q! :)
So we still have something to fix during the pretest :-)
Reminds me on test case tramp-test33-recursive-load, which I have
written some weeks ago due to a similar error in Tramp.
I'll check tomorrow what's up (but I don't know url-* too much).
>> returns a valid url which could be passed to browse-url.
>
> But surely if it worked it would just return "http://debbugs.gnu.org/17245"?
Yes.
> Why is that a problem?
It's not a problem. It would be a problem, if it does *not* return that
url, when default-directory is changed to something unrelated.
> What does it even mean for browse-url to call eg firefox with a
> default-directory of "http://debbugs.gnu.org/"?
> It surely cannot run firefox on debbugs.gnu.org...
Don't know. Some weeks ago, we have added further schemes to
url-handlers.el, see url-handler-regexp (don't remember whether it was
in the pretest or in trunk). And there is the scheme "ssh", for example.
This would allow to run firefox on a remote host. But I don't know
whether such a url goes ever to browse-url ...
Again, I have no scenario which shows that your patch will fail. But I
have bad feeling to touch default-directory such a way. Experience from
10 years Tramp maintainership.
Best regards, Michael.
next prev parent reply other threads:[~2014-05-08 19:37 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 21:29 bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button Sam Steingold
2014-05-06 23:59 ` Glenn Morris
2014-05-07 0:43 ` Sam Steingold
2014-05-07 0:55 ` Glenn Morris
2014-05-07 7:50 ` Michael Albinus
2014-05-07 21:22 ` Sam Steingold
2014-05-08 7:04 ` Glenn Morris
2014-05-08 7:48 ` Michael Albinus
2014-05-08 16:10 ` Glenn Morris
2014-05-08 16:44 ` Sam Steingold
2014-05-08 16:52 ` Michael Albinus
2014-05-08 17:03 ` Glenn Morris
2014-05-08 17:08 ` Michael Albinus
2014-05-08 17:04 ` Michael Albinus
2014-05-08 17:09 ` Glenn Morris
2014-05-08 19:37 ` Michael Albinus [this message]
2014-05-09 12:50 ` Michael Albinus
2014-05-09 14:01 ` Stefan Monnier
2014-05-12 11:02 ` Michael Albinus
2014-05-12 18:15 ` Stefan Monnier
2014-05-12 18:50 ` Michael Albinus
2014-05-12 19:30 ` Stefan Monnier
2014-05-12 20:32 ` Michael Albinus
2014-05-12 20:48 ` Michael Albinus
2014-05-12 21:33 ` Stefan Monnier
2014-05-13 9:09 ` Michael Albinus
2014-05-13 13:13 ` Stefan Monnier
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=87bnv8uko3.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=17425@debbugs.gnu.org \
--cc=rgm@gnu.org \
--cc=sds@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.