From: bittna@gmail.com
To: help-gnu-emacs@gnu.org
Subject: need help with editing multiple files in a directory
Date: Thu, 19 Jul 2007 15:52:27 -0000 [thread overview]
Message-ID: <1184860347.592401.221020@22g2000hsm.googlegroups.com> (raw)
Hello,
I have multiple files in a directory that need a line added at a
certain point in the file. I wrote a lisp expression to do it, but I
have to load the file, then run the command on the buffer, the save
the file and I lose my place. I used dired to do a find and replace
on all of the files I needed, but how do I run my lisp expression on
all of the files?
Also how do I loop through all the buffers using lisp and switch into
each buffer and do something, then move to the next buffer?
Thanks!!!
next reply other threads:[~2007-07-19 15:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 15:52 bittna [this message]
2007-07-19 16:24 ` need help with editing multiple files in a directory Pascal Bourguignon
2007-07-19 20:55 ` Joel J. Adamson
2007-07-19 22:49 ` Colin S. Miller
2007-07-20 5:33 ` Mathias Dahl
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=1184860347.592401.221020@22g2000hsm.googlegroups.com \
--to=bittna@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.
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).