help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: search and replacement at once in some buffers


From: kgold
Subject: Re: search and replacement at once in some buffers
Date: 6 Nov 2002 18:34:19 GMT

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


reply via email to

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