[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/building.texi
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/man/building.texi |
Date: |
Fri, 28 Apr 2006 23:42:45 +0000 |
Index: emacs/man/building.texi
diff -u emacs/man/building.texi:1.94 emacs/man/building.texi:1.95
--- emacs/man/building.texi:1.94 Mon Apr 17 20:26:27 2006
+++ emacs/man/building.texi Fri Apr 28 23:42:45 2006
@@ -335,10 +335,12 @@
@table @kbd
@item M-x grep
address@hidden M-x lgrep
Run @code{grep} asynchronously under Emacs, with matching lines
listed in the buffer named @samp{*grep*}.
@item M-x grep-find
@itemx M-x find-grep
address@hidden M-x rgrep
Run @code{grep} via @code{find}, with user-specified arguments, and
collect output in the buffer named @samp{*grep*}.
@item M-x kill-grep
@@ -373,6 +375,27 @@
@code{grep}, so as to search every file in a directory tree. See also
the @code{find-grep-dired} command, in @ref{Dired and Find}.
address@hidden lgrep
address@hidden rgrep
+ The commands @kbd{M-x lgrep} (local grep) and @kbd{M-x rgrep}
+(recursive grep) are more user-friendly versions of @code{grep} and
address@hidden, 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 @code{case-fold-search}.
+
+These commands build the shell commands based on the variables
address@hidden (for @code{lgrep}) and @code{grep-find-template}
+(for @code{rgrep}).
+
+The files to search can use aliases defined in the variable
address@hidden
+
+Subdirectories listed in the variable
address@hidden such as those typically used by
+various version control systems, like CVS and arch, are automatically
+skipped by @code{rgrep}.
+
@node Flymake
@section Finding Syntax Errors On The Fly
@cindex checking syntax
@@ -676,7 +699,7 @@
@kindex C-c C-f @r{(GUD)}
@itemx C-x C-a C-f
@findex gud-finish
-Run the program until the selected stack frame returns or
+Run the program until the selected stack frame returns or
stops for some other reason (@code{gud-finish}).
@item C-x C-a C-j