aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorKim F. Storm2006-04-28 23:42:37 +0000
committerKim F. Storm2006-04-28 23:42:37 +0000
commit6b2db6f1f60dea4f8e8b173db3c5a43423cc9fbe (patch)
treea3ada10512c8a04eb2cd9aeb5cdade747ef8af11 /etc
parent208cc91ffb7056436702310670e338edc0426c5d (diff)
downloademacs-6b2db6f1f60dea4f8e8b173db3c5a43423cc9fbe.tar.gz
emacs-6b2db6f1f60dea4f8e8b173db3c5a43423cc9fbe.zip
Add lgrep + rgrep.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS31
1 files changed, 23 insertions, 8 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 3c02fe82a85..4adb8313768 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1404,20 +1404,35 @@ changes.
1404There's a new separate package grep.el, with its own submenu and 1404There's a new separate package grep.el, with its own submenu and
1405customization group. 1405customization group.
1406 1406
1407+++
1408*** `grep-find' is now also available under the name `find-grep' where
1409people knowing `find-grep-dired' would probably expect it.
1410
1411+++
1412*** New commands `lgrep' (local grep) and `rgrep' (recursive grep) are
1413more user-friendly versions of `grep' and `grep-find', which prompt
1414separately for the regular expression to match, the files to search,
1415and the base directory for the search (rgrep only). Case sensitivitivy
1416of the search is controlled by the current value of `case-fold-search'.
1417
1418These commands build the shell commands based on the new variables
1419`grep-template' (lgrep) and `grep-find-template' (rgrep).
1420
1421The files to search can use aliases defined in `grep-files-aliases'.
1422
1423Subdirectories listed in `grep-find-ignored-directories' such as those
1424typically used by various version control systems, like CVS and arch,
1425are automatically skipped by `rgrep'.
1426
1407--- 1427---
1408*** M-x grep provides highlighting support. 1428*** The grep commands provide highlighting support.
1409 1429
1410Hits are fontified in green, and hits in binary files in orange. Grep buffers 1430Hits are fontified in green, and hits in binary files in orange. Grep buffers
1411can be saved and automatically revisited. 1431can be saved and automatically revisited.
1412 1432
1413+++
1414*** `grep-find' is now also available under the name `find-grep' where
1415people knowing `find-grep-dired' would probably expect it.
1416
1417--- 1433---
1418*** The new variables `grep-window-height', `grep-auto-highlight', and 1434*** The new variables `grep-window-height' and `grep-scroll-output' override
1419`grep-scroll-output' override the corresponding compilation mode 1435the corresponding compilation mode settings, for grep commands only.
1420settings, for grep commands only.
1421 1436
1422+++ 1437+++
1423*** New option `grep-highlight-matches' highlights matches in *grep* 1438*** New option `grep-highlight-matches' highlights matches in *grep*