[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AW: replace a textblock in multiple files
From: |
Mathias Dahl |
Subject: |
Re: AW: replace a textblock in multiple files |
Date: |
Tue, 26 Sep 2006 17:44:18 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
<C.Strobl@dlr.de> writes:
> 1) i want to work on several subdirectories, not only in one directory
> 2) i want to replace blocks consisting of more than one line.
In dired, navigate one folder "higher" than where you want to start
your replacement. Then insert the directory you want to work with
using C-u i and add an R to the arguments at the prompt. This will add
all files recursively into the dired buffer and you can work with the
files from there.
The Q command should accept multi line blocks as long as you can find
a regexp to do it. If not, maybe you want to write a small helper
elisp function.
- Re: AW: replace a textblock in multiple files,
Mathias Dahl <=