From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#6995: 24.0.50; get-free-disk-space doesn't return available space in dired Date: Mon, 27 Sep 2010 10:37:14 +0200 Organization: ThierryVolpiatto Message-ID: <877hi7lgzp.fsf@tux.homenetwork> References: <87d3sp5olh.fsf@tux.homenetwork> <87aan51st5.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285578798 3366 80.91.229.12 (27 Sep 2010 09:13:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2010 09:13:18 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 27 11:13:16 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P09lp-00065o-Hf for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Sep 2010 11:13:13 +0200 Original-Received: from localhost ([127.0.0.1]:35343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P09lo-0005as-Ti for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Sep 2010 05:13:12 -0400 Original-Received: from [140.186.70.92] (port=59636 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P09k3-0004u8-C7 for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 05:11:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P09jw-0003eJ-AV for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 05:11:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50299) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P09jw-0003eF-91 for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 05:11:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P09KY-00040e-TP; Mon, 27 Sep 2010 04:45:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87d3sp5olh.fsf@tux.homenetwork> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Sep 2010 08:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6995 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.128557704515391 (code B ref -1); Mon, 27 Sep 2010 08:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Sep 2010 08:44:05 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P09Jb-00040B-EE for submit@debbugs.gnu.org; Mon, 27 Sep 2010 04:44:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P09JY-0003zo-3O for submit@debbugs.gnu.org; Mon, 27 Sep 2010 04:44:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P09ME-00007k-7w for submit@debbugs.gnu.org; Mon, 27 Sep 2010 04:46:47 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:60745) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P09ME-00007c-29 for submit@debbugs.gnu.org; Mon, 27 Sep 2010 04:46:46 -0400 Original-Received: from [140.186.70.92] (port=40340 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P09M9-0005Ky-II for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 04:46:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P09El-0007YS-5F for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 04:39:04 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:43315) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P09Ek-0007Y6-W5 for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 04:39:03 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P09Eh-0003RZ-8z for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2010 10:38:59 +0200 Original-Received: from 33.77.197-77.rev.gaoland.net ([77.197.77.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 10:38:59 +0200 Original-Received: from thierry.volpiatto by 33.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 10:38:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 33.77.197-77.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) Cancel-Lock: sha1:VQzL2CoBA+eNh1c4GUBwlnQZgow= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 27 Sep 2010 04:45:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40477 Archived-At: Chong Yidong writes: > Glenn Morris writes: > >> Because the filesystem name is long, the numerical values do not line >> up with the column headings. The current code seems to assume that >> they do line up. Thus, running dired on "~" gets wrong values for the >> total size. > > I've just checked in a change to use the "%" as an anchor for finding > the available space, instead of assuming the columns line up. Patches > to avoid using `df' welcome... I don't understand why you want to use regexp searching here... But well, it work...and you can get only one info from the output of df. Seem you didn't look at what i sent here... -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997