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

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

Re: ispell-local-dictionary


From: Sébastien Vauban
Subject: Re: ispell-local-dictionary
Date: Tue, 28 Jul 2009 11:51:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

harven,

harven wrote:
> 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" -*-

`ispell-dictionary' or `ispell-local-dictionary'?  It has never been clear to
me which one to use.

Best regards,
  Seb

-- 
Sébastien Vauban


reply via email to

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