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: Chong Yidong <cyd@stupidchicken.com>,
	Michael Olson <mwolson@gnu.org>,
	Emacs Development Discussions <emacs-devel@gnu.org>
Subject: Re: Fixing dired hangs when NFS mount goes AWOL
Date: Fri, 07 Oct 2011 09:41:10 -0400	[thread overview]
Message-ID: <jwvhb3kj4zv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87sjn558o8.fsf@gmx.de> (Michael Albinus's message of "Fri, 07 Oct 2011 13:43:19 +0200")

>>> Not so important for basic file name operations, but needed for all
>>> process related things.
>> These are the uses which should use something like
>> file-accessible-directory-p instead of file-remote-p, right?

> A needed functionality is to translate between "local" file names (on
> the remote host), and "remote" file names in the sense of Tramp. The
> usual implementation is

> local -> remote:   (concat (file-remote-p default-directory) filename)
> remote -> local:   (file-remote-p filename 'localname)

Yes, file-remote-p for NFS would need to pay attention to such problems,
and it might introduce bugs, but that doesn't mean that file-remote-p
can't be used for NFS.


        Stefan



  reply	other threads:[~2011-10-07 13:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-05 18:50 Fixing dired hangs when NFS mount goes AWOL Michael Olson
2011-10-05 21:27 ` Chong Yidong
2011-10-05 21:59   ` Michael Olson
2011-10-05 22:14     ` Glenn Morris
2011-10-05 22:34       ` Michael Olson
2011-10-05 22:55         ` Glenn Morris
2011-10-05 23:14           ` Glenn Morris
2011-10-05 23:27             ` Michael Olson
2011-10-05 23:31               ` Michael Olson
2011-10-06 12:25               ` Stefan Monnier
2011-10-06 13:18                 ` Michael Albinus
2011-10-06 13:25                   ` Eli Zaretskii
2011-10-06 15:22                   ` Stefan Monnier
2011-10-06 17:58                     ` Michael Albinus
2011-10-06 21:18                       ` Stefan Monnier
2011-10-07 11:43                         ` Michael Albinus
2011-10-07 13:41                           ` Stefan Monnier [this message]
2011-10-06 18:45           ` Michael Olson

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=jwvhb3kj4zv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=mwolson@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.