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 15:30:20 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 1054568204 24875 80.91.224.249 (2 Jun 2003 15:36:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2003 15:36:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 02 17:36:42 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 19MrKT-0006Fn-00 for ; Mon, 02 Jun 2003 17:34:33 +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 19MrHG-0006ji-QP for gnu-help-gnu-emacs@m.gmane.org; Mon, 02 Jun 2003 11:31:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-han1.dfn.de!news-mue1.dfn.de!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: 43 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 1054567820 213.45.38.131 (Mon, 02 Jun 2003 17:30:20 MET DST) Original-NNTP-Posting-Date: Mon, 02 Jun 2003 17:30:20 MET DST Original-Xref: shelby.stanford.edu gnu.emacs.help:113986 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:10480 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10480 Oliver Scholz wrote: > Mario Giammarco writes: > >> Oliver Scholz wrote: > [...] >>> 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? > > Please try to put this into your .emacs (untested!): > > (add-to-list 'ispell-local-dictionary-alist > '("italianx" > "[[:alpha:]]" > "[^[:alpha:]]" > "[']" t > ("-C" "-d" "") > "~latin1" iso-8859-15)) > > (setq ispell-dictionary "italianx") > > But replace with the name of the Italian > dictionary on your system. > I am doing something wrong I suppose because when I start flyspell it asks for /usr/lib/ispell/italianx.hash and similar (it seems to ignore -d italian) >> BTW: I tried ispell without emacs and it shows strange things: >> >> perchè is perchM-i > > What does that mean? Did you run ispell from a shell? Yes I ran it on a shell. Thanks again for interest.