From: Eli Zaretskii <eliz@gnu.org>
To: "Laimonas Vėbra" <laimonas.vebra@yahoo.com>
Cc: 24439@debbugs.gnu.org
Subject: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch
Date: Thu, 15 Sep 2016 18:07:21 +0300 [thread overview]
Message-ID: <837fad6w2e.fsf@gnu.org> (raw)
In-Reply-To: <57D9ACBB.8020908@yahoo.com> (message from Laimonas Vėbra on Wed, 14 Sep 2016 23:02:03 +0300)
> From: Laimonas Vėbra <laimonas.vebra@yahoo.com>
> Date: Wed, 14 Sep 2016 23:02:03 +0300
>
> On Windows if one uses cygwin ispell, then one should fix ispell LIBDIR
> (which is not correct absolute path) relative to cygwin root by setting
> `ispell-library-directory'. Or one also might wish to use custom
> location of dictionaries.
ispell-library-directory is not supposed to be customized by users,
it's an internal variable set and used by ispell.el. To change the
location of dictionaries, users are supposed to customize
ispell-local-dictionary-alist. Why can't you do that instead?
> Currently ispell.el breaks this possibiliity, because it resets
> `ispell-library-directory' to possibly incorrect or unwanted ispell
> LIBDIR on every ispell call.
That's not what I see. What I see is that ispell-library-directory is
set once whenever the ispell process is created, which happens only
once in a session, or when you change your ispell dictionary. So I
think this is completely justified, because the user could install
additional dictionaries before restarting ispell.
> Could someone familiar with ispell.el overview and comment on this tiny
> patch?
I would prefer not to mess with the internal workings of ispell.el, if
possible.
If the suggestions above don't solve your problems, perhaps you could
write a batch file or a script which reported the library directory in
the format that ispell.el expects in a native Windows build of Emacs.
Or maybe you could switch to Hunspell or Aspell, which don't need
ispell-library-directory at all. A native Windows port of Hunspell is
available (and works very well for me).
Thanks.
next prev parent reply other threads:[~2016-09-15 15:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 20:02 bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch Laimonas Vėbra
2016-09-15 15:07 ` Eli Zaretskii [this message]
2016-09-15 15:56 ` Laimonas Vėbra
2016-09-15 16:34 ` Eli Zaretskii
2016-09-15 16:51 ` Laimonas Vėbra
2016-09-15 17:20 ` Eli Zaretskii
2016-09-15 17:53 ` Laimonas Vėbra
2016-09-15 18:48 ` Eli Zaretskii
2016-09-15 20:10 ` Laimonas Vėbra
2016-09-15 20:57 ` Ken Brown
2016-09-15 21:20 ` Laimonas Vėbra
2016-09-15 22:17 ` Ken Brown
2016-09-15 23:00 ` Laimonas Vėbra
2016-09-16 6:46 ` Eli Zaretskii
2016-09-16 6:25 ` Eli Zaretskii
2016-09-16 1:35 ` Laimonas Vėbra
2016-09-16 6:44 ` Eli Zaretskii
2016-09-24 17:47 ` Laimonas Vėbra
2016-10-06 10:33 ` Laimonas Vėbra
2016-10-07 8:58 ` Eli Zaretskii
2016-10-08 11:30 ` Agustin Martin
2016-10-08 12:18 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837fad6w2e.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24439@debbugs.gnu.org \
--cc=laimonas.vebra@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.