all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: jidanni@jidanni.org, larsi@gnus.org, 44273@debbugs.gnu.org
Subject: bug#44273: "total used in directory 19 available 5.2 GiB"
Date: Sat, 31 Oct 2020 00:47:11 -0400	[thread overview]
Message-ID: <E1kYinH-00041b-Fd@fencepost.gnu.org> (raw)
In-Reply-To: <87sg9vbzox.fsf@gmx.de> (message from Michael Albinus on Fri, 30 Oct 2020 14:39:26 +0100)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > An alternative would be to replace this line with a similar one, but
  > > in which the units are under our control, and can be spelled out.

  > This could decrease performance, because you need to calculate the size
  > of all files there. Think about a directory with several thousand
  > files, located remotely. And we don't have "du" for all Tramp backends.

The efficient way to do this is to know what units ls uses for the
total size, and convert that number to whatever unit is desired.

We could easily make nsert-directory call a hook to reformat
this information to delete it.  So there is no need to treat this
as a fight in which one side wins and others lose.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







  parent reply	other threads:[~2020-10-31  4:47 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28  5:12 bug#44273: "total used in directory 19 available 5.2 GiB" 積丹尼 Dan Jacobson
2020-10-28 10:37 ` Mattias Engdegård
2020-10-28 10:43   ` Lars Ingebrigtsen
2020-10-28 10:53     ` Mattias Engdegård
2020-10-28 11:02       ` Lars Ingebrigtsen
2020-10-28 11:18         ` Mattias Engdegård
2020-10-28 11:23           ` Lars Ingebrigtsen
2020-10-28 11:47             ` Andreas Schwab
2020-10-28 12:10               ` Lars Ingebrigtsen
2020-10-28 12:18                 ` Mattias Engdegård
2020-10-28 12:26                   ` Andreas Schwab
2020-10-28 12:29                   ` Lars Ingebrigtsen
2020-10-28 15:38               ` Eli Zaretskii
2020-10-28 15:34             ` Eli Zaretskii
2020-10-29  8:36               ` Michael Albinus
2020-10-28 14:39           ` Drew Adams
2020-10-28 14:49             ` Mattias Engdegård
2020-10-28 15:28         ` Eli Zaretskii
2020-10-30 11:36           ` Lars Ingebrigtsen
2020-10-30 11:41             ` Eli Zaretskii
2020-10-31  9:44           ` Eli Zaretskii
2020-10-28 15:19     ` Eli Zaretskii
2020-10-28 15:55       ` Stefan Kangas
2020-10-28 15:59         ` Eli Zaretskii
2020-10-29  0:03           ` Stefan Kangas
2020-10-29  3:34             ` Eli Zaretskii
2020-10-29  8:48               ` Andreas Schwab
2020-10-30  3:05               ` Richard Stallman
2020-10-30  7:18                 ` Juri Linkov
2020-10-30  8:17                   ` Eli Zaretskii
2020-10-30 11:33                     ` Lars Ingebrigtsen
2020-10-30 11:39                       ` Eli Zaretskii
2020-10-30 11:41                         ` Lars Ingebrigtsen
2020-10-30 11:49                           ` Eli Zaretskii
2020-11-01 11:33                             ` Lars Ingebrigtsen
2020-10-31 19:14                           ` Juri Linkov
2020-11-01 11:38                             ` Lars Ingebrigtsen
2020-11-01 11:55                               ` Mattias Engdegård
2020-11-01 15:21                                 ` Eli Zaretskii
2020-11-01 15:41                                   ` Mattias Engdegård
2020-11-01 15:51                                     ` Eli Zaretskii
2020-11-01 16:37                                       ` Mattias Engdegård
2020-11-01 19:25                                         ` Jean Louis
2021-10-11 12:35                                         ` Stefan Kangas
2020-11-01 19:16                                     ` Jean Louis
2020-11-01 18:57                                   ` Jean Louis
2020-11-01 19:33                                     ` Eli Zaretskii
2020-11-01 19:38                               ` 積丹尼 Dan Jacobson
2020-11-01 19:43                                 ` Eli Zaretskii
2020-11-01 19:51                                   ` 積丹尼 Dan Jacobson
2020-10-31  4:47                     ` Richard Stallman
2020-10-30 19:03                   ` Drew Adams
2020-11-03  3:17                     ` Drew Adams
2020-11-03 18:39                       ` Juri Linkov
2020-11-03 19:51                         ` Drew Adams
2020-11-04 19:41                           ` Juri Linkov
2020-11-04 20:53                             ` Drew Adams
2020-10-30 11:34       ` Lars Ingebrigtsen
2020-10-29  4:54 ` Richard Stallman
2020-10-30 12:22   ` Lars Ingebrigtsen
2020-10-30 12:25     ` Eli Zaretskii
2020-10-30 13:39       ` Michael Albinus
2020-10-30 13:46         ` Eli Zaretskii
2020-10-30 14:54           ` Michael Albinus
2020-10-31  0:12           ` 積丹尼 Dan Jacobson
2020-10-31  4:45             ` Richard Stallman
2020-10-31  4:47         ` Richard Stallman [this message]
2020-10-31  4:47     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1kYinH-00041b-Fd@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=44273@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.