unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
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 21:48:45 +0300	[thread overview]
Message-ID: <83vaxx578y.fsf@gnu.org> (raw)
In-Reply-To: <57DAE035.6070909@yahoo.com> (message from Laimonas Vėbra on Thu, 15 Sep 2016 20:53:57 +0300)

> From: Laimonas Vėbra <laimonas.vebra@yahoo.com>
> Cc: 24439@debbugs.gnu.org
> Date: Thu, 15 Sep 2016 20:53:57 +0300
> 
> Eli Zaretskii wrote:
> 
> > OK, so adding a condition for dict-bname being an absolute file name
> > in the above snippet would solve your problem?
> 
> Well, the problem is not only mine and it would solve it only partially 
> (in case of cygwin ispell), because dictionaries would have to be added 
> to `ispell-[local-]dictionary-alist' with abspath (a little bit 
> cumbersome; especially in case of roaming .emacs) even if they are in 
> ispell LIBDIR (`ispell-library-directory').

Well, using a Cygwin ispell with a native Windows build of Emacs is
not exactly the normal use case, either.  Why don't you use a native
Windows build of ispell (or a Cygwin build of Emacs)?

> Anyway, that fix would be wellcome

Can you propose a patch and test it in your setup?  Or would you like
me to propose a patch for you to test?

> though i would prefer to have a possibility to customize directory
> where dictionaries are looked up.

ispell.el used to request a lot of such manual configury, but nowadays
it attempts to glean such information from the spellers themselves, as
far as possible.  It would have worked for you out of the box, were it
not for the fact that Emacs doesn't understand Cygwin file names (if I
understand correctly the nature of your problem).  So going back to
manual configuration would be a step in the wrong direction, IMO.





  reply	other threads:[~2016-09-15 18:48 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83vaxx578y.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).