diff options
| author | Kim F. Storm | 2006-04-28 23:42:37 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-04-28 23:42:37 +0000 |
| commit | 6b2db6f1f60dea4f8e8b173db3c5a43423cc9fbe (patch) | |
| tree | a3ada10512c8a04eb2cd9aeb5cdade747ef8af11 /etc | |
| parent | 208cc91ffb7056436702310670e338edc0426c5d (diff) | |
| download | emacs-6b2db6f1f60dea4f8e8b173db3c5a43423cc9fbe.tar.gz emacs-6b2db6f1f60dea4f8e8b173db3c5a43423cc9fbe.zip | |
Add lgrep + rgrep.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 31 |
1 files changed, 23 insertions, 8 deletions
| @@ -1404,20 +1404,35 @@ changes. | |||
| 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 | +++ | ||
| 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 | |||
| 1407 | --- | 1427 | --- |
| 1408 | *** M-x grep provides highlighting support. | 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 | +++ | ||
| 1414 | *** `grep-find' is now also available under the name `find-grep' where | ||
| 1415 | people 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 | 1435 | the corresponding compilation mode settings, for grep commands only. |
| 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* |