Control: clone 612051 -1
Control: reopen -1
Control: reassign -1 dictionaries-common
Control: retitle -1 dictionaries-common: 
ispell.el::ispell-aspell-find-dictionary should look into aspell dict-dir
Control: found -1 1.23.13

On Mon, Oct 13, 2014 at 05:30:13PM +0200, Agustin Martin wrote:
> On Sun, Oct 12, 2014 at 07:28:00PM +0200, Sven Joachim wrote:
> > On 2014-10-01 15:24 +0200, Agustin Martin Domingo wrote:
> > 
> > >  aspell (0.60.7~20110707-1.2) unstable; urgency=medium
> > >  .
> > >      - Modify to use "/usr/share/aspell" for arch indep stuff, except
> > >        filters and dict description files. Change aspell compat level.
> > >      - 09_debian-dictdir.diff: Implement a new debian specific
> > >        "--debian-dict-dir" configure option to allow explicitly setting an
> > >        independent path for dictionaries.
> > 
> > Sorry to bother you again, but this change has caused a new problem in
> > Emacs: Emacsen which do not use debian-ispell.el (e.g. emacs-snapshot,
> > or locally compiled Emacs binaries) can no longer find dictionaries
> > which are not in the default ispell-dictionary-base-alist -- a big
> > problem for me, since I rely on aspell-de's German dictionary.  I have
> > this tracked it down to (ispell-aspell-find-dictionary "de") returning
> > nil which is due to the dictionary not living in ispell-aspell-data-dir,
> > which is now /usr/share/aspell rather than /usr/lib/aspell.

Hi, Sven,
 
> This should also affect Debian Emacs, only that if has an alternative way to
> know the available dicts.

And even in this case, those dicts will only be available with the names
explicitly registered by the dict. 

I have been tracing how aspell looks for master .dat file and observed that
it first looks in `dict-dir' and then in `data-dir'. With current Debian
aspell, it looks in both in that order, just that other auxiliary .dat files
(affix, phonet) must be in the same dir as the associated master file.

So, seems that ispell.el is indeed buggy about this, should have looked in
both locations, with precedence for `dict-dir'.

I am cloning this bug report and reassigning the clone to
dictionaries-common. I am working in some changes to make
(ispell-aspell-find-dictionary) look in both locations. Still needs some
test, but seems to work well. If no problems appear this will be uploaded
soon.

Regarding FSF Emacs repo, I will wait a bit. I want changes in Debian to be
extensively tested first. Only after that and if Emacs 24.4 release gets
delayed more and more I will try to have changes into it. Otherwise changes
will go into trunk after relase, once tested. snapshots based on it will get
the changes.

Thanks for noticing this problem. 

Regards,

-- 
Agustin


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to