unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bernd Wolter <mathae.wolter@gmx.de>
Subject: Re: search and replacement at once in some buffers
Date: 06 Nov 2002 15:36:44 +0100	[thread overview]
Message-ID: <ur8dyojcz.fsf@gmx.de> (raw)
In-Reply-To: mailman.1036577288.17678.help-gnu-emacs@gnu.org

"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

  parent reply	other threads:[~2002-11-06 14:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1036577288.17678.help-gnu-emacs@gnu.org>
2002-11-06 13:41 ` search and replacement at once in some buffers Friedrich Dominicus
2002-11-06 21:17   ` Luis O. Silva
2002-11-06 14:36 ` Bernd Wolter [this message]
2002-11-06 18:34 ` kgold
2002-11-06 21:17   ` Luis O. Silva
2002-11-06 10:12 Luis O. Silva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ur8dyojcz.fsf@gmx.de \
    --to=mathae.wolter@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).