From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Fixing dired hangs when NFS mount goes AWOL Date: Fri, 07 Oct 2011 09:41:10 -0400 Message-ID: References: <87mxdf3z8u.fsf@stupidchicken.com> <0jty7nnl1f.fsf@fencepost.gnu.org> <5bvcs3kq0m.fsf@fencepost.gnu.org> <87sjn68dhv.fsf@gmx.de> <87aa9eypbr.fsf@gmx.de> <87sjn558o8.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317994881 27491 80.91.229.12 (7 Oct 2011 13:41:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2011 13:41:21 +0000 (UTC) Cc: Chong Yidong , Michael Olson , Emacs Development Discussions To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 07 15:41:17 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RCAfs-0002BP-8s for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2011 15:41:16 +0200 Original-Received: from localhost ([::1]:51347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCAfr-0007VV-AC for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2011 09:41:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCAfo-0007VN-IK for emacs-devel@gnu.org; Fri, 07 Oct 2011 09:41:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCAfn-0003Ru-IB for emacs-devel@gnu.org; Fri, 07 Oct 2011 09:41:12 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:33279 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCAfn-0003Rg-Fb; Fri, 07 Oct 2011 09:41:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAGIAj07O+JxS/2dsb2JhbABEqDyBBoFTAQEEAScvIwULCzQSFBgNJIgRuQaHMQShDoRF X-IronPort-AV: E=Sophos;i="4.68,502,1312171200"; d="scan'208";a="140245767" Original-Received: from 206-248-156-82.dsl.teksavvy.com (HELO pastel.home) ([206.248.156.82]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 07 Oct 2011 09:41:10 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 2340F592D6; Fri, 7 Oct 2011 09:41:10 -0400 (EDT) In-Reply-To: <87sjn558o8.fsf@gmx.de> (Michael Albinus's message of "Fri, 07 Oct 2011 13:43:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144696 Archived-At: >>> 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