David Kastrup mentions on a thread on emacs-devel(a)gnu.org that
I have quite often used `find-grep-dired' and it has been a
nuisance
that the more often needed `find-grep' is not available. I only
discovered by accident that it _does_ exist, but only under the name
`grep-find'.
My reaction was similar; I was used to
find . -type f -exec grep -nH whatever {} \;
in the shell and the word order of M-x grep-find RET seemed totally alien.
So, yeah, the alias is worth adding.
xemacs-packages/xemacs-base/ChangeLog addition:
2005-02-26 Aidan Kehoe <kehoea(a)parhasard.net>
* compile.el (find-grep): Alias it to grep-find--if you're used to
the shell, find and _then_ grep is the word order that springs to
mind.
XEmacs Packages source patch:
Diff command: cvs -q diff -u
Files affected: xemacs-packages/xemacs-base/compile.el
Index: xemacs-packages/xemacs-base/compile.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/xemacs-base/compile.el,v
retrieving revision 1.32
diff -u -u -r1.32 compile.el
--- xemacs-packages/xemacs-base/compile.el 2004/06/28 20:19:43 1.32
+++ xemacs-packages/xemacs-base/compile.el 2005/02/26 15:57:26
@@ -768,6 +768,9 @@
(let ((grep-null-device nil)) ; see grep
(grep command-args)))
+;; XEmacs addition
+(defalias find-grep grep-find)
+
;; XEmacs addition: all grep-all-files stuff
(defun construct-grep-all-files-command (find-segment grep-segment)
--
“I, for instance, am gung-ho about open source because my family is being
held hostage in Rob Malda’s basement. But who fact-checks me, or Enderle,
when we say something in public? No-one!” -- Danny O’Brien