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:03:39 +0200 Organization: Sebastien Vauban Message-ID: <87ocr5b2ms.fsf@mundaneum.com> References: 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 1248777184 9998 80.91.229.12 (28 Jul 2009 10:33:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2009 10:33:04 +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 12:32:58 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 1MVjzN-0003GZ-TO for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2009 12:32:58 +0200 Original-Received: from localhost ([127.0.0.1]:55411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVjzN-0006U3-7o for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2009 06:32:57 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-X-Trace: news.eternal-september.org U2FsdGVkX18XkFMzZV4ES/aM8i//n+vgHNzPtGiLmjv9cvn3YNMrKizLrlvqrU37dCmZFr5y2dqjerUv7MSHYwaovh7lrD6aXgixLCISOBI3xi1O7hHRD9wqzakDtsFNpWyl/IcCJsw= Original-X-Complaints-To: abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org Original-NNTP-Posting-Date: Tue, 28 Jul 2009 09:03:39 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+lIqkEeE5Gi0Tp97DOcq7P4ZesB1uyL3w= 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:sg1jjA/j1xFDLUQwgQyvlUmrqs8= sha1:FnoDO6Jpr7aT5HGyhQMHkxziXj8= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:171266 X-Mailman-Approved-At: Tue, 28 Jul 2009 06:29:35 -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:66457 Archived-At: 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 docu= ment > 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 lett= ing 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 --=20 S=C3=A9bastien=C2=A0Vauban