unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Spell check a directory from emacs
@ 2006-05-29 10:13 christian.place
  2006-05-30 16:49 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: christian.place @ 2006-05-29 10:13 UTC (permalink / raw)


Hi,

is it possible to have emacs and ispell to spell check all (TeX) files
in a directory? I want to spell check every file in a directory using
emacs instead of using the command line ispell. I could of course open
every file in emacs and then spell check them one by one, by calling
spell-check-buffer on each file, but if it is possible to call
spell-check only once.

Thanks for any answers in advance,
Christian Place

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Spell check a directory from emacs
  2006-05-29 10:13 Spell check a directory from emacs christian.place
@ 2006-05-30 16:49 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2006-05-30 16:49 UTC (permalink / raw)


christian.place@gmail.com wrote:
> is it possible to have emacs and ispell to spell check all (TeX) files
> in a directory? I want to spell check every file in a directory using
> emacs instead of using the command line ispell. I could of course open
> every file in emacs and then spell check them one by one, by calling
> spell-check-buffer on each file, but if it is possible to call
> spell-check only once.

emacs *.tex --eval '(mapc (lambda (buffer) (with-current-buffer buffer 
(ispell-buffer)) (buffer-list))'

-- 
Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-30 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-29 10:13 Spell check a directory from emacs christian.place
2006-05-30 16:49 ` Kevin Rodgers

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).