Subject: Re: bug#23373: 25.0.93; dired-mark-sexp misinterprets file sizes if dired-listing-switches contains --block-size='1

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 02 Dec 2021 18:02:20 +0100

Michael Heerdegen <[email-masked]> 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