help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ispell-local-dictionary


From: harven
Subject: Re: ispell-local-dictionary
Date: Tue, 28 Jul 2009 11:26:14 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:

> Hi Alain,
>
> Alain Muls wrote:
>> I use Emacs auctex mode for editing my LaTeX files. SInce I often work in
>> different languages (English, French and Dutch), I was looking after the
>> ispell-local-dictionary comment which would allow to define for each document
>> which language ispell (I auto-enable flyspell on loading of the tex-file)
>> should use.
>
> I have the same need for writing documents in different languages, and letting
> Emacs ispell correct me when I'm wrong.
>
>
>> However I have no succes, ispell (and flyqpell) default to the English
>> dictionary.
>
> I just put some local variables at the end of my `.tex' documents, such as:
>
> --8<---------------cut here---------------start------------->8---
> % This is for the sake of Emacs.
> % Local Variables:
> % coding: utf-8
> % eval: (ispell-change-dictionary "american")
> % eval: (flyspell-mode 1)
> % End:
> --8<---------------cut here---------------end--------------->8---
>
> I had tried setting `ispell-local-dictionary', but never succeeded either to
> make it work. No idea why...

you can also put the following in the first line of your file
-*- mode: flyspell; ispell-dictionary: "francais" -*-


reply via email to

[Prev in Thread] Current Thread [Next in Thread]