GNU bug report logs -
#22255
25.1.50; directories not recognized if dired-actual-switches has: -lsh
Previous Next
Reported by: Tino Calancha <f92capac <at> gmail.com>
Date: Mon, 28 Dec 2015 09:24:01 UTC
Severity: normal
Found in version 25.1.50
Done: Tino Calancha <tino.calancha <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#22255: 25.1.50; directories not recognized if dired-actual-switches has: -lsh
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 22255 <at> debbugs.gnu.org.
--
22255: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22255
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Fixed in master branch updating 'dired-re-inode-size'
[Message part 3 (message/rfc822, inline)]
dired-re-dir dont expect human readable format in the file system block size.
If we set dired-actual-switches -lsh, with gnu ls, diredp-next-dirline
fails whenever the block size contains size units.
emacs -Q:
(let ((default " 15204787 4 drwxr-xr-x 2 user group 4096 Dec 28 17:53 .emacs.d")
(human " 15204787 4.0K drwxr-xr-x 2 user group 4.0K Dec 28 17:53 .emacs.d"))
(require 'dired)
(if (string-match dired-re-dir default)
(insert (format "default match dired-re-dir\n"))
(insert (format "default DOESN'T match dired-re-dir\n")))
(if (string-match dired-re-dir human)
(insert (format "human match dired-re-dir\n"))
(insert (format "human DOESN'T match dired-re-dir\n"))))
default match dired-re-dir
human DOESN'T match dired-re-dir
We may fix this modifying dired-re-inode-size to recognize human readable sizes.
In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.28)
of 2015-11-28
Repository revision: c42ccd615081e12c97a55e778b488b3f4f5b22b7
Windowing system distributor 'The X.Org Foundation', version 11.0.11703000
System Description: Debian GNU/Linux testing (stretch)
This bug report was last modified 9 years and 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.