emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#22255: closed (25.1.50; directories not recognized


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#22255: closed (25.1.50; directories not recognized if dired-actual-switches has: -lsh)
Date: Wed, 29 Jun 2016 02:57:02 +0000

Your message dated Wed, 29 Jun 2016 11:56:23 +0900 (JST)
with message-id <address@hidden>
and subject line 
has caused the debbugs.gnu.org bug report #22255,
regarding 25.1.50; directories not recognized if dired-actual-switches has: -lsh
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
22255: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22255
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.1.50; directories not recognized if dired-actual-switches has: -lsh Date: Mon, 28 Dec 2015 18:26:23 +0900 (JST) User-agent: Alpine 2.20 (LRH 67 2015-01-07)


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)



--- End Message ---
--- Begin Message --- Date: Wed, 29 Jun 2016 11:56:23 +0900 (JST) User-agent: Alpine 2.20 (DEB 67 2015-01-07)
Fixed in master branch updating 'dired-re-inode-size'


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]