emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixing dired hangs when NFS mount goes AWOL


From: Stefan Monnier
Subject: Re: Fixing dired hangs when NFS mount goes AWOL
Date: Fri, 07 Oct 2011 09:41:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

>>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]