From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
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: Thu, 06 Oct 2011 19:58:32 +0200 [thread overview]
Message-ID: <87aa9eypbr.fsf@gmx.de> (raw)
In-Reply-To: <jwv39f6xi1l.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 06 Oct 2011 11:22:32 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> The concept of "remote" file is a very fuzzy one, which means very
>>> different things to different people in different cases.
>>> I tend to agree that file-remote-p should return non-nil on NFS mounted
>>> filesystems, but that's simply not implemented. Patch welcome,
>> This will break Tramp completely. Please don't change its current behaviour.
>
> Why would it break Tramp? This would only change the behavior of
> file-remote-p for file names which are not handled by Tramp, so it
> shouldn't break Tramp any more than adding some other file-name-handler
> for other kinds of remote magic file names.
There was a very long discussion about, see
<http://thread.gmane.org/gmane.emacs.devel/87506/focus=87506>
In short:
Tramp uses file-remote-p internally. OK, this could be replaced by an
internal function.
Other packages use it as well, inside and outside core Emacs. We didn't
want to propagate tramp-* functions outside Tramp; file-remote-p is the
check to be used when necessary. Not so important for basic file name
operations, but needed for all process related things.
> Stefan
Best regards, Michael.
next prev parent reply other threads:[~2011-10-06 17:58 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 [this message]
2011-10-06 21:18 ` Stefan Monnier
2011-10-07 11:43 ` Michael Albinus
2011-10-07 13:41 ` Stefan Monnier
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=87aa9eypbr.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--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.