From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fixing dired hangs when NFS mount goes AWOL Date: Thu, 06 Oct 2011 09:25:57 -0400 Message-ID: References: <87mxdf3z8u.fsf@stupidchicken.com> <0jty7nnl1f.fsf@fencepost.gnu.org> <5bvcs3kq0m.fsf@fencepost.gnu.org> <87sjn68dhv.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317907575 12720 80.91.229.12 (6 Oct 2011 13:26:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 13:26:15 +0000 (UTC) Cc: cyd@stupidchicken.com, mwolson@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 15:26:10 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 1RBnxe-0001iJ-9M for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 15:26:06 +0200 Original-Received: from localhost ([::1]:51072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnxd-00014x-6Z for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 09:26:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnxX-00014s-I5 for emacs-devel@gnu.org; Thu, 06 Oct 2011 09:26:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBnxW-0004ZG-Io for emacs-devel@gnu.org; Thu, 06 Oct 2011 09:25:59 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:46254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnxW-0004ZC-ED for emacs-devel@gnu.org; Thu, 06 Oct 2011 09:25:58 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBnxV-0005Zn-Gr; Thu, 06 Oct 2011 09:25:57 -0400 In-reply-to: <87sjn68dhv.fsf@gmx.de> (message from Michael Albinus on Thu, 06 Oct 2011 15:18:36 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:144611 Archived-At: > From: Michael Albinus > Date: Thu, 06 Oct 2011 15:18:36 +0200 > Cc: Chong Yidong , Michael Olson , > Emacs Development Discussions > > Stefan Monnier writes: > > >> Nuts, I thought (file-remote-p '/some/nfs/mount') would return > >> non-nil, but it doesn't. > > > > 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. I was going to say precisely that, but Michael beat me to it. I think past discussions of this particular calamity concluded that we need a separate API for this, something like filesystem-mounted-p. The uses of each API are expected to be very different.