all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tak Kunihiro <tak.kunihiro@gmail.com>
To: help-gnu-emacs@gnu.org
Cc: tak.kunihiro@gmail.com
Subject: Re: global-replace to include linked files?
Date: Sun, 25 May 2014 14:30:00 +0900 (JST)	[thread overview]
Message-ID: <20140525.143000.487380331.tak.kunihiro@gmail.com> (raw)

Use wgrep.
  (require 'wgrep)
  (setq wgrep-enable-key (kbd "C-x C-q"))

Call grep with recursive option.
  grep -Hnir STRING . --include=*.tex

Then call wgrep by wgrep-enable-key and modify *grep* buffer
with `query-replace'.  Type C-x C-s to finish.



             reply	other threads:[~2014-05-25  5:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-25  5:30 Tak Kunihiro [this message]
     [not found] <mailman.2025.1400961387.1147.help-gnu-emacs@gnu.org>
2014-05-24 20:47 ` global-replace to include linked files? Emanuel Berg
2014-05-25  5:23   ` Dale Snell
2014-05-25 19:28     ` Robert Thorpe
     [not found]   ` <mailman.2051.1400995439.1147.help-gnu-emacs@gnu.org>
2014-05-25 20:26     ` Emanuel Berg
  -- strict thread matches above, loose matches on Subject: below --
2014-05-24 19:56 Sharon Kimble
2014-05-24 23:23 ` lee

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

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

  git send-email \
    --in-reply-to=20140525.143000.487380331.tak.kunihiro@gmail.com \
    --to=tak.kunihiro@gmail.com \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.