GNU bug report logs - #13639
ispell.el: hunspell dicts autodetection under Emacs.

Previous Next

Package: emacs;

Reported by: Agustin Martin <agustin.martin <at> hispalinux.es>

Date: Wed, 16 Jan 2013 16:37:02 UTC

Owned by: Agustin Martin <agustin.martin <at> hispalinux.es>

Severity: normal

Done: Agustin Martin <agustin.martin <at> hispalinux.es>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Agustin Martin <agustin.martin <at> hispalinux.es>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#13460: closed (Issue to change dictionary when using hunspell
 on emacs)
Date: Mon, 21 Jan 2013 16:54:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 21 Jan 2013 17:52:38 +0100
with message-id <20130121165237.GA31070 <at> agmartin.aq.upm.es>
and subject line Re: bug#13460: Issue to change dictionary when using hunspell on emacs
has caused the debbugs.gnu.org bug report #13460,
regarding Issue to change dictionary when using hunspell on emacs
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
13460: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13460
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jochen Schmitt <Jochen <at> herr-schmitt.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Issue to change dictionary when using hunspell on emacs
Date: Wed, 16 Jan 2013 13:25:10 +0100
Hallo,

I'm using emacs-24.1 on Fedora 17 (x86_64) and have the following
isuue. When I want to write an text in enlish I have to change
the used dictionary with M-x ispell-change-disctionary english.

Unfortunately, I have to find out, that hunspell doesn't works
properly after I have changed the dictionary to english.

My examination show, that emacs will called hunspell in the way
quoted abouve:

[s4504kr <at> omega ~]$ hunspell -a  -d english -B -i iso-8859-1
@(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2)
Can't open affix or dictionary files for dictionary named "english".
[s4504kr <at> omega ~]$ exit
exit

So It may be nice, if you have an solution for this issue.

Best Regards:

Jochen Schmitt


[Message part 3 (message/rfc822, inline)]
From: Agustin Martin <agustin.martin <at> hispalinux.es>
To: 13460-done <at> debbugs.gnu.org
Subject: Re: bug#13460: Issue to change dictionary when using hunspell on emacs
Date: Mon, 21 Jan 2013 17:52:38 +0100
On Fri, Jan 18, 2013 at 08:05:41PM +0100, Agustin Martin wrote:
> On Fri, Jan 18, 2013 at 07:03:34PM +0100, Jochen Schmitt wrote:
> > On Fri, Jan 18, 2013 at 06:05:01PM +0100, Agustin Martin wrote:
> > > I will test these changes a bit more and if no problems appear will commit
> > > early next week. Feedback is welcome.
> > >
> > I will be happy, if you can notifiy me about the state of your work, 
> > because I want that this patch may be integrated in the official
> > emacs package of Fedora Linux. This is important from my point of
> > view, because hunspell is the default spell checking application
> > in Fedora.
> 
> Once I commit changes I will close the bug report and you will receive a
> message about it. If you want the final diff I can attach it to the closing
> message.

Fix committed, closing bug report.

For english I left en_US alone. For the reasons shown in the bug thread I
think is not a good idea to mix them.

I have relaxed a bit the check, if a standard dict does not have an
associated hunspell mapping it is ignored for hunspell with a warning,
so error message will only appear when trying to use that dict instead
of everytime hunspell is used as spellchecker.

Regards,

-- 
Agustin


This bug report was last modified 12 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.