From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.help Subject: Re: [newbie] emacs flyspell not understands well accented chars Date: 01 Jun 2003 15:08:41 -0400 Organization: Yale University Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5lznl1lio6.fsf@rum.cs.yale.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054498126 19971 80.91.224.249 (1 Jun 2003 20:08:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2003 20:08:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 01 22:08:44 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 19MZ8G-0005Bq-00 for ; Sun, 01 Jun 2003 22:08:44 +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 19MZ5J-0006rD-5r for gnu-help-gnu-emacs@m.gmane.org; Sun, 01 Jun 2003 16:05:41 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!canoe.uoregon.edu!news.wss.yale.edu!rum.cs.yale.edu!rum.cs.yale.edu Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: rum.cs.yale.edu Original-X-Trace: news.wss.yale.edu 1054494525 32418 128.36.229.169 (1 Jun 2003 19:08:45 GMT) Original-X-Complaints-To: news@news.wss.yale.edu Original-NNTP-Posting-Date: Sun, 1 Jun 2003 19:08:45 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 1 Jun 2003 15:08:41 -0400, rum.cs.yale.edu Original-Xref: shelby.stanford.edu gnu.emacs.help:113953 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:10448 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10448 >> Now with ispell/aspell/flyspell and several debian versions of emacs21 it >> says that: PERCH is unrecognized word and suggests perche' as correction. > 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... Probably indeed. > The solution is to find and install an Italian dictionary that is > encoded in Latin-9. Alas, I don't know if and where such a beast > exists. That wouldn't help, since at the level of ispell, latin-1 and latin-9 are pretty much indistinguishable: unless some word uses one of the few chars that are different, a latin-1 dict *is* a latin-9 dict as well. The problem might rather be that Emacs thinks that latin-9 letters are not part of ispell-words so it cuts the words wrong. I don't really know enough about ispell-dictionary-alist (it seems to use "unibyte" chars) and/or flyspell to know what to do, tho. Mario, what is your locale and have do you see the problem only with flyspell ? What about M-x ispell-region and M-x ispell-word ? Stefan