From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: Re: ispell-local-dictionary Date: Tue, 28 Jul 2009 11:51:59 +0200 Organization: Sebastien Vauban Message-ID: <874osxb0e8.fsf@mundaneum.com> References: <87ocr5b2ms.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248795120 5995 80.91.229.12 (28 Jul 2009 15:32:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2009 15:32:00 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Tue Jul 28 17:31:54 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MVoee-0001Ue-Sv for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2009 17:31:53 +0200 Original-Received: from localhost ([127.0.0.1]:39108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVoed-0005tw-BO for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2009 11:31:51 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!aotearoa.belnet.be!news.belnet.be!feeds.phibee-telecom.net!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-X-Trace: news.eternal-september.org U2FsdGVkX1/r3nJ2dDs1kR6/1W5geWyQDaE+1yUsyGbkhRYfYDvG9/Sv9tshLygj6NHjgqC6sxMPwDKmBoIaM7ZM0wkV9UJg1j3Zz9HE+z6+dtk1JX7CkA0ImVeS8EofbWURm+7DtjusbFOYnSQt9w== Original-X-Complaints-To: abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org Original-NNTP-Posting-Date: Tue, 28 Jul 2009 09:59:05 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/+7jTw/EeSllESeh+FlMFoAF6ojLe35gM= X-Archive: encrypt Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMODhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QHw/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnYDQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ70hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloem/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= X-Www-site: Under construction... Cancel-Lock: sha1:hUvg5oMRJ1E17cjNMrvjx5q0p34= sha1:LpGKmhwz9j/SVsTNmUlxhTSQD34= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:171271 X-Mailman-Approved-At: Tue, 28 Jul 2009 11:31:05 -0400 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:66464 Archived-At: harven, harven wrote: > S=C3=A9bastien Vauban 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 do= cument >>> which language ispell (I auto-enable flyspell on loading of the tex-fil= e) >>> should use. >> >> I have the same need for writing documents in different languages, and l= etting >> 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 eithe= r 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 --=20 S=C3=A9bastien=C2=A0Vauban