From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Laimonas =?UTF-8?Q?V=C4=97bra?= Newsgroups: gmane.emacs.bugs Subject: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch Date: Fri, 16 Sep 2016 02:00:46 +0300 Message-ID: <57DB281E.6010702@yahoo.com> References: <57D9ACBB.8020908@yahoo.com> <837fad6w2e.fsf@gnu.org> <57DAC4B6.9040204@yahoo.com> <831t0l6s1u.fsf@gnu.org> <57DAD199.2010102@yahoo.com> <83y42t5bbl.fsf@gnu.org> <57DAE035.6070909@yahoo.com> <83vaxx578y.fsf@gnu.org> <57DB0049.5030409@yahoo.com> <926c221b-4fc0-75c6-5347-834f392248d7@cornell.edu> <57DB10A9.7090402@yahoo.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1473980488 27231 195.159.176.226 (15 Sep 2016 23:01:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2016 23:01:28 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 Cc: 24439@debbugs.gnu.org To: Ken Brown , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 16 01:01:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkfef-0005pf-S2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2016 01:01:17 +0200 Original-Received: from localhost ([::1]:37838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkfed-0000JZ-PO for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2016 19:01:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkfeW-0000Ie-Rn for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 19:01:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkfeR-0000ec-Od for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 19:01:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkfeR-0000cZ-Lo for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 19:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bkfeQ-00035q-Ak for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 19:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Laimonas =?UTF-8?Q?V=C4=97bra?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2016 23:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24439 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24439-submit@debbugs.gnu.org id=B24439.147398045511866 (code B ref 24439); Thu, 15 Sep 2016 23:01:02 +0000 Original-Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 23:00:55 +0000 Original-Received: from localhost ([127.0.0.1]:60852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkfeI-00035I-O0 for submit@debbugs.gnu.org; Thu, 15 Sep 2016 19:00:54 -0400 Original-Received: from nm21-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.181]:51215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkfeH-000355-HC for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 19:00:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473980447; bh=y8mHyYy3fYMqkHc+4h09QxYup8Y5jH726TIXE7jtYv0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=a3chr0hZ5qy2Du2lp8uWdx37xCYNvVmO/xk0oOpKDZLNOnzeY9sZ0yGdlXQK4mYlmv4EN2VJqVVMbFuCdaGNuFCxNtuI3bJ1MLSK6AkFlSdu/V1cgBLyWMrLgkzVMyi0fbJLklaI1UxeeZWGc0gbE48PjUH39Sh/FPNsWU3YysCWwr4E39JyCfaTJ/09rfGKjBPmDOPPRkK0t3KfrxCP8I1rmCwSFA9zDXqHUAEWLO3JDDZRD7owJLgLSrprR5HESwgti8S2HfrnYVTOcSj1eDlpfObapjubm+rk00JYYFKdVMqAj+AGAON32U/z2F26XGEiqELDl/oX6AKmPYhCcw== Original-Received: from [98.138.100.102] by nm21.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 23:00:47 -0000 Original-Received: from [98.138.84.43] by tm101.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 23:00:47 -0000 Original-Received: from [127.0.0.1] by smtp111.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 23:00:47 -0000 X-Yahoo-Newman-Id: 691171.56406.bm@smtp111.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 70by0OwVM1mI1pdyit4PFpPefM1tjTDd9P0uoCcM4V8lyq2 3AuAon1pr0rtb.dKjV2TPU6cupivsCVZ8r9lvi7PcXctivqoqcXdhjbKLpt1 Lx_1tQl_s_qclNHEqOpQqGvUsc8NUkJdq54QDvESCSTbuDX2GASjiFvG6C.n BzGlsMbA.j8atC.99EN97pVBuwde4yh35w1ysneXi.ZGBXkh83IViF_V_GFa MT1SZy5LRuEUOK3LMriqoCd8riH4WQkhWjy2kxHbNlxClU7cdf5EivVxMYb_ 0.L9CbMtuKRvyiGTOklEz.OW8Ot194re8WFdrqXxfB8yD5pPB_dVKJk6I1IM W0lQKlcdFWrmq1WiTOsc7zxmBImCeg3w0w7gPD12QkEhWzpyCgglEg1IJXUI dL8ZXIWNgvgVLNKp9PSg5rougVUEd2FtNd0.xodCGw3VC5LlG6fQPgpu5kX_ 8rpJZT92RhgdVSb9WL_CHSEVJ3GCz4HTcEpP7hzXchtFabTudYKUbIw3i7vT kMnIlAUZXWP1tevEqg6d8dUGJB5vk09JOF0IhHEyrf0mWQWohz2Bcz4.sFp_ 6QtHJ X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123366 Archived-At: Ken Brown wrote: > Then whoever built it is responsible for the setting of LIBDIR. I just > looked at the ispell sources, and the default value of LIBDIR is > /usr/local/lib on all platforms. But the README explains how to change it. It is going offtopic... LIBDIR can't be set (without patching source code) to native Windows path because then it won't find dictionaries either (even from cygwin). If it is set to cygwin-unix path, then it finds dictionaries in LIBDIR even when called from windows shell, but it doesn't work with Emacs, BECAUSE currently ispell.el (ispell-valid-dictionary-list) ommits all dictionaries that doesn't exist in LIBDIR (it's obvious why (file-exists-p (concat (LIBDIR dictionary)) fails) If LIBDIR was set to native windows path, then dictionaries wouldn't be ommited by `ispell-valid-dictionary-list', but cygwin ispell would not work either, because it could not find dictionaries in LIBDIR... :-)