From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#13639: ispell.el: hunspell dicts autodetection under Emacs. Date: Fri, 5 Apr 2013 17:57:53 +0200 Message-ID: <20130405155753.GA20191@agmartin.aq.upm.es> References: <20130116122509.GA2209@omega.in.herr-schmitt.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1365278635 29604 80.91.229.3 (6 Apr 2013 20:03:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 20:03:55 +0000 (UTC) To: Jacek Chrzaszcz , 13639@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 06 22:03:53 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1UOZJa-0001Uu-OA for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Apr 2013 22:02:18 +0200 Original-Received: from localhost ([::1]:39370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO92S-0006qT-VI for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Apr 2013 11:58:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO92O-0006pA-OM for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2013 11:58:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO92M-0001tM-RT for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2013 11:58:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO92M-0001tI-OM for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2013 11:58:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UO95W-0000mC-29 for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2013 12:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Apr 2013 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13639 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: pending Original-Received: via spool by 13639-submit@debbugs.gnu.org id=B13639.13651776742920 (code B ref 13639); Fri, 05 Apr 2013 16:02:01 +0000 Original-Received: (at 13639) by debbugs.gnu.org; 5 Apr 2013 16:01:14 +0000 Original-Received: from localhost ([127.0.0.1]:35760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UO94j-0000l1-Fi for submit@debbugs.gnu.org; Fri, 05 Apr 2013 12:01:13 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.198.71]:35687 helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UO94h-0000kt-1l for 13639@debbugs.gnu.org; Fri, 05 Apr 2013 12:01:12 -0400 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/edison-001) with ESMTP id r35Fvr1A022702; Fri, 5 Apr 2013 17:57:53 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 96E48BA7; Fri, 5 Apr 2013 17:57:53 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73201 Archived-At: On Thu, Apr 04, 2013 at 04:41:44PM +0200, Jacek Chrz??szcz wrote: > Hi, > > I'd like to post a small correction to ispell.el (hunspell dictionary decoding). > In case the initial ispell-args coordinate of ispell-dictionary-alist > entry is set to nil, the hunspell equiv lookup does not work. The > attached patch corrects this. Change committed, thanks for the info. Seems I removed more than needed when cleaning up debugging stuff. This did not become evident in trunk since hunspell dicts autodetection was added later, also caring of aliases in a different way, taking precedence over old method. > Unfortunately I have not been able to set up emacs spellchecking to > work with hunspell for the Polish language due to some encoding > problems. > > "if: Ispell and its process have different character maps" > > Even though flyspell works to some extent, I go back to aspell, which > works much better. > > FYI, I am testing Fedora 18 with packaged GNU Emacs 24.2.1 > (x86_64-redhat-linux-gnu, GTK+ Version 3.6.4). I am testing with myspell pl dictionary and hunspell with Emacs trunk and seems to work. If the problem is still present for trunk I appreciate a minimal test file showing the problem and more info about the dictionary used for hunspell. Note that this may have been fixed with auto-detection. Regards, -- Agustin