--- Begin Message ---
Subject: |
[PATCH] Fix output alignment in find-dired |
Date: |
Thu, 21 Dec 2017 10:08:17 +0100 |
* lisp/find-dired.el (find-dired-filter): Fix alignment of the file size
column when the user is using human file sizes as per ‘find-ls-option’.
---
lisp/find-dired.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index 3b0613b280..4501da991b 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -295,7 +295,7 @@ specifies what to use in place of \"-ls\" as the final
argument."
(l-opt (and (consp find-ls-option)
(string-match "l" (cdr find-ls-option))))
(ls-regexp (concat "^ +[^ \t\r\n]+\\( +[^ \t\r\n]+\\) +"
- "[^ \t\r\n]+ +[^ \t\r\n]+\\(
+[0-9]+\\)")))
+ "[^ \t\r\n]+ +[^ \t\r\n]+\\(
+[0-9]+[kMGT]?\\)")))
(goto-char beg)
(insert string)
(goto-char beg)
--
2.15.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#29803: [PATCH] Fix output alignment in find-dired |
Date: |
Sat, 30 Dec 2017 12:44:10 +0200 |
> From: Sebastian Reuße <address@hidden>
> Date: Fri, 22 Dec 2017 16:24:24 +0100
> Cc: Sebastian Reuße <address@hidden>
>
> * lisp/find-dired.el (find-dired-filter): Fix alignment of the file size
> column when the user is using human file sizes as per ‘find-ls-option’.
Thanks, pushed to the master branch.
--- End Message ---