# HG changeset patch # User Oleksandr Gavenko # Date 1295301805 -7200 # Node ID 22eb7a31b68917df160e9a891911c0d63688db97 # Parent 3d913b8531f4ce32e17c416abc80e65a3850c517 Speedup find-dired. diff -r 3d913b8531f4 -r 22eb7a31b689 .emacs-my --- a/.emacs-my Mon Jan 17 22:38:55 2011 +0200 +++ b/.emacs-my Tue Jan 18 00:03:25 2011 +0200 @@ -323,6 +323,12 @@ (setq null-device "/dev/null") ) +;; -ls produce very noisy output: +;; (setq find-ls-option '("-ls" . "")) +;; So I use next expression, which work with GNU find, I replace %s with '0' +;; to avoid unnecessary sys calls and this make output aligned by column: +(setq find-ls-option '("-printf ' -rw-rw-rw- 0 %AY-%Am-%Ad %AH:%AM %p\n'" . "")) + ;; Do not set t because some grep do not has --color options. (setq grep-highlight-matches nil) (setq grep-use-null-device nil)