From: Kim F. Storm Date: Fri, 28 Apr 2006 23:42:37 +0000 (+0000) Subject: Add lgrep + rgrep. X-Git-Tag: emacs-pretest-22.0.90~2918 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b2db6f1f60dea4f8e8b173db3c5a43423cc9fbe;p=emacs.git Add lgrep + rgrep. --- diff --git a/etc/NEWS b/etc/NEWS index 3c02fe82a85..4adb8313768 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1404,20 +1404,35 @@ changes. There's a new separate package grep.el, with its own submenu and customization group. ++++ +*** `grep-find' is now also available under the name `find-grep' where +people knowing `find-grep-dired' would probably expect it. + ++++ +*** New commands `lgrep' (local grep) and `rgrep' (recursive grep) are +more user-friendly versions of `grep' and `grep-find', which prompt +separately for the regular expression to match, the files to search, +and the base directory for the search (rgrep only). Case sensitivitivy +of the search is controlled by the current value of `case-fold-search'. + +These commands build the shell commands based on the new variables +`grep-template' (lgrep) and `grep-find-template' (rgrep). + +The files to search can use aliases defined in `grep-files-aliases'. + +Subdirectories listed in `grep-find-ignored-directories' such as those +typically used by various version control systems, like CVS and arch, +are automatically skipped by `rgrep'. + --- -*** M-x grep provides highlighting support. +*** The grep commands provide highlighting support. Hits are fontified in green, and hits in binary files in orange. Grep buffers can be saved and automatically revisited. -+++ -*** `grep-find' is now also available under the name `find-grep' where -people knowing `find-grep-dired' would probably expect it. - --- -*** The new variables `grep-window-height', `grep-auto-highlight', and -`grep-scroll-output' override the corresponding compilation mode -settings, for grep commands only. +*** The new variables `grep-window-height' and `grep-scroll-output' override +the corresponding compilation mode settings, for grep commands only. +++ *** New option `grep-highlight-matches' highlights matches in *grep* diff --git a/man/ChangeLog b/man/ChangeLog index 1f417968fa9..08db65e95e4 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,16 +1,19 @@ +2006-04-29 Kim F. Storm + + * building.texi (Grep Searching): Add lgrep and rgrep. + 2006-04-26 Reiner Steib * pgg.texi (Caching passphrase): Fix markup and typos. Simplify. 2006-04-26 Sascha Wilde - * pgg.texi (Caching passphrase): Added documentation for - pgg-gpg-use-agent. + * pgg.texi (Caching passphrase): Add pgg-gpg-use-agent. 2006-04-24 Bill Wohler - * mh-e.texi (Getting Started): Made it more explicit that you need - to install MH, and also included pointers to current MH implementations. + * mh-e.texi (Getting Started): Make it more explicit that you need + to install MH. Add pointers to current MH implementations. 2006-04-23 Richard Stallman @@ -24,14 +27,14 @@ 2006-04-21 Bill Wohler Release MH-E manual version 7.94. - + * mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH): Update for release 7.94. 2006-04-21 Carsten Dominik * org.texi: Many small fixes. - (Handling links): Renamed from "Managing links". + (Handling links): Rename from "Managing links". 2006-04-21 Eli Zaretskii @@ -57,7 +60,7 @@ 2006-04-20 Carsten Dominik - * org.texi: (Time stamps): Better explanation of the purpose of + * org.texi (Time stamps): Better explanation of the purpose of different time stamps. (Structure editing, Plain lists): More details on how new items and headings are inserted. @@ -74,7 +77,7 @@ 2006-04-18 Carsten Dominik - * org.texi: (Formula syntax): Fixed link to Calc Manual. + * org.texi (Formula syntax): Fixed link to Calc Manual. 2006-04-17 Reiner Steib @@ -96,7 +99,7 @@ 2006-04-13 Carsten Dominik - * org.texi: (Updating settings): New section. + * org.texi (Updating settings): New section. (Visibility cycling): Better names for the startup folding options. (Exporting): Completely restructured.