unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Luis O. Silva" <silva@paloma.spbu.ru>
Subject: search and replacement at once in some buffers
Date: Wed, 6 Nov 2002 13:12:10 +0300	[thread overview]
Message-ID: <15816.60154.272065.857273@localhost.localdomain> (raw)

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. This
means that if I do `query-replace-some-buffers', for instance,
I'll be prompted with the list of buffers and then the first
buffer in that list will become the current buffer and
`query-replace' will run throughout it until the
end. Afterwards the second buffer in the list will become the
current buffer and so on. I think I could write the
corresponding elisp functions, but, since I'm not a programmer
(just a bad mathematician), I'd like to know whether someone
has already written similar functions and has contributed with
a package.

Thanks in advance,
luis

-- 
Luis Octavio Silva P.
St. Petersburg State University.
66/3 Botanicheskaya St., Apt.119/2
Stary Peterhof
St. Petersburg, Russia.

             reply	other threads:[~2002-11-06 10:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 10:12 Luis O. Silva [this message]
     [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
2002-11-06 18:34 ` kgold
2002-11-06 21:17   ` 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=15816.60154.272065.857273@localhost.localdomain \
    --to=silva@paloma.spbu.ru \
    /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).