Mercurial > emacs
comparison etc/NEWS @ 70260:fbd84671cce3
Add lgrep + rgrep.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 28 Apr 2006 23:40:09 +0000 |
parents | 47badff91bf2 |
children | 194eec425fb3 |
comparison
equal
deleted
inserted
replaced
70259:58edc69a1813 | 70260:fbd84671cce3 |
---|---|
1402 *** Grep has been decoupled from compilation mode setup. | 1402 *** Grep has been decoupled from compilation mode setup. |
1403 | 1403 |
1404 There's a new separate package grep.el, with its own submenu and | 1404 There's a new separate package grep.el, with its own submenu and |
1405 customization group. | 1405 customization group. |
1406 | 1406 |
1407 --- | 1407 +++ |
1408 *** M-x grep provides highlighting support. | 1408 *** `grep-find' is now also available under the name `find-grep' where |
1409 people knowing `find-grep-dired' would probably expect it. | |
1410 | |
1411 +++ | |
1412 *** New commands `lgrep' (local grep) and `rgrep' (recursive grep) are | |
1413 more user-friendly versions of `grep' and `grep-find', which prompt | |
1414 separately for the regular expression to match, the files to search, | |
1415 and the base directory for the search (rgrep only). Case sensitivitivy | |
1416 of the search is controlled by the current value of `case-fold-search'. | |
1417 | |
1418 These commands build the shell commands based on the new variables | |
1419 `grep-template' (lgrep) and `grep-find-template' (rgrep). | |
1420 | |
1421 The files to search can use aliases defined in `grep-files-aliases'. | |
1422 | |
1423 Subdirectories listed in `grep-find-ignored-directories' such as those | |
1424 typically used by various version control systems, like CVS and arch, | |
1425 are automatically skipped by `rgrep'. | |
1426 | |
1427 --- | |
1428 *** The grep commands provide highlighting support. | |
1409 | 1429 |
1410 Hits are fontified in green, and hits in binary files in orange. Grep buffers | 1430 Hits are fontified in green, and hits in binary files in orange. Grep buffers |
1411 can be saved and automatically revisited. | 1431 can be saved and automatically revisited. |
1412 | 1432 |
1413 +++ | 1433 --- |
1414 *** `grep-find' is now also available under the name `find-grep' where | 1434 *** The new variables `grep-window-height' and `grep-scroll-output' override |
1415 people knowing `find-grep-dired' would probably expect it. | 1435 the corresponding compilation mode settings, for grep commands only. |
1416 | |
1417 --- | |
1418 *** The new variables `grep-window-height', `grep-auto-highlight', and | |
1419 `grep-scroll-output' override the corresponding compilation mode | |
1420 settings, 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* |
1424 buffer. It uses a special feature of some grep programs which accept | 1439 buffer. It uses a special feature of some grep programs which accept |
1425 --color option to output markers around matches. When going to the next | 1440 --color option to output markers around matches. When going to the next |