From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#36729: 27.0.50; Unclear total in directory listing Date: Sun, 21 Jul 2019 10:19:13 +0200 Message-ID: <68D3B8E0-26F0-474A-B76D-320E523DBDDC@acm.org> References: <048FD91B-CDA0-4444-8F6F-C5B2F5C595CD@acm.org> <83k1ceusn1.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="21164"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36729@debbugs.gnu.org, Stephen Berman To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 21 10:20:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hp74i-0005L1-12 for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Jul 2019 10:20:08 +0200 Original-Received: from localhost ([::1]:55020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hp74g-0007EH-Fx for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Jul 2019 04:20:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55625) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hp74d-0007EA-V8 for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2019 04:20:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hp74c-0004VH-Q3 for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2019 04:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hp74c-0004V6-My for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2019 04:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hp74c-0006pD-GJ for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2019 04:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jul 2019 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36729 X-GNU-PR-Package: emacs Original-Received: via spool by 36729-submit@debbugs.gnu.org id=B36729.156369716726187 (code B ref 36729); Sun, 21 Jul 2019 08:20:02 +0000 Original-Received: (at 36729) by debbugs.gnu.org; 21 Jul 2019 08:19:27 +0000 Original-Received: from localhost ([127.0.0.1]:58131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hp742-0006oJ-Tt for submit@debbugs.gnu.org; Sun, 21 Jul 2019 04:19:27 -0400 Original-Received: from mail81c50.megamailservers.eu ([91.136.10.91]:35998 helo=mail18c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hp73z-0006o8-Sy for 36729@debbugs.gnu.org; Sun, 21 Jul 2019 04:19:25 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1563697162; bh=X/GLCxzDz6yI6NT0Onx1Cbu8zJo/J8+eUOjw+3v92uk=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=oHX7/14FmG2Z7kjhaVXQfgFZVYTtNDrPZKvXm38c0UqdFvockX0QRYQO+loHPDq+D PZ56MGlxGA9rIuefMEJN96G3iNb4xA4jOgomQ54ohXPDcUV58jdjq9wKiVg7G/GCxr ecQKJDCyzec6MkPLn8VhKRMdlfHLPz1X7fTywBOQ= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.1.64] (c-e636e253.032-75-73746f71.bbcust.telenor.se [83.226.54.230]) (authenticated bits=0) by mail18c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x6L8JDQn027853; Sun, 21 Jul 2019 08:19:15 +0000 In-Reply-To: <83k1ceusn1.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B0213.5D34200A.0028, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=OKgJIxSB c=1 sm=1 tr=0 a=M+GU/qJco4WXjv8D6jB2IA==:117 a=M+GU/qJco4WXjv8D6jB2IA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=mDV3o1hIAAAA:8 a=VVlED5B4AAAA:8 a=0rWC5-eOPBjRmEDtYI4A:9 a=ykxZnAtja94jP2SN:21 a=Aymxis4WnUE5bnEX:21 a=CjuIK1q_8ugA:10 a=_FVE-zBwftR9WsbkzFJk:22 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163508 Archived-At: 19 juli 2019 kl. 14.16 skrev Eli Zaretskii : >=20 > Feel free to suggest a clarification in the doc string of 'dired'. Frankly, I wouldn't know what to write. That the number should be = ignored? We'd better remove it in the first place. Of course, someone is bound to complain if such a thing were attempted. 19 juli 2019 kl. 15.28 skrev Stephen Berman : >=20 > On systems that use `ls' (at least the GNU version), users can do that > by setting the environment variable BLOCK_SIZE, but since the change = to > the display of "available" was unconditional (if I'm not mistaken), we > could do the same for the display of "total used", e.g. as in the = below > patch. (But since this won't work on systems that don't use GNU `ls', > either another solution just for them or a different general one would > be needed.) Thank you -- specifically, it doesn't work for BSD ls. We could set BLOCKSIZE to 1024 -- this works on both GNU and BSD ls -- = and then post-process the output. Or insert the switch `-k', which is in = Posix (in contrast to BLOCKSIZE or BLOCK_SIZE), but I don't know if that = would break any customisation. It's all very fragile. Migrating to a fully built-in directory lister = seems to be the only sane way out, and it's considerably more work than = I anticipated for this little detail.