[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs and Flyspell --partial correction
From: |
Lorenzo Isella |
Subject: |
Emacs and Flyspell --partial correction |
Date: |
Wed, 01 Dec 2010 19:12:33 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.11pre) Gecko/20100623 Spicebird/0.8 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Emacs and Flyspell --partial correction,
Lorenzo Isella <=