From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: emacs ispell / flyspell Date: Tue, 1 Jan 2008 14:53:56 +0100 Message-ID: <153B1670-D266-4AFA-90AA-14D1C4FCE0EE@Web.DE> References: <4775cbfc$0$90265$14726298@news.sunsite.dk> <477a2caf$0$90262$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1199195670 3977 80.91.229.12 (1 Jan 2008 13:54:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2008 13:54:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?ISO-8859-1?Q?Martin_J=F8rgensen?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 01 14:54:45 2008 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 1J9hZt-0001d9-Cj for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2008 14:54:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9hZX-0002Wy-LE for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2008 08:54:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9hZD-0002To-2x for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 08:54:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9hZB-0002Qz-Re for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 08:54:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9hZB-0002QY-JA for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 08:54:01 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J9hZB-0007oA-1P for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 08:54:01 -0500 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id B9EFAC0B0887; Tue, 1 Jan 2008 14:53:59 +0100 (CET) Original-Received: from [195.4.205.121] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #208) id 1J9hZ9-0006NF-00; Tue, 01 Jan 2008 14:53:59 +0100 In-Reply-To: <477a2caf$0$90262$14726298@news.sunsite.dk> X-Mailer: Apple Mail (2.753) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19ECO7JmqjHMUxWtqaYekskO0vUSAGXFXHWEM+u boC3gAy4CTd36jW0G5ADjeMFjT6E72qpJ4ijcbnUxML02i/B/7 j2chMFQmyZrCQP41dJfg== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.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@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50410 Archived-At: Am 01.01.2008 um 13:06 schrieb Martin J=F8rgensen: > Aren't there many people here using emacs for making latex-documents? Does it work to configure ispell to be aware of TeX? I.e.: (setq ispell-program-name "ispell") ; (setq ispell-program-name "aspell") ; ; F=FCr Franz=F6sisch: ; (require 'ispell) ; (defun ispell-get-otherchars () ; (replace-regexp-in-string "-" "" (ispell-get-decoded-string =20 3))) ; (if (string=3D "aspell" ispell-program-name) (progn ; (setq ispell-extra-args "--norm-form=3Dcomp --norm-required --=20= run-together") ; (setq ispell-dictionary "en_GB-ise-w_accents") (setq ispell-dictionary "deutsch") (set-default 'ispell-local-dictionary ispell-=20 dictionary);"deutsch" (add-hook 'TeX-language-en-hook (function (lambda () =20 (ispell-change-dictionary "british")))) (add-hook 'TeX-language-de-hook (function (lambda () =20 (ispell-change-dictionary ispell-dictionary))));"deutsch" (message "Alles f=FCr =ABa=BBspell") ) (setq ispell-dictionary "german8") (add-hook 'TeX-language-en-hook (function (lambda () =20 (ispell-change-dictionary "british")))) (add-hook 'TeX-language-de-hook (function (lambda () =20 (ispell-change-dictionary "deutsch8")))) (message "Alles f=FCr =BBi=ABspell") ) (add-hook 'LaTeX-mode-hook (function (lambda () (setq ispell-=20= extra-args '("-t"))))) There is also the variable ispell-skip-region-alist ... it looks =20 promising! -- Greetings Pete Wasting time is an important part of living.