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:27:56 -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 1317857311 8127 80.91.229.12 (5 Oct 2011 23:28:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 23:28:31 +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:28:26 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 1RBasy-0005y0-13 for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 01:28:24 +0200 Original-Received: from localhost ([::1]:48537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBasx-0005vT-5f for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2011 19:28:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBasu-0005vJ-Rx for emacs-devel@gnu.org; Wed, 05 Oct 2011 19:28:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBast-0006aL-UR for emacs-devel@gnu.org; Wed, 05 Oct 2011 19:28:20 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:43482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBass-0006ZS-6M; Wed, 05 Oct 2011 19:28:18 -0400 Original-Received: by bkbzs2 with SMTP id zs2so3040442bkb.0 for ; Wed, 05 Oct 2011 16:28:16 -0700 (PDT) Original-Received: by 10.204.135.72 with SMTP id m8mr22475bkt.389.1317857296215; Wed, 05 Oct 2011 16:28:16 -0700 (PDT) Original-Received: by 10.204.112.79 with HTTP; Wed, 5 Oct 2011 16:27:56 -0700 (PDT) X-Originating-IP: [216.103.134.130] In-Reply-To: X-Google-Sender-Auth: ze-ktHdetpOhz2RU-dvxR5QbyEA 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:144596 Archived-At: 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. --=20 Michael Olson=C2=A0 |=C2=A0 http://mwolson.org/