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: Thu, 06 Oct 2011 17:18:30 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317935923 25891 80.91.229.12 (6 Oct 2011 21:18:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 21:18:43 +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 Thu Oct 06 23:18:39 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 1RBvKv-0007yG-HX for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 23:18:37 +0200 Original-Received: from localhost ([::1]:38994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBvKu-00023O-VT for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 17:18:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBvKr-000236-FQ for emacs-devel@gnu.org; Thu, 06 Oct 2011 17:18:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBvKq-0000yE-8m for emacs-devel@gnu.org; Thu, 06 Oct 2011 17:18:33 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:59669 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBvKq-0000yA-3l; Thu, 06 Oct 2011 17:18:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EALIajk7O+JxS/2dsb2JhbABCqDKBBoFTAQEEAVYjBQsLNBIUGA0kiBEHuEWHLAShDIRE X-IronPort-AV: E=Sophos;i="4.68,498,1312171200"; d="scan'208";a="140197279" Original-Received: from 206-248-156-82.dsl.teksavvy.com (HELO ceviche.home) ([206.248.156.82]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Oct 2011 17:18:31 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id DC6D8663BE; Thu, 6 Oct 2011 17:18:30 -0400 (EDT) In-Reply-To: <87aa9eypbr.fsf@gmx.de> (Michael Albinus's message of "Thu, 06 Oct 2011 19:58:32 +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.181 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:144647 Archived-At: >> Why would it break Tramp? > There was a very long discussion about, see > I know, I participated in that thread. I fail to see how it answers the question. > Tramp uses file-remote-p internally. OK, this could be replaced by an > internal function. It depends on whether it uses it right or not. > Other packages use it as well, inside and outside core Emacs. What does it mean "use it as well"? In which way are those uses incompatible with a file-remote-p which returns non-nil for SSHFS and NFS mounts? > 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? Stefan