[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: search and replacement at once in some buffers
From: |
Bernd Wolter |
Subject: |
Re: search and replacement at once in some buffers |
Date: |
06 Nov 2002 15:36:44 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
"Luis O. Silva" <silva@paloma.spbu.ru> writes:
> Dear Emacs Community,
>
> I want to use some of the search and replacement commands,
> viz.
>
> `search-forward', `search-backward', `isearch-forward',
> `isearch-backward', `query-replace', `replace-regexp',
> `replace-string'
>
> at once in a predefined list of buffers, just in the same way
> in which these commands are used in the current buffer.
I think you may find dired's Q command helpful (also look at the
different marking commands).
,----[ To be found by "C-h i RET m emacs RET m dired -> "Operating on Files"" ]
| `Q REGEXP <RET> TO <RET>'
| Perform `query-replace-regexp' on each of the specified files,
| replacing matches for REGEXP with the string TO
| (`dired-do-query-replace-regexp').
`----
HTH
bernd