From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: [newbie] emacs flyspell not understands well accented chars Date: Mon, 02 Jun 2003 10:21:57 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84znl0ubx6.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054542388 4968 80.91.224.249 (2 Jun 2003 08:26:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2003 08:26:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 02 10:26:20 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Mkdl-0001Gk-00 for ; Mon, 02 Jun 2003 10:26:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Mkdm-0004P0-4K for gnu-help-gnu-emacs@m.gmane.org; Mon, 02 Jun 2003 04:26:02 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!lucy.is.informatik.uni-duisburg.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de (134.91.35.216) Original-X-Trace: fu-berlin.de 1054542144 9045393 134.91.35.216 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:gVtXoCq9sD5YU9vpcqo+07j38kM= Original-Xref: shelby.stanford.edu gnu.emacs.help:113970 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10465 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10465 "Eli Zaretskii" writes: > I suspect this is because your locale sets Emacs up to use Latin-9 > encoding, while Ispell's dictionary is encoded in Latin-1. Current > released versions of Emacs see Latin-1 and Latin-9 as different > characters, sigh... It's fairly easy to fool ispell. I use the following kludge: (require 'ispell) (add-to-list 'ispell-local-dictionary-alist '("ndeutsch8-15" "[a-zA-Z\xf44\xf56\xf5c\xf5f\xf64\xf76\xf7c]" "[^a-zA-Z\xf44\xf56\xf5c\xf5f\xf64\xf76\xf7c]" "[']" t ("-C" "-d" "ndeutsch") "~latin1" iso-8859-15)) I took the ndeutsch8 entry and modified it slightly. Note that the next-to-last item still says "~latin1", and the ispell dictionary name still says "ndeutsch", but the last item in the list is now iso-8859-15 instead of iso-8859-1. -- This line is not blank.