[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36329: 26.2; file-size-human-readable issues
From: |
Lars Ingebrigtsen |
Subject: |
bug#36329: 26.2; file-size-human-readable issues |
Date: |
Thu, 10 Oct 2019 01:58:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> I could spot 2 issues with file-size-human-readable:
>
> 1. Trailing ".0". Compare
>
> (file-size-human-readable 2047)
> "2.0k"
> (file-size-human-readable 2048)
> "2k"
I've now fixed this on the Emacs trunk.
> 2. Spurious "i" in 'iec mode for bytes:
>
> (file-size-human-readable 1 'si)
> "1"
The spurious "i" (not present in the example here) has already been
fixed, as far as I can tell.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#36329: 26.2; file-size-human-readable issues,
Lars Ingebrigtsen <=