emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/man/faq.texi


From: Romain Francoise
Subject: [Emacs-diffs] Changes to emacs/man/faq.texi
Date: Sun, 07 May 2006 17:08:49 +0000

Index: emacs/man/faq.texi
diff -u emacs/man/faq.texi:1.88 emacs/man/faq.texi:1.89
--- emacs/man/faq.texi:1.88     Sun May  7 11:34:27 2006
+++ emacs/man/faq.texi  Sun May  7 17:08:48 2006
@@ -2261,15 +2261,35 @@
 @cindex Replacing strings across files
 @cindex Multiple files, replacing across
 @cindex Files, replacing strings across multiple
address@hidden Recursive search/replace operations
 
-The ``tags'' feature of Emacs includes the command
address@hidden which performs a query-replace across all the
-files mentioned in the @file{TAGS} file.  @inforef{Tags Search, Tags Search,
-emacs}.
+As of Emacs 19.29, Dired mode (@kbd{M-x dired @key{RET}}, or @kbd{C-x
+d}) supports the command @code{dired-do-query-replace} (@kbd{Q}), which
+allows users to replace regular expressions in multiple files.
+
+You can use this command to perform search/replace operations on
+multiple files by following the following steps:
+
address@hidden @bullet
address@hidden
+Assemble a list of files you want to operate on with either
address@hidden, @code{find-name-dired} or @code{find-grep-dired}.
+
address@hidden
+Mark all files in the resulting Dired buffer using @kbd{t}.
+
address@hidden
+Use @kbd{Q} to start a @code{query-replace-regexp} session on the marked
+files.
+
address@hidden
+To accept all replacements in each file, hit @kbd{!}.
address@hidden itemize
 
-As of Emacs 19.29, Dired mode (@kbd{M-x dired @key{RET}}, or @kbd{C-x d})
-supports the command @code{dired-do-query-replace} (@kbd{Q}), which allows
-users to replace regular expressions in multiple files.
+Another way to do the same thing is to use the ``tags'' feature of
+Emacs: it includes the command @code{tags-query-replace} which performs
+a query-replace across all the files mentioned in the @file{TAGS} file.
address@hidden Search, Tags Search, emacs}.
 
 @node Documentation for etags, Disabling backups, Replacing text across 
multiple files, Common requests
 @section Where is the documentation for @code{etags}?
@@ -4878,7 +4898,7 @@
 @file{hebrew.el} requires a Hebrew screen font, but no other hardware support.
 Joel has a screen font for PCs running MS-DOS or GNU/Linux.
 
-You might also try to query Archie for files named with @file{hebrew};
+You might also try to query archie for files named with @file{hebrew};
 several ftp sites in Israel may also have the necessary files.
 
 @c ------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]