From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Re: [newbie] emacs flyspell not understands well accented chars Date: Mon, 02 Jun 2003 15:53:31 +0200 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=utf-8 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1054562264 24088 80.91.224.249 (2 Jun 2003 13:57:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2003 13:57:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 02 15:57:37 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 19Mpny-0006CW-00 for ; Mon, 02 Jun 2003 15:56:54 +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 19Mpmp-0004a0-EE for gnu-help-gnu-emacs@m.gmane.org; Mon, 02 Jun 2003 09:55:43 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!dialin-145-254-191-154.arcor-ip.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: dialin-145-254-191-154.arcor-ip.net (145.254.191.154) Original-X-Trace: fu-berlin.de 1054562024 8986469 145.254.191.154 (16 [87814]) X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:ELc2qx/D4Ct0090/S0+KZ3WyRds= Original-Xref: shelby.stanford.edu gnu.emacs.help:113983 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:10477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10477 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. > 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? > 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. I don't know aspell. I can't help you here. Oliver -- 14 Prairial an 211 de la Révolution Liberté, Egalité, Fraternité!