unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andrei Stebkov <stebakov@tht.net>
Subject: Where to start with recursive file operations
Date: Sat, 30 Oct 2004 20:20:50 -0400	[thread overview]
Message-ID: <41843022@news.nnrp.ca> (raw)

Hi!

I would like to write a function that finds files recursively starting from
the current directory, opens files based on given extension and does some
operations on them. For instance, checks out the file (from CVS or
Perforce), selects the whole buffer, indents the contents and save it.
Also I'd like to have same kind of function that would search and replace in
multiple files. 
As all the problems that I listed here stem from the same root (recursive
search) I need a few pointers about the basic built-in emacs functions of
this domain. The function of this nature must be already written, I just
couldn't find them.

Thanks in advance,
Andrei

             reply	other threads:[~2004-10-31  0:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-31  0:20 Andrei Stebkov [this message]
2004-10-31  2:55 ` Where to start with recursive file operations Pascal Bourguignon
2004-11-01 17:22 ` Kevin Rodgers
2004-11-02  7:32   ` Friedrich Dominicus
2004-11-06  6:47     ` Oliver Scholz

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=41843022@news.nnrp.ca \
    --to=stebakov@tht.net \
    /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).