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: ispell, aspell, and personal word list Date: Thu, 3 May 2012 21:13:48 +0200 Message-ID: <43FF8A63-13CB-4EF3-83BA-0BF446D4F3CF@web.de> References: <8CD9C826-1AC0-44BB-997A-65AEF1A8B3C6@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1336072442 5951 80.91.229.3 (3 May 2012 19:14:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 May 2012 19:14:02 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: Steve Petersen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 03 21:14:02 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SQ1TT-0001C1-Bn for geh-help-gnu-emacs@m.gmane.org; Thu, 03 May 2012 21:13:59 +0200 Original-Received: from localhost ([::1]:39618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQ1TS-0008Eo-Jj for geh-help-gnu-emacs@m.gmane.org; Thu, 03 May 2012 15:13:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQ1TN-0008Ej-M6 for Help-gnu-emacs@gnu.org; Thu, 03 May 2012 15:13:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQ1TL-0007D3-RV for Help-gnu-emacs@gnu.org; Thu, 03 May 2012 15:13:53 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:37967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQ1TL-0007AQ-HX for Help-gnu-emacs@gnu.org; Thu, 03 May 2012 15:13:51 -0400 Original-Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate03.web.de (Postfix) with ESMTP id D4C741B425581 for ; Thu, 3 May 2012 21:13:49 +0200 (CEST) Original-Received: from sumac.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MCIYT-1SHX920hQf-0098ER; Thu, 03 May 2012 21:13:49 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:Qqevdi4Lk3fQAVHES7hKvoMzpJibKJblhD37ef4d/u1 xcDsjq9iQmRH5jqBROdfe3zEaPUlTivnvBRRttJlHvoGuHpSuh UWzFV3rXzMLsa2KmfQKCEZSRq8ihQNQvFteM0knyj0+23dAh2m 36KxImZlYYuKKuTbY/rMuVC1/mbFP1SENIHgxLvGY/07krplt9 p/On5Ddr+FKYU1L3SBVNw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84718 Archived-At: Am 03.05.2012 um 16:38 schrieb Steve Petersen: > my problem is that ispell lists don't play nicely with aspell lists, = and I > don't know why one emacs uses one and another emacs uses the other, or = how > to change it. (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 = 3))) ; (if (string=3D "aspell" ispell-program-name) (progn ; (setq ispell-extra-args "--norm-form=3Dcomp --norm-required = --run-together") ; (setq ispell-dictionary "en_GB-ise-w_accents") (setq ispell-dictionary "deutsch") (set-default 'ispell-local-dictionary = ispell-dictionary);"deutsch" (add-hook 'LaTeX-mode-hook (function (lambda () (setq = ispell-extra-args '("--mode=3Dtex"))))) ; (setq-default ispell-extra-args '("--mode=3Dtex")) ; (setq-default ispell-extra-args = '("--personal=3Dcustom_dict.rws")) ; (add-hook 'LaTeX-mode-hook 'flyspell-mode) (message "Alles f=FCr =ABa=BBspell") ) (setq ispell-dictionary "german8") (setq ispell-dictionary "deutsch8") (add-hook 'LaTeX-mode-hook (function (lambda () (setq = ispell-extra-args '("-t"))))) (message "Alles f=FCr =BBi=ABspell") (add-hook 'TeX-language-en-hook (function (lambda () = (ispell-change-dictionary "british")))) (add-hook 'TeX-language-de-hook (function (lambda () = (ispell-change-dictionary ispell-dictionary))));"deutsch" ) -- Greetings Pete You can learn many things from children. How much patience you have, = for instance. =96 Franklin P. Jones