unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: Serach and replace in all buffers
Date: Sun, 22 Jan 2006 21:57:32 +0200	[thread overview]
Message-ID: <u7j8sox1v.fsf@gnu.org> (raw)
In-Reply-To: <2520975.post@talk.nabble.com> (lists@nabble.com)

> Date: Sun, 22 Jan 2006 08:57:22 -0800 (PST)
> From: "AndyJB (sent by Nabble.com)" <lists@nabble.com>
> Cc: 
> 
> Is there a way of searching and replacing across all open buffers? I know you can use a tags file to search across multiple files but that's not quite what I'm looking for - it's inconvenient having to regenerate the tags file all the time (why oh why isn't that automatic?) and doesn't necessarily correspond to which files are currently open.

You don't need to regenerate the TAGS file unless you add or delete
files, functions, macros, or typedefs.  And for the purpose of search
and replace, you don't need to regenerate unless some files were added
or deleted.

An alternative method of multi-file search and replace is the Q
command in Dired buffers.  You mark those files in which you wish to
search and replace, and then press Q; the rest is just like with TAGS,
except that no TAGS file is needed.

  parent reply	other threads:[~2006-01-22 19:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-22 16:57 Serach and replace in all buffers AndyJB (sent by Nabble.com)
2006-01-22 19:40 ` Drew Adams
2006-01-22 22:23   ` Search " AndyJB (sent by Nabble.com)
2006-01-23  0:31     ` AndyJB (sent by Nabble.com)
     [not found]   ` <mailman.2152.1137968793.26925.help-gnu-emacs@gnu.org>
2006-01-23  2:28     ` Giorgos Keramidas
2006-01-22 19:57 ` Eli Zaretskii [this message]
2006-01-22 22:33   ` AndyJB (sent by Nabble.com)
2006-01-24 17:07     ` Kevin Rodgers

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=u7j8sox1v.fsf@gnu.org \
    --to=eliz@gnu.org \
    /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).