* ispell-local-dictionary
@ 2009-07-28 6:35 Alain Muls
0 siblings, 0 replies; 4+ messages in thread
From: Alain Muls @ 2009-07-28 6:35 UTC (permalink / raw)
To: help-gnu-emacs
Hi emacs,
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. However I have no succes, ispell (and flyqpell)
default to the English dictionary.
Any advice appreciated
Tx/Alain
---------------------------------------------------------------------
Alain Muls alain.muls@septentrio.com
+32.477.675091
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.3300.1248762939.2239.help-gnu-emacs@gnu.org>]
* Re: ispell-local-dictionary
[not found] <mailman.3300.1248762939.2239.help-gnu-emacs@gnu.org>
@ 2009-07-28 9:03 ` Sébastien Vauban
2009-07-28 9:26 ` ispell-local-dictionary harven
0 siblings, 1 reply; 4+ messages in thread
From: Sébastien Vauban @ 2009-07-28 9:03 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
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...
While the above, even if on two lines, works perfectly for me...
Seb
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ispell-local-dictionary
2009-07-28 9:03 ` ispell-local-dictionary Sébastien Vauban
@ 2009-07-28 9:26 ` harven
2009-07-28 9:51 ` ispell-local-dictionary Sébastien Vauban
0 siblings, 1 reply; 4+ messages in thread
From: harven @ 2009-07-28 9:26 UTC (permalink / raw)
To: help-gnu-emacs
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" -*-
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ispell-local-dictionary
2009-07-28 9:26 ` ispell-local-dictionary harven
@ 2009-07-28 9:51 ` Sébastien Vauban
0 siblings, 0 replies; 4+ messages in thread
From: Sébastien Vauban @ 2009-07-28 9:51 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
harven,
harven wrote:
> Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-28 9:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 6:35 ispell-local-dictionary Alain Muls
[not found] <mailman.3300.1248762939.2239.help-gnu-emacs@gnu.org>
2009-07-28 9:03 ` ispell-local-dictionary Sébastien Vauban
2009-07-28 9:26 ` ispell-local-dictionary harven
2009-07-28 9:51 ` ispell-local-dictionary Sébastien Vauban
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).