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 16:31:46 -0700 Message-ID: References: <87mxdf3z8u.fsf@stupidchicken.com> <0jty7nnl1f.fsf@fencepost.gnu.org> <5bvcs3kq0m.fsf@fencepost.gnu.org> 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 1317857544 9392 80.91.229.12 (5 Oct 2011 23:32:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 23:32:24 +0000 (UTC) Cc: Chong Yidong , Emacs Development Discussions To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 01:32: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 1RBawh-0006kQ-2G for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 01:32:15 +0200 Original-Received: from localhost ([::1]:34505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBawg-0006KV-9g for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2011 19:32:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBawd-0006KP-FD for emacs-devel@gnu.org; Wed, 05 Oct 2011 19:32:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBawc-0007Lv-Ah for emacs-devel@gnu.org; Wed, 05 Oct 2011 19:32:11 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:56080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBawa-0007LD-Bd; Wed, 05 Oct 2011 19:32:08 -0400 Original-Received: by bkbzs2 with SMTP id zs2so3043925bkb.0 for ; Wed, 05 Oct 2011 16:32:07 -0700 (PDT) Original-Received: by 10.204.129.142 with SMTP id o14mr43825bks.233.1317857526336; Wed, 05 Oct 2011 16:32:06 -0700 (PDT) Original-Received: by 10.204.112.79 with HTTP; Wed, 5 Oct 2011 16:31:46 -0700 (PDT) X-Originating-IP: [216.103.134.130] In-Reply-To: X-Google-Sender-Auth: T356acBvBcLUFTqKQlaDb8s1wf0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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:144597 Archived-At: On Wed, Oct 5, 2011 at 4:27 PM, Michael Olson wrote: > On Wed, Oct 5, 2011 at 4:14 PM, Glenn Morris wrote: >> >> But, -l is probably not an option for the default, because: >> >> cd /path/to/remote/nfs >> df -l . >> >> =C2=A0-> "df: no file systems processed" >> >> which breaks Dired's "total used" line on healthy NFS mounts. >> > > Nuts, I thought (file-remote-p '/some/nfs/mount') would return > non-nil, but it doesn't. > > So it seems like the only viable solution is to give users a way to > suppress the totals line in ls-lisp's insert-directory, which would > get rid of the df call. (Or just customize directory-free-space-args in the first place, which kind of already has this effect.) --=20 Michael Olson=C2=A0 |=C2=A0 http://mwolson.org/