all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: sds@gnu.org, 17425@debbugs.gnu.org
Subject: bug#17425: 24.4.50; tramp-cleanup-this-connection on push-button
Date: Mon, 12 May 2014 17:33:59 -0400	[thread overview]
Message-ID: <jwvegzy1y91.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <871tvy4u1t.fsf@gmx.de> (Michael Albinus's message of "Mon, 12 May 2014 22:32:30 +0200")

> (let ((default-directory "http://debbugs.gnu.org"))
>   (url-handler-mode 1)
>   (browse-url "17425"))

For the above to work (assuming browse-url spawns an external process),
browse-url will have to pass the default-directory to the process.
It can't do it using POSIX's "current working directory", so it will
have to pass it some other way.  Once that's done, browse-url can use
unhandled-file-name-directory and change default-directory without
breaking anything.

I.e. unhandled-file-name-directory should be used close to the
call-process/process-start, and for it to work we need to make sure none
of the parameters are relative file-names, indeed.  But that's the only
way it can work reliably, since there's no way to pass relative file
names to a process when the base directory doesn't exist in the OS.


        Stefan





  parent reply	other threads:[~2014-05-12 21:33 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
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 [this message]
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=jwvegzy1y91.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=17425@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    --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.