From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Olson Newsgroups: gmane.emacs.devel Subject: Re: Fixing dired hangs when NFS mount goes AWOL Date: Wed, 5 Oct 2011 14:59:24 -0700 Message-ID: References: <87mxdf3z8u.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1317851996 9071 80.91.229.12 (5 Oct 2011 21:59:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 21:59:56 +0000 (UTC) Cc: Emacs Development Discussions To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 05 23:59:52 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 1RBZVH-0000as-Pt for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2011 23:59:51 +0200 Original-Received: from localhost ([::1]:42519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZVH-00045P-Cl for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2011 17:59:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZVE-000456-9Y for emacs-devel@gnu.org; Wed, 05 Oct 2011 17:59:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBZVC-0007ae-4C for emacs-devel@gnu.org; Wed, 05 Oct 2011 17:59:48 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:52517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBZVB-0007aG-SC for emacs-devel@gnu.org; Wed, 05 Oct 2011 17:59:46 -0400 Original-Received: by eye13 with SMTP id 13so2406396eye.0 for ; Wed, 05 Oct 2011 14:59:44 -0700 (PDT) Original-Received: by 10.204.132.87 with SMTP id a23mr1923425bkt.285.1317851984194; Wed, 05 Oct 2011 14:59:44 -0700 (PDT) Original-Received: by 10.204.112.79 with HTTP; Wed, 5 Oct 2011 14:59:24 -0700 (PDT) X-Originating-IP: [216.103.134.130] In-Reply-To: <87mxdf3z8u.fsf@stupidchicken.com> X-Google-Sender-Auth: HQJ1u5MMcYEpVQYqD-r8lj3zM68 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 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:144591 Archived-At: The check is only skipped if the directory you're trying to insert into dired is remote. If the dir is local, it will attempt the check, and the 'df' call will hang because it's waiting on info from the NFS filesystem. On Wed, Oct 5, 2011 at 2:27 PM, Chong Yidong wrote: > Michael Olson writes: > >> Would you consider adding "-l" to the list of default arguments for >> `directory-free-space-args'? =C2=A0This will fix an issue where attempti= ng >> to open dired buffers with ls-lisp enabled hangs due to an AWOL NFS >> mount. =C2=A0Considering that the check is skipped if the current direct= ory >> is on a remote filesystem, I think this is a reasonable default. > > If the check is skipped for remote directories, how does the hang occur? > --=20 Michael Olson=C2=A0 |=C2=A0 http://mwolson.org/