diff options
| author | David Kastrup | 2005-01-22 15:43:56 +0000 |
|---|---|---|
| committer | David Kastrup | 2005-01-22 15:43:56 +0000 |
| commit | 3d4d788a38060b1bb2435a57876d4065eb005b5b (patch) | |
| tree | 1cea4b00e2178be41ae4435604a1744b734e37ba | |
| parent | 557724a8715a9445fdb5815403c46afef3bdf2eb (diff) | |
| download | emacs-3d4d788a38060b1bb2435a57876d4065eb005b5b.tar.gz emacs-3d4d788a38060b1bb2435a57876d4065eb005b5b.zip | |
* NEWS: Mention alias `find-grep' for `grep-find'.
* progmodes/grep.el: Add alias `find-grep' for `grep-find'.
* building.texi (Grep Searching): Mention alias `find-grep' for
`grep-find'.
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 4 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/grep.el | 3 | ||||
| -rw-r--r-- | man/ChangeLog | 5 | ||||
| -rw-r--r-- | man/building.texi | 12 |
6 files changed, 27 insertions, 5 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index e0b95106201..4a3c7039363 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-01-22 David Kastrup <dak@gnu.org> | ||
| 2 | |||
| 3 | * NEWS: Mention alias `find-grep' for `grep-find'. | ||
| 4 | |||
| 1 | 2005-01-22 Nick Roberts <nickrob@snap.net.nz> | 5 | 2005-01-22 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 6 | ||
| 3 | * TODO: Add entry for toolbar on ttys. | 7 | * TODO: Add entry for toolbar on ttys. |
| @@ -358,6 +358,10 @@ can be saved and automatically revisited with the new Grep mode. | |||
| 358 | 358 | ||
| 359 | *** Grep commands now have their own submenu and customization group. | 359 | *** Grep commands now have their own submenu and customization group. |
| 360 | 360 | ||
| 361 | +++ | ||
| 362 | *** `grep-find' is now also available under the name `find-grep' where | ||
| 363 | people knowing `find-grep-dired' would probably expect it. | ||
| 364 | |||
| 361 | *** The new variables `grep-window-height', `grep-auto-highlight', and | 365 | *** The new variables `grep-window-height', `grep-auto-highlight', and |
| 362 | `grep-scroll-output' can be used to override the corresponding | 366 | `grep-scroll-output' can be used to override the corresponding |
| 363 | compilation mode settings for grep commands. | 367 | compilation mode settings for grep commands. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d5b86e7c145..1b0181b63fb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-01-22 David Kastrup <dak@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/grep.el: Add alias `find-grep' for `grep-find'. | ||
| 4 | |||
| 1 | 2005-01-22 Eli Zaretskii <eliz@gnu.org> | 5 | 2005-01-22 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * type-break.el (type-break-mode): Add a test for | 7 | * type-break.el (type-break-mode): Add a test for |
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 8efa48aaa48..a3b1ab3abdd 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -542,6 +542,9 @@ easily repeat a find command." | |||
| 542 | (let ((null-device nil)) ; see grep | 542 | (let ((null-device nil)) ; see grep |
| 543 | (grep command-args)))) | 543 | (grep command-args)))) |
| 544 | 544 | ||
| 545 | ;;;###autoload | ||
| 546 | (defalias 'find-grep 'grep-find) | ||
| 547 | |||
| 545 | (defun grep-expand-command-macros (command &optional regexp files dir excl case-fold) | 548 | (defun grep-expand-command-macros (command &optional regexp files dir excl case-fold) |
| 546 | "Patch grep COMMAND replacing <D>, etc." | 549 | "Patch grep COMMAND replacing <D>, etc." |
| 547 | (setq command | 550 | (setq command |
diff --git a/man/ChangeLog b/man/ChangeLog index 7182e5c8336..cbcf03a7f43 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-01-22 David Kastrup <dak@gnu.org> | ||
| 2 | |||
| 3 | * building.texi (Grep Searching): Mention alias `find-grep' for | ||
| 4 | `grep-find'. | ||
| 5 | |||
| 1 | 2005-01-20 Richard M. Stallman <rms@gnu.org> | 6 | 2005-01-20 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * calendar.texi (Time Intervals): Delete special stuff for MS-DOS. | 8 | * calendar.texi (Time Intervals): Delete special stuff for MS-DOS. |
diff --git a/man/building.texi b/man/building.texi index db352ada9c7..cd42a4ef79d 100644 --- a/man/building.texi +++ b/man/building.texi | |||
| @@ -51,6 +51,7 @@ Invoke a compiler with the same command as in the last invocation of | |||
| 51 | Run @code{grep} asynchronously under Emacs, with matching lines | 51 | Run @code{grep} asynchronously under Emacs, with matching lines |
| 52 | listed in the buffer named @samp{*grep*}. | 52 | listed in the buffer named @samp{*grep*}. |
| 53 | @item M-x grep-find | 53 | @item M-x grep-find |
| 54 | @item M-x find-grep | ||
| 54 | Run @code{grep} via @code{find}, with user-specified arguments, and | 55 | Run @code{grep} via @code{find}, with user-specified arguments, and |
| 55 | collect output in the buffer named @samp{*grep*}. | 56 | collect output in the buffer named @samp{*grep*}. |
| 56 | @item M-x kill-compilation | 57 | @item M-x kill-compilation |
| @@ -166,11 +167,12 @@ the tag (@pxref{Tags}) around point, and puts that into the default | |||
| 166 | @code{grep} command. | 167 | @code{grep} command. |
| 167 | 168 | ||
| 168 | @findex grep-find | 169 | @findex grep-find |
| 169 | The command @kbd{M-x grep-find} is similar to @kbd{M-x grep}, but it | 170 | @findex find-grep |
| 170 | supplies a different initial default for the command---one that runs | 171 | The command @kbd{M-x grep-find} (also available as @kbd{M-x |
| 171 | both @code{find} and @code{grep}, so as to search every file in a | 172 | find-grep}) is similar to @kbd{M-x grep}, but it supplies a different |
| 172 | directory tree. See also the @code{find-grep-dired} command, | 173 | initial default for the command---one that runs both @code{find} and |
| 173 | in @ref{Dired and Find}. | 174 | @code{grep}, so as to search every file in a directory tree. See also |
| 175 | the @code{find-grep-dired} command, in @ref{Dired and Find}. | ||
| 174 | 176 | ||
| 175 | @node Compilation Mode | 177 | @node Compilation Mode |
| 176 | @section Compilation Mode | 178 | @section Compilation Mode |