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: Wed, 14 Sep 2016 23:02:03 +0300 Message-ID: <57D9ACBB.8020908@yahoo.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040803030300050400010002" X-Trace: blaine.gmane.org 1473883462 9918 195.159.176.226 (14 Sep 2016 20:04:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Sep 2016 20:04:22 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 To: 24439@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 14 22:04:19 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 1bkGPm-0001g4-H4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Sep 2016 22:04:15 +0200 Original-Received: from localhost ([::1]:58481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkGPk-00086p-RY for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Sep 2016 16:04:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkGPf-00086h-7R for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 16:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkGPa-0003xy-Tq for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 16:04:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkGPa-0003xs-Qf for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 16:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bkGPa-0007VX-K0 for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 16:04: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: Wed, 14 Sep 2016 20:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24439 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147388338528766 (code B ref -1); Wed, 14 Sep 2016 20:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Sep 2016 20:03:05 +0000 Original-Received: from localhost ([127.0.0.1]:59838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkGOf-0007Tu-76 for submit@debbugs.gnu.org; Wed, 14 Sep 2016 16:03:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkGNw-0007SK-92 for submit@debbugs.gnu.org; Wed, 14 Sep 2016 16:02:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkGNq-0003cI-4r for submit@debbugs.gnu.org; Wed, 14 Sep 2016 16:02:15 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkGNq-0003cB-1m for submit@debbugs.gnu.org; Wed, 14 Sep 2016 16:02:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkGNo-0007JY-L3 for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 16:02:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkGNi-0003b8-BC for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 16:02:11 -0400 Original-Received: from nm6-vm1.bullet.mail.ne1.yahoo.com ([98.138.91.71]:50271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkGNi-0003ap-5Q for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 16:02:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473883325; bh=ti9nKqHJ1c7C3KdHXAQI/gvortgd3HXIFa/cMNaQe0Y=; h=To:From:Subject:Date:From:Subject; b=mnIaOrTksqjp24jrzhH+9El4cyUXZlgyIJ6fKzMS+Z1DQjcz1JONqhPaTZt8aNU1fv1eP8twmBfCq+R+dniJGGcmHtKWGKbM6qR1jPgXHq6Q2B2ZtoyfX6X18wC5JKWUKcQFSd6fAy7ItGoLc0CDAbYm51XNCppMaThP1p8zu/sl4i07wyvJxYFKlv3+49/qqF6Yt5S1jdDilDe7CvxRyAjpsz9caT/o7VaUaZ4qKuQsgHdRMbC45m4B7s0EnYstQckkoG0WmSNKPrV6+DZ9MdmtdgnOcpulEBgMvGHKEKA4en8JaRl+Abb+/L2OCu6YXn+83U5iD60/NhcaPWcwbw== Original-Received: from [98.138.100.115] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 14 Sep 2016 20:02:05 -0000 Original-Received: from [98.138.84.44] by tm106.bullet.mail.ne1.yahoo.com with NNFMP; 14 Sep 2016 20:02:05 -0000 Original-Received: from [127.0.0.1] by smtp112.mail.ne1.yahoo.com with NNFMP; 14 Sep 2016 20:02:05 -0000 X-Yahoo-Newman-Id: 63027.21895.bm@smtp112.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 3YeVVAoVM1mPIWsQjmBIHCdNGmUN1Ih0XmDbwvFrvkrLyr9 CLCqB_5ZKWExVNcRrHPEviQejKboVi_sHhcqHBApowL5pB80hzawDAaN68id kzKKzJYbuIEm4cYYK6T0rSbyex4iwQaacujwqN_qX.FPq7_XIOW3hLa5b7aJ K073A6uFTCWc_IRLgK5FQgA0XyMDY8lupDUyI2rXbCqo9bXEKSRwBySNNgOv cp13g3Ul0OTZGJGuIyR3.qw8jguyofgq3F1_P2jhqLxO_mL2oCFbVIincSuY raDzLArexjZ0DioxjSbeP3UiC1nSbST5NljKi7B_Gvun_rg2vEUzW.GnpoKQ a5q54Tsg7HPP3.lsAi.VA1TsBs9XjpjmkWWTCgVkXOB2Zc8bHLtvHd8D3.5U 30oYP3zC0MqwITeRZnvk8c0RblEfjyKPH4zWYMsBTbFRfWSgvhQ4OF50qy0. mff40FSt5NOP0sW.Xnaooe2R_oWZMfwj1ubv147htkmZ9SoyGqK49BNrBNP2 dgtvthX9Y5dI7kisHqrIEgOl_JInyEZqfOTNZdJBinChiRhB9.oqx304VPUK OKFXF X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 14 Sep 2016 16:03:03 -0400 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:123311 Archived-At: This is a multi-part message in MIME format. --------------040803030300050400010002 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, 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. Currently ispell.el breaks this possibiliity, because it resets `ispell-library-directory' to possibly incorrect or unwanted ispell LIBDIR on every ispell call. Suggested patch attached. I'm not sure if it doesn't break something (that's why i'm asking in patch comments), but AFAICS it shouldn't. Could someone familiar with ispell.el overview and comment on this tiny patch? --------------040803030300050400010002 Content-Type: text/plain; charset=UTF-8; name="ispell.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ispell.patch" LS0tIGlzcGVsbC5lbC5vcmlnCTIwMTUtMDQtMDIgMTA6MjM6MDYuMDAwMDAwMDAwICswMzAw CisrKyBpc3BlbGwuZWwJMjAxNi0wOS0xNCAyMjozNjo1OC40NDY1NDg1MDAgKzAzMDAKQEAg LTMwNDQsNyArMzA0NCwxNyBAQAogCSAgICAgICBpc3BlbGwtcHJvZ3JhbS1uYW1lCiAJICAg ICAgIChvciBpc3BlbGwtbG9jYWwtZGljdGlvbmFyeSBpc3BlbGwtZGljdGlvbmFyeSAiZGVm YXVsdCIpKQogICAgICAgKHNpdC1mb3IgMCkKLSAgICAgIChzZXRxIGlzcGVsbC1saWJyYXJ5 LWRpcmVjdG9yeSAoaXNwZWxsLWNoZWNrLXZlcnNpb24pCisgICAgICAoc2V0cQorICAgICAg ICA7OyBXaHkgZG8gd2UgbmVlZCB0byB1cGRhdGUgYGlzcGVsbC1saWJyYXJ5LWRpcmVjdG9y eScgb24gZXZlcnkgCisgICAgICAgIDs7IGlzcGVsbCBwcm9jZXNzIGxhdW5jaD8gSWYgd2Ug ZG8gbm90IGNoYW5nZSBgaXNwZWxsLXByb2dyYW0tbmFtZScsIAorICAgICAgIC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