# HG changeset patch # User Oleksandr Gavenko # Date 1636017972 -7200 # Node ID e9610d83f4ffaf5d5f20cf8b791bb170cb26a62c # Parent b7d3a5fd4059b3de6a056c51f65d601c75a94965 Use "find -exec" with "+" to avoid excessive grep forking. diff -r b7d3a5fd4059 -r e9610d83f4ff .emacs-my --- a/.emacs-my Sun Sep 05 12:17:11 2021 +0300 +++ b/.emacs-my Thu Nov 04 11:26:12 2021 +0200 @@ -919,7 +919,8 @@ ;; to avoid unnecessary sys calls and this make output aligned by column: (setq find-ls-option '("-printf ' -rw-rw-rw- %9s %AY-%Am-%Ad %AH:%AM %p\n'" . "")) -(cl-eval-when (compile) (require 'grep)) +(require 'grep) +(grep-apply-setting 'grep-find-use-xargs 'exec-plus) ;; Do not set t because some grep do not has --color options. (setq grep-highlight-matches nil)