GNU bug report logs - #23373
25.0.93; dired-mark-sexp misinterprets file sizes if dired-listing-switches contains --block-size='1

Previous Next

Package: emacs;

Reported by: Jorge Morais <jorge13515 <at> gmail.com>

Date: Mon, 25 Apr 2016 13:54:02 UTC

Severity: minor

Tags: moreinfo

Found in version 25.0.93

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


Message #38 received at 23373 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Jorge Morais <jorge13515 <at> gmail.com>, 23373 <at> debbugs.gnu.org
Subject: Re: bug#23373: 25.0.93; dired-mark-sexp misinterprets file sizes if
 dired-listing-switches contains --block-size='1
Date: Fri, 03 Dec 2021 17:02:04 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Yes, when I delete "." from the argument string in that function it
> works.  But I wonder what formats we have to expect.  Deleting the dot
> from e.g. "1.4k" would not be a good idea.

It should be safe to remove the non-numeric chars if the final char
isn't a unit, so I've now done that on master.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 248 days ago.

Previous Next


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