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#13460: Issue to change dictionary when using hunspell on emacs Date: Fri, 18 Jan 2013 20:23:45 +0100 Message-ID: <20130118192345.GA2554@agmartin.aq.upm.es> References: <20130116122509.GA2209@omega.in.herr-schmitt.de> <83hamh80ry.fsf@gnu.org> <20130117131733.GA20519@omega.in.herr-schmitt.de> <20728.16566.19238.480349@gnu.org> <20130117193029.GB4933@agmartin.aq.upm.es> <20130118170501.GA9786@agmartin.aq.upm.es> <20130118180321.GA2635@omega.in.herr-schmitt.de> <83vcau5n62.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1358537066 7893 80.91.229.3 (18 Jan 2013 19:24:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2013 19:24:26 +0000 (UTC) Cc: Jochen Schmitt To: 13460@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 18 20:24:44 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 1TwHYP-0002hV-Sd for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jan 2013 20:24:41 +0100 Original-Received: from localhost ([::1]:51772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwHY9-000730-5x for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jan 2013 14:24:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwHY3-000721-38 for bug-gnu-emacs@gnu.org; Fri, 18 Jan 2013 14:24:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwHXy-0008I9-Ce for bug-gnu-emacs@gnu.org; Fri, 18 Jan 2013 14:24:18 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwHXy-0008Hv-AD for bug-gnu-emacs@gnu.org; Fri, 18 Jan 2013 14:24:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TwHYk-0003zU-38 for bug-gnu-emacs@gnu.org; Fri, 18 Jan 2013 14:25:02 -0500 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, 18 Jan 2013 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13460 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13460-submit@debbugs.gnu.org id=B13460.135853707815299 (code B ref 13460); Fri, 18 Jan 2013 19:25:02 +0000 Original-Received: (at 13460) by debbugs.gnu.org; 18 Jan 2013 19:24:38 +0000 Original-Received: from localhost ([127.0.0.1]:39097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwHYL-0003yi-Mx for submit@debbugs.gnu.org; Fri, 18 Jan 2013 14:24:38 -0500 Original-Received: from edison.ccupm.upm.es ([138.100.198.71]:58854 helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TwHYJ-0003ya-0O for 13460@debbugs.gnu.org; Fri, 18 Jan 2013 14:24:36 -0500 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 r0IJNjLl025598; Fri, 18 Jan 2013 20:23:45 +0100 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id D546738E; Fri, 18 Jan 2013 20:23:45 +0100 (CET) Content-Disposition: inline In-Reply-To: <83vcau5n62.fsf@gnu.org> 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:69994 Archived-At: On Fri, Jan 18, 2013 at 09:03:17PM +0200, Eli Zaretskii wrote: > > Date: Fri, 18 Jan 2013 19:03:34 +0100 > > From: Jochen Schmitt > > > > I have find out, that hunspell wiel accecpt -d en_GB,en_US as > > an parameter, so this issue may be fixed. > > Beware: when you invoke hunspell like that, it uses the .aff file from > the first dictionary only, and ignores any .aff files of the other > dictionaries. This could bite you where US and GB English differ. > > In general, this option is meant to support _additional_ dictionaries > in the same language, like if you want to use a specialized dictionary > for medicine or some other discipline, together with a general-purpose > dictionary for the same language. Replied to Jochen message just before receiving your message and noticing that I forgot that this indeed was for additional dictionaries and that only first aff is used, thanks for reminding. I can now think about another possible problem with this. hunspell accepts both hunspell only and old myspell dicts. If e.g. en_GB has a myspell aff file (and .dic file for that .aff file) and en_US a hunspell only one (and associated .dic file for it), when using "-d en_GB,en_US" interaction may become at least strange if not unpredictable. -- Agustin