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: Add French dictionary to aspell (was: ispell-dictionary with aspell) Date: Mon, 19 Sep 2005 22:28:17 +0200 Message-ID: <5186d2b5d46d8b33195800aba19d374b@Web.DE> References: <1127092148.676911.261330@g49g2000cwa.googlegroups.com> <1127113792.437833.185520@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1127162195 20445 80.91.229.2 (19 Sep 2005 20:36:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2005 20:36:35 +0000 (UTC) Cc: emacs list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 19 22:36:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EHSLp-0003XX-0S for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Sep 2005 22:34:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EHSLo-0008Uc-GD for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Sep 2005 16:34:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EHSJ5-0007W2-Jt for help-gnu-emacs@gnu.org; Mon, 19 Sep 2005 16:32:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EHSIz-0007Tg-Ex for help-gnu-emacs@gnu.org; Mon, 19 Sep 2005 16:32:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EHSIz-0007Qi-AA for help-gnu-emacs@gnu.org; Mon, 19 Sep 2005 16:32:01 -0400 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EHSFR-0005GA-4i for help-gnu-emacs@gnu.org; Mon, 19 Sep 2005 16:28:21 -0400 Original-Received: from [84.245.189.178] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #317) id 1EHSFP-0001Eh-00; Mon, 19 Sep 2005 22:28:19 +0200 In-Reply-To: X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: Marc Girod X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de 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:29569 Archived-At: Am 19.09.2005 um 21:49 schrieb Marc Girod: > What is your problem? > I do have accented words, and ispell/aspell will accept them -- or > propose corrections as for others. In an ISO Latin-9 (ISO 8859-15, the one with =80) encoded buffer=20 (LaTeX/AUCTeX/flyspell) aspell does not recognize for example "sp=E4ter"=20= (later/plus tard). It's two words: "sp" and "ter". The propositions=20 contain UTF-8/are UTF-8 encoded (from the dictionary) and incorrectly=20 shown in the *Choices* buffer: every byte is displayed in ISO Latin-1=20 or such instead of choosing the right glyph for the two or three byte=20 UTF-8 sequences. I have a very simple set-up: (setq ispell-dictionary "german8") ; (setq ispell-program-name "ispell") (setq ispell-program-name "aspell") (if (string=3D "aspell" ispell-program-name) (progn ; (setq ispell-dictionary "german8") (setq ispell-cmd-args "--norm-form=3Dcomp --norm-required=20 --run-together") (set-default 'ispell-local-dictionary "german8") (message "Alles f=FCr =ABa=BBspell") ) ; (setq ispell-dictionary "german8") (message "Alles f=FCr =BBi=ABspell") ) (add-hook 'LaTeX-mode-hook (function (lambda () (setq=20 ispell-extra-args '("-t"))))) The line with ispell-cmd-args does not work at all. If I use ispell=20 instead of aspell everything's fine! -- Greetings Pete "I love deadlines. I love the whooshing noise they make as they go by"=20= (Douglas Adams)