From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#6995: 24.0.50; get-free-disk-space doesn't return available space in dired Date: Sat, 25 Sep 2010 16:17:42 -0400 Message-ID: <87aan51st5.fsf@stupidchicken.com> References: <87d3sp5olh.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285447283 401 80.91.229.12 (25 Sep 2010 20:41:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 20:41:23 +0000 (UTC) Cc: 6995@debbugs.gnu.org, Thierry Volpiatto To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 25 22:41:21 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 1OzbYd-0003A0-88 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Sep 2010 22:41:19 +0200 Original-Received: from localhost ([127.0.0.1]:48527 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzbYc-0004st-Hx for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Sep 2010 16:41:18 -0400 Original-Received: from [140.186.70.92] (port=41317 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzbYV-0004sW-K1 for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 16:41:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzbYU-0004dp-Dk for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 16:41:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33842) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzbYU-0004dj-5p for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 16:41:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ozb9E-0003TF-Qz; Sat, 25 Sep 2010 16:15:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2010 20:15:04 +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 6995-submit@debbugs.gnu.org id=B6995.128544570213325 (code B ref 6995); Sat, 25 Sep 2010 20:15:04 +0000 Original-Received: (at 6995) by debbugs.gnu.org; 25 Sep 2010 20:15:02 +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 1Ozb9B-0003So-PA for submit@debbugs.gnu.org; Sat, 25 Sep 2010 16:15:01 -0400 Original-Received: from pantheon-po24.its.yale.edu ([130.132.50.118]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozb99-0003Sj-7J for 6995@debbugs.gnu.org; Sat, 25 Sep 2010 16:14:59 -0400 Original-Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po24.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o8PKHg5P004723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 25 Sep 2010 16:17:42 -0400 Original-Received: by furry (Postfix, from userid 1000) id 37D9E16D402; Sat, 25 Sep 2010 16:17:42 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Tue, 07 Sep 2010 16:36:01 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 25 Sep 2010 16:15:04 -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:40434 Archived-At: 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...