From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Ispell and unibyte characters Date: Thu, 26 Apr 2012 12:54:13 +0300 Message-ID: <83r4vaizsq.fsf@gnu.org> References: <83aa3f2hgh.fsf@gnu.org> <20120326173912.GA22306@agmartin.aq.upm.es> <20120328191821.GA6266@agmartin.aq.upm.es> <83sjgr1duu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1335434117 29933 80.91.229.3 (26 Apr 2012 09:55:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2012 09:55:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: agustin.martin@hispalinux.es Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 26 11:55:14 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SNLPt-0000EQ-QQ for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2012 11:55:13 +0200 Original-Received: from localhost ([::1]:51369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNLPt-0004Ix-9i for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2012 05:55:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNLPm-0004Fz-GE for emacs-devel@gnu.org; Thu, 26 Apr 2012 05:55:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNLPg-0004k5-2k for emacs-devel@gnu.org; Thu, 26 Apr 2012 05:55:06 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:53033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNLPf-0004js-Qt for emacs-devel@gnu.org; Thu, 26 Apr 2012 05:55:00 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M3200900ZGE5700@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Thu, 26 Apr 2012 12:54:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.249.186]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M32009FHZIB3240@a-mtaout23.012.net.il>; Thu, 26 Apr 2012 12:54:11 +0300 (IDT) In-reply-to: <83sjgr1duu.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150041 Archived-At: > Date: Thu, 29 Mar 2012 20:06:17 +0200 > From: Eli Zaretskii > CC: emacs-devel@gnu.org > > Anyway, to me, Hunspell is a better tool, because of its support for > multiple dictionaries, which fixes the most annoying inconvenience in > Emacs spell-checking: the need to switch dictionaries according to the > language -- this is really a bad thing when you use Flyspell. > > With multiple dictionaries, with very rare exceptions, one needs a > single entry in ispell-dictionary-alist, having all of the > dictionaries for languages one normally uses, [[:alpha:]] as > CASECHARS, and UTF-8 as the encoding. Unfortunately, I have to take that back. Hunspell _does_ support multiple dictionaries, but only if they can use the same .aff file. When you invoke Hunspell with several dictionaries, as in hunspell -d "foo,bar,baz" only the first dictionary is loaded with its .aff file; the rest use that same .aff file. Therefore, it is practically impossible to use Hunspell to spell multi-lingual buffers without switching dictionaries. This feature _is_ useful when you want to add specialized dictionaries (e.g., for terminology in some specific field of knowledge or discipline) to the general dictionary of the same language, though. Sorry for posting misleading information.