[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch
From: |
Laimonas Vėbra |
Subject: |
bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch |
Date: |
Thu, 15 Sep 2016 19:51:37 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 |
Eli Zaretskii wrote:
> What I meant specifically is to use the -d switch to tell ispell where
> to look for the dictionaries. The -d switch accepts absolute file
> names, AFAIR, and will not try to look in ispell-library-directory for
> such absolute file names.
-d doesn't work, because of this code:
;; Include if the dictionary is in the library, or dir not defined.
(if (and
name
;; For Aspell, we already know which dictionaries exist.
(or ispell-really-aspell
;; Include all dictionaries if lib directory not known.
;; Same for Hunspell, where ispell-library-directory is nil.
(not ispell-library-directory)
(file-exists-p (concat ispell-library-directory
"/" dict-bname ".hash"))
(file-exists-p (concat ispell-library-directory
"/" dict-bname ".has"))))
(push name dict-list)))
> If that doesn't help, then maybe I don't understand what problem,
> exactly, are you trying to solve. What bad things happen if you don't
> change the value of ispell-library-directory from its default?
Then it's not possible to add custom dictionaries (when using cygwin
ispell) or dictionaries from other directory, than
`ispell-library-directory', because they are ommited by
`ispell-valid-dictionary-alist'.
> Even if the dictionaries that are arguments of the -d switch are given
> as absolute file names? If so, maybe that's the problem that needs
> fixing.
Yes.
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Laimonas Vėbra, 2016/09/14
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Eli Zaretskii, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Laimonas Vėbra, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Eli Zaretskii, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch,
Laimonas Vėbra <=
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Eli Zaretskii, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Laimonas Vėbra, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Eli Zaretskii, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Laimonas Vėbra, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Ken Brown, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Laimonas Vėbra, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Ken Brown, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Laimonas Vėbra, 2016/09/15
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Eli Zaretskii, 2016/09/16
- bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch, Eli Zaretskii, 2016/09/16