unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: File System Traversal Map/Collect
Date: Sun, 1 Jun 2008 10:20:39 -0700 (PDT)	[thread overview]
Message-ID: <b5d1a813-fb82-4d43-a5b2-b35cc3a2d4c8@y21g2000hsf.googlegroups.com> (raw)
In-Reply-To: 3f98cb6c-74c5-48de-b3cc-e944caf72b45@25g2000hsx.googlegroups.com

On 1 juin, 01:03, Nordlöw <per.nord...@gmail.com> wrote:
> I am trying to construct a general file system traversal function
> which operates (map/collect) on each file using a function as
> argument. Such a function could be query-replace-regexp() specializing
> it to the functions found in findr.el.

M-x find-name-dired
then the M and Q command in the resulting Dired buffer allows to make
a query replacement on a
bunch of files. The command find-name-dired
makes use of the unix find command though, so
it is perhaps not so useful with respect to what
you want to achieve.

There is also an extension called icicles which
seems to be able to do what you want -- apply
a function to a bunch of files, without relying on
some unix find command. Have a look at the wiki.




  reply	other threads:[~2008-06-01 17:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31 23:03 File System Traversal Map/Collect Nordlöw
2008-06-01 17:20 ` harven [this message]
2008-06-01 18:57   ` Drew Adams
2008-06-01 19:41   ` Drew Adams

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=b5d1a813-fb82-4d43-a5b2-b35cc3a2d4c8@y21g2000hsf.googlegroups.com \
    --to=harven@free.fr \
    --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.
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).