GNU bug report logs - #36329
26.2; file-size-human-readable issues

Previous Next

Package: emacs;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Sat, 22 Jun 2019 09:12:02 UTC

Severity: minor

Tags: fixed

Found in version 26.2

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 36329 <at> debbugs.gnu.org
Subject: bug#36329: 26.2; file-size-human-readable issues
Date: Thu, 10 Oct 2019 01:58:54 +0200
Pierre Neidhardt <mail <at> 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




This bug report was last modified 5 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.