[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7230: 24.0.50; Regression: Many dictionaries not found by ispell.el
From: |
Agustin Martin |
Subject: |
bug#7230: 24.0.50; Regression: Many dictionaries not found by ispell.el |
Date: |
Mon, 18 Oct 2010 13:22:47 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, Oct 17, 2010 at 07:41:16PM +0200, Knut Anders Hatlen wrote:
>
> On a system with Aspell 0.60.6 with English dictionaries installed,
> evaluating the following expression successfully changes the dictionary
> on Emacs 23.2:
>
> (progn
> (require 'ispell)
> (ispell-change-dictionary "british-ize"))
>
> On Emacs 24 it fails:
Thanks for noticing and sorry for the bug. I thought it was behaving
correctly since a lot of English variants were listed and unfortunately
did not notice that some of them were missing, my fault. I really wonder
how no one found this before.
This change was introduced to deal with portuguese, that has no pt.dat, but
pt_BR or pt_PT.
I am currently playing with attached patch, that tries different .dat
matches. This should be better than before, and deal with former case plus
portuguese. Will test a bit more and commit if no problems appear.
--
Agustin
ispell-el_diferent-dat-files.diff
Description: Text Data