unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Glenn Morris <rgm@gnu.org>
Cc: Sam Steingold <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 19:08:13 +0200	[thread overview]
Message-ID: <87fvkkurk2.fsf@gmx.de> (raw)
In-Reply-To: <fw4n10p5iy.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 08 May 2014 13:03:01 -0400")

Glenn Morris <rgm@gnu.org> writes:

> Because it starts a process, which needs a directory to run in.
> It needs to ehck that it still exists, else
> http://debbugs.gnu.org/6077

I'm not against setting default-directory to a sensible value. But your
patch was kind of sledge-hammer to me.

In Tramp, I wrap just the call of the external process by a let-bind to
a local default-directory. As close as possible to the call.

By this, there are less collateral damages.

Best regards, Michael.





  reply	other threads:[~2014-05-08 17:08 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 [this message]
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
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

  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=87fvkkurk2.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 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).