From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Update ispell-dictionary to text language Date: Fri, 15 Jan 2010 09:55:57 +0100 Message-ID: <876373wxuq.fsf@mundaneum.com> References: <87d41gkhjb.fsf@mundaneum.com> <87k4vod5f8.fsf@in-ulm.de> <873a2ai9vx.fsf@mundaneum.com> <0D07D866-37AB-419D-BB59-61DC376681FB@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Carsten, Carsten Dominik wrote: > On Jan 13, 2010, at 11:20 AM, S=C3=A9bastien Vauban wrote: >> Benjamin Andresen wrote: >>> S=C3=A9bastien Vauban writes: >>>> >>>> Here my proposal (and my very first self-written chunk of ELisp code) = for >>>> switching to the right language for ispell, upon reading the contents = of >>>> the meta-tag `LANGUAGE'. >>> >>> I think using File Variables are better for this. For no particular rea= son >>> except they are standardized and don't require any additional code in O= rg >>> Mode. >>> (info "(emacs)Specifying File Variables") >>> # -*- ispell-local-dictionary: "german" -*- >> >> I know them [...] BUT there is a *language specification* in the Org >> template [...] AND it is *used by Org* (at least for the HTML export, and >> for LaTeX as well I think -- or, in any case, it should use it). >> >> Thus, I try to avoid declaring which language is used in the buffer at t= wo >> different spots, because we can change one and forget to change the othe= r. >> >> Therefore, I would like to keep only one language declaration (the one of >> the Org template, in this case), and get Emacs follow it. >> >> Does this make sense? > > I have seen this thread and I am still contemplating what > to do with it. My arguments are: - We have a language specification in the Org template - That should be used during the export to HTML (DONE) - That should be used during the export to LaTeX (TODO) - That should be used for editing the buffer in the right language (TODO/DO= NE, see my proposal) I'm quite against /mixing language declarations/: - in the Org template *and* - in buffer local variables. Of course, we could imagine the other way around: using the value of `ispell-local-dictionary' for the 3 objectives (edition in correct language, correct setting for generated HTML, correct setting for generated LaTeX). I= t'd be as good for me. > More input and opinions would be welcome. So do I! ;-) Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode