* Emacs and Flyspell --partial correction
@ 2010-12-01 18:12 Lorenzo Isella
0 siblings, 0 replies; only message in thread
From: Lorenzo Isella @ 2010-12-01 18:12 UTC (permalink / raw)
To: help-gnu-emacs
I have now realized that I had not installed the required aspell
dictionaries.
Nevertheless, I have not yet succeeded in getting emacs to switch
automatically to the right dictionary based on the content of the babel
option in my tex file.
Any suggestions?
Lorenzo
Dear All,
I am currently using emacs+auctes+flyspell to edit my latex documents
and I am pretty happy with it.
In particular, I like flyspell as it highlights my mistakes in English.
However, from time to time I happen to edit documents in French or
Italian and I would like flyspell not to spell check my words in
English, or rather to check my spelling in the right language.
I am running emacs on debian squeeze and I added the following lines to
my .emacs file
(autoload 'flyspell-babel-setup "flyspell-babel")
(add-hook 'latex-mode-hook 'flyspell-babel-setup)
;;
(require 'ispell-multi)
(setq ispell-program-name "aspell")
(setq ispell-really-aspell t)
(setq ispell-extra-args '("--sug-mode=fast"))
and copied the files flyspell-babel.el, ispell-multi.el to
/usr/share/emacs/site-lisp/ , where the .el files can be found at
http://www.dur.ac.uk/p.j.heslin/Software/Emacs/
Unfortunately, when I edit e.g. a latex Document in Italian, flyspell
marks every word in red and does not understand that it should check
them against an Italian dictionary.
Any suggestion is appreciated.
Lorenzo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-01 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 18:12 Emacs and Flyspell --partial correction Lorenzo Isella
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).