From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrei Stebkov Newsgroups: gmane.emacs.help Subject: Where to start with recursive file operations Date: Sat, 30 Oct 2004 20:20:50 -0400 Message-ID: <41843022@news.nnrp.ca> Reply-To: stebakov@tht.net NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1099182431 19611 80.91.229.6 (31 Oct 2004 00:27:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 00:27:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 31 02:27:08 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CO3Yq-0007RA-00 for ; Sun, 31 Oct 2004 02:27:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CO3gk-0003gY-2S for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Oct 2004 20:35:18 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 15 User-Agent: KNode/0.8.0 Original-NNTP-Posting-Host: 216.126.89.205 Original-X-Trace: news.nnrp.ca 1099182114 216.126.89.205 (30 Oct 2004 20:21:54 -0400) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!news.alt.net!meganewsservers.com!feeder2.on.meganewsservers.com!news.nnrp.ca!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:126258 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21640 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21640 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