unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kgold@watson.ibm.com (kgold)
Subject: Re: search and replacement at once in some buffers
Date: 6 Nov 2002 18:34:19 GMT	[thread overview]
Message-ID: <aqbnbb$msq$1@news.btv.ibm.com> (raw)
In-Reply-To: mailman.1036577288.17678.help-gnu-emacs@gnu.org


If you will accept "files" instead of "buffers", use dired-mode,
mark the files you want to work on, and use the "Q" command.

"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. 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.


-- 
-- 
Ken Goldman   kgold@watson.ibm.com   914-784-7646

  parent reply	other threads:[~2002-11-06 18:34 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
2002-11-06 18:34 ` kgold [this message]
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='aqbnbb$msq$1@news.btv.ibm.com' \
    --to=kgold@watson.ibm.com \
    /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).