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 #29 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: Thu, 02 Dec 2021 18:02:20 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

>> emacs -Q
>> C-u s -al --block-size='1  RET
>> M-( (> size 100000) RET
>
> Here this does not work -- maybe because sizes look like 1.000 for me
> and the "." distracts Emacs?  With other words: a problem that shows up
> or not depending on the used locale settings?
>
> Yes -- (> size 100000) seems to mark only sizes between 100 and 999.

Right -- for me, the sizes show up as numbers without any dots using

C-u s -al --block-size='1

but I guess that's locale dependent.

As with many things in Dired, the "put stuff into a buffer and then try
to interpret it" leads to yet another bug...

-- 
(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.