From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mario Giammarco Newsgroups: gmane.emacs.help Subject: Re: [newbie] emacs flyspell not understands well accented chars Date: Mon, 02 Jun 2003 12:09:45 GMT Organization: TIN Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84znl0ubx6.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: main.gmane.org 1054555897 26677 80.91.224.249 (2 Jun 2003 12:11:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2003 12:11:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 02 14:11:35 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 19MoA1-0006w2-00 for ; Mon, 02 Jun 2003 14:11:34 +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 19Mo9f-00067W-3Y for gnu-help-gnu-emacs@m.gmane.org; Mon, 02 Jun 2003 08:11:11 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 User-Agent: KNode/0.7.2 Original-NNTP-Posting-Host: 213.45.38.131 Original-X-Complaints-To: newsmaster@tin.it Original-X-Trace: news1.tin.it 1054555785 213.45.38.131 (Mon, 02 Jun 2003 14:09:45 MET DST) Original-NNTP-Posting-Date: Mon, 02 Jun 2003 14:09:45 MET DST Original-Xref: shelby.stanford.edu gnu.emacs.help:113979 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:10473 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10473 Oliver Scholz wrote: >> >> 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 suspect (but have not tested it) that if the OP replaces the two > regexps with "[[:alpha:]]" and "[^[:alpha:]]" respectively, it could > work right of the box with Italian, too. So where I have to put this thing? I have to modify it? BTW: I tried ispell without emacs and it shows strange things: perchè is perchM-i So I have tried aspell and it works, I am trying to use aspell with emacs but there it does not find LANG=it_IT and so it uses american dictionary.