GNU bug report logs -
#24439
ispell.el; cutom setting `ispell-library-directory'; patch
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
2016-10-07 10:58 GMT+02:00 Eli Zaretskii <eliz <at> gnu.org>:
> Agustin, could you please take a look at the proposed patch? TIA.
>
> > From: Laimonas Vėbra <laimonas.vebra <at> yahoo.com>
> > Cc: 24439 <at> debbugs.gnu.org
> > Date: Thu, 6 Oct 2016 13:33:08 +0300
> >
> > Eli Zaretskii wrote:
> >
> > >> Sorry, that is not true (mistakenly thought, that fopen won't work
> with
> > >> windows paths). Then i should really rebuild ispell with LIBDIR set to
> > >> native path and it will work with Emacs.
> > >
> > > I think you don't even need that. You need to set ISPELL_DICTDIR in
> > > the environment to point to that directory.
> > >
> > > (The reason I didn't suggest this earlier is that I didn't know Cygwin
> > > can fopen Windows-style absolute file names.)
> >
> > Actually that won't work with current ispell.el, because LIBRARYVAR is
> > completely ignored and dictionaries searched only in LIBDIR (though it
> > can be overridden by LIBRARYVAR).
> >
> > Fixed this and other (-d with an absolute path) issues in attached patch.
>
Hi, Eli
I had a look at your patch and it looks really fine, thanks for caring
about this. Needed to first read the whole thread (gmail decided to tag
part of it as spam) and refresh my lisp a bit, I am currently busy with
other things and am less responsive.
I have also run some tests with it, and seems to work very well regarding
dictionary selection. Did not check actual spellchecking (Checked with an
old 24.4.1 where at least a function is not available, but could at least
check that lists of available dictionaries)
Best regards,
--
Agustin
[Message part 2 (text/html, inline)]
This bug report was last modified 8 years and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.