From unknown Sat Jun 21 10:08:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24439 <24439@debbugs.gnu.org> To: bug#24439 <24439@debbugs.gnu.org> Subject: Status: ispell.el; cutom setting `ispell-library-directory'; patch Reply-To: bug#24439 <24439@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:08:05 +0000 retitle 24439 ispell.el; cutom setting `ispell-library-directory'; patch reassign 24439 emacs submitter 24439 Laimonas V=C4=97bra severity 24439 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 16:03:05 2016 Received: (at submit) by debbugs.gnu.org; 14 Sep 2016 20:03:05 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,FORGED_YAHOO_RCVD, FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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== Received: from [98.138.100.115] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 14 Sep 2016 20:02:05 -0000 Received: from [98.138.84.44] by tm106.bullet.mail.ne1.yahoo.com with NNFMP; 14 Sep 2016 20:02:05 -0000 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 To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Subject: ispell.el; cutom setting `ispell-library-directory'; patch Message-ID: <57D9ACBB.8020908@yahoo.com> Date: Wed, 14 Sep 2016 23:02:03 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040803030300050400010002" 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 ZG8gbm90IGNoYW5nZSBgaXNwZWxsLXByb2dyYW0tbmFtZScsIAorICAgICAgICA7OyB0aGVu IGBpc3BlbGwtbGlicmFyeS1kaXJlY3RvcnknIHNob3VsZCBhbHNvIG5vdCBiZSBjaGFuZ2Vk IG9uY2UgCisgICAgICAgIDs7IGl0IGlzIHNldC9pbml0aWFsaXplZCBpbiBgaXNwZWxsLXNl dC1zcGVsbGNoZWNrZXItcGFyYW1zJy4KKyAgICAgICAgOzsgQmVzaWRlcywgdGhpcyBicmVh a3MgY3VzdG9tIHNldHRpbmcgYGlzcGVsbC1saWJyYXJ5LWRpcmVjdG9yeScgCisgICAgICAg IDs7IChlLmcuIGN5Z3dpbiBpc3BlbGwgd2l0aCBMSUJESVIgcmVsYXRpdmUgdG8gY3lnd2lu IHJvb3QsIHRoYXQgCisgICAgICAgIDs7IHNob3VsZCBiZSBmaXhlZDsgY3VzdG9tIGxvY2F0 aW9uIG9mIGRpY3Rpb25hcmllcyksIGJlY2F1c2UgaXQgCisgICAgICAgIDs7IHJlc2V0cyBg aXNwZWxsLWxpYnJhcnktZGlyZWN0b3J5JyB0byAocG9zc2libHkgaW5jb3JyZWN0LCAKKyAg ICAgICAgOzsgdW53YW50ZWQpIGlzcGVsbCBMSUJESVIgb24gZXZlcnkgaXNwZWxsIGNhbGwu CisgICAgICAgIDs7IGlzcGVsbC1saWJyYXJ5LWRpcmVjdG9yeSAoaXNwZWxsLWNoZWNrLXZl cnNpb24pIAogCSAgICBpc3BlbGwtcHJvY2VzcyAoaXNwZWxsLXN0YXJ0LXByb2Nlc3MpCiAJ ICAgIGlzcGVsbC1maWx0ZXIgbmlsCiAJICAgIGlzcGVsbC1maWx0ZXItY29udGludWUgbmls Cg== --------------040803030300050400010002-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 11:07:36 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 15:07:36 +0000 Received: from localhost ([127.0.0.1]:60616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkYGA-0005m0-UO for submit@debbugs.gnu.org; Thu, 15 Sep 2016 11:07:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkYG4-0005lh-Hj for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 11:07:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkYFv-0000Fz-61 for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 11:07:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkYFv-0000FT-2a; Thu, 15 Sep 2016 11:07:15 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1351 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkYFt-0000si-2Y; Thu, 15 Sep 2016 11:07:13 -0400 Date: Thu, 15 Sep 2016 18:07:21 +0300 Message-Id: <837fad6w2e.fsf@gnu.org> From: Eli Zaretskii To: Laimonas =?utf-8?Q?V=C4=97bra?= In-reply-to: <57D9ACBB.8020908@yahoo.com> (message from Laimonas =?utf-8?Q?V=C4=97bra?= on Wed, 14 Sep 2016 23:02:03 +0300) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch References: <57D9ACBB.8020908@yahoo.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > From: Laimonas Vėbra > 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 11:56:57 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 15:56:58 +0000 Received: from localhost ([127.0.0.1]:60686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZ1w-0007us-IW for submit@debbugs.gnu.org; Thu, 15 Sep 2016 11:56:57 -0400 Received: from nm29-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.189]:56438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZ1p-0007tK-8a for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 11:56:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473954999; bh=KMzfKp04QxuyQCrmaWo56L1kcSHE1lI94I9HLp7KUL0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=jMiG5ULrRXoefF0Ox5KsLiUYBYuGkEoh9SqHaU3fMSi8Cr0lFkiNmrFx+4naCGJQs0wDAXTeXwyPLFcWQP5qyisHa/PiYISvCe6Dj5rMURRXSsr8tHNd8n1LhlIcD0GOYHFdUrO/G4jQWeq05pH4a0tYLxB3znZLpdP0VTzPXFwTFZvUxTeN7JrySOpEWq3djkOqRffU0qWa6OFwA6qhPKJoaaX70vu17Fk1LXdXwKae4SkbI5k+eHuryZXqENyprUwEKBcexKT8TrDVDQuIkiQN4TYmJV4O/4Ye1cJAn9F5uRLZlccKH/ypLurPCK+/CerNfoBehsPUm+6Bdmw/pw== Received: from [98.138.100.102] by nm29.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 15:56:39 -0000 Received: from [98.138.84.37] by tm101.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 15:56:39 -0000 Received: from [127.0.0.1] by smtp105.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 15:56:39 -0000 X-Yahoo-Newman-Id: 665257.33742.bm@smtp105.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ciFu12MVM1nmau1R697Mg_Pm3BRCm1eqtw9erw_ys85SDxr 80prM2O4b4.BKSXb79Z.o2bRyIt0Pg.QkSZ0grtko70UKvcAnkaC79j3L80q kwimbIGLPu9PTorgitGGBdhk5OSviXqevCavH2pBz5xq0CczoV3AWCugh4Nh 77tWkneqCR_GNRc_j9oESviDrT8GWEsbU.8M8FZ4_XYmjtMZzRLrq30iFqZ3 8nI_myzG1cgwzmNOUrbeZ_NF7GVzcXDoY6XjogvH0.Vu.aYuvYhL.OQtBawg SWk134RcW8HCbCfwjDoYaS9goOutXVpoPtbMq16HvqvGz1hk6y0YF4EXBuIm LUBv7Jg7G1FwZxYYbCqT_BzfaJPhDSq6maoZg9.yCr8vqGXykjGkRxQ0LCqg FJxv9dqsWsdVddRCxy.dfFU4vjmo1a2ZjLjgcZc99YeznCJbIJXWB6vIQqpn 05Zs3vNSxemCTTTGLtmb9tj4fgvl4Mj8ckdVCF65WPU0x1zrQ1AIgaxO9mzN X4TL2tkZS7bcFiXJ2EVS3q_VvCoGOCCxKrmmXYATt61PijXShXWTr01rdJKj 1Xq1TPy15hZs_kzOm8QdLhlK_HMdqHL7baw-- X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: Eli Zaretskii References: <57D9ACBB.8020908@yahoo.com> <837fad6w2e.fsf@gnu.org> From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Message-ID: <57DAC4B6.9040204@yahoo.com> Date: Thu, 15 Sep 2016 18:56:38 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <837fad6w2e.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Eli Zaretskii wrote: >> From: Laimonas Vėbra >> 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? I do understand, that it's internal variable, though it it useful (and i would say crucial) for customization. How am i suppose to customize `ispell-local-dictionary-alist'? AFAICS dictionaries, that are added there, are not visible to `ispell-change-dictionary', because `ispell-library-directory' points to a wrong directory, where `ispell-valid-dictionary-list' can't find them, so they are ommited. > 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 Correct: once per session. But it is redundant either, because it is already set before in `ispell-set-spellchecker-params', which is called by ispell-(region word change-dictionary). > think this is completely justified, because the user could install > additional dictionaries before restarting ispell. IMHO, resetting `ispell-library-directory', once it is already set, without changing ispell-program-name is simply redundant. It is clear from logic in `ispell-set-spellchecker-params' (unless (eq ispell-last-program-name ispell-program-name) ...) How (re)setting `ispell-library-directory' helps user installing new dictionaries? It's `ispell-valid-dictionary-list' responsibility to do actual work, besides `ispell-library-directory' is already set (before launching ispell process) and is not supposed to be changed if user doesn't change 'ispell-program-name'. > 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, i'll consider that, but currently i'm happy with `ispell-library-directory customization' and elisp that fixes it. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 12:34:12 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 16:34:12 +0000 Received: from localhost ([127.0.0.1]:60700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZc4-00020g-Az for submit@debbugs.gnu.org; Thu, 15 Sep 2016 12:34:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZc2-00020S-Qg for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 12:34:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkZbs-0003fl-Ng for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 12:34:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkZbs-0003ff-L7; Thu, 15 Sep 2016 12:34:00 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1836 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkZbr-0007KT-DI; Thu, 15 Sep 2016 12:34:00 -0400 Date: Thu, 15 Sep 2016 19:34:05 +0300 Message-Id: <831t0l6s1u.fsf@gnu.org> From: Eli Zaretskii To: Laimonas =?utf-8?Q?V=C4=97bra?= In-reply-to: <57DAC4B6.9040204@yahoo.com> (message from Laimonas =?utf-8?Q?V=C4=97bra?= on Thu, 15 Sep 2016 18:56:38 +0300) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch References: <57D9ACBB.8020908@yahoo.com> <837fad6w2e.fsf@gnu.org> <57DAC4B6.9040204@yahoo.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > Cc: 24439@debbugs.gnu.org > From: Laimonas Vėbra > Date: Thu, 15 Sep 2016 18:56:38 +0300 > > > 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? > > I do understand, that it's internal variable, though it it useful (and i > would say crucial) for customization. How am i suppose to customize > `ispell-local-dictionary-alist'? It's a defcustom, so using Customize is the preferred way. Of course, you can also set it from Lisp. 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. 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? > AFAICS dictionaries, that are added > there, are not visible to `ispell-change-dictionary', because > `ispell-library-directory' points to a wrong directory 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 12:51:53 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 16:51:53 +0000 Received: from localhost ([127.0.0.1]:60710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZtB-0002Tb-CJ for submit@debbugs.gnu.org; Thu, 15 Sep 2016 12:51:53 -0400 Received: from nm29-vm3.bullet.mail.ne1.yahoo.com ([98.138.91.159]:59566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZt9-0002TN-SP for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 12:51:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473958305; bh=/U/gM7zr1vmd/PIHrJQr/r+a/d/leIVzP0z1tbC/FxM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=aKDffH9b22ACUc4tb5jcoUQFm5sRXPWLnFLDliyclhJ5tS2ecteje5ZnMqiNkre01+quLYp4Z3qstGJY6a1IZQ7cz6mAH5boxqXfCV0bj+bbnPdvJVaRzscMKPA5wfXHuFVTBZxsAHrjviBl7sj3ZFJv/hpw1bG6tA9H3QURkycjoiz5X2Z5HMn0ZkwcK4ShNrf6Qd6Bk2GGJmMDhefKQW7mEZwvqXcvvwnaMpMd22XoVB6ZLY534MMx/ZnCySJIrtsby5VV++yytrPxPZOb3Z15w1FsjYl2B17P+xhXjmOLsjlXhLNfeWvJGJpEhySHzqtEJRHl1krQ+e9DK6eTpg== Received: from [98.138.100.115] by nm29.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 16:51:45 -0000 Received: from [98.138.84.40] by tm106.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 16:51:45 -0000 Received: from [127.0.0.1] by smtp108.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 16:51:38 -0000 X-Yahoo-Newman-Id: 347876.7317.bm@smtp108.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: zZvN4uMVM1k1RJnfXThRzIxQocVVYfc5NwngL4MoiFxco2s 3c9ZdBedF1CALb1J_7TK_5blnXsgEQEQwbX5T3OAajWx0qYRCm8eeqmSm34I fv3cuECFHb.i1LLSR_3oOESv5Dew.fHiQP76uGkjt8oPhDh7huabrnSy.yEx xLM7tWztmnMVEzhDkNLNhhmxV0bUut2rgWOpzgRTijbOBOJ71jZ2scEFgHlP 4zN9ZnVcl7XfkDg6cWfyE54VfeyH4wYlUZGtlV.cCrh8fNgfKQp52cg6OfZW UBpYT.kqARrjqkIVC8VnECcdTAWPymMZdWtPX3.Ky1J_7QEzO61vPs00YFtF TFM1zJb1XbMbYEE968OG.nOGVQoPlf9_9C8fzQSoB6cKQhIqyIrENDSS81Mm yd3ejP7GerkRQnN5y0Ca8lMoqXUawntFooGi3nHbic8KtvF1Jh89njNVeZZe UV7PJoz.6PUTtV6J5LeMA.PusgxWrtWbZmD9qSZBDJlPkMKjzHIJEHjdDunE VjuZ1CIYOizEf3oa0d.yMip4H_wtAS2MG8NLoM_6.Khp_vb_GUGooXl4HWe_ 7K5wB X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: Eli Zaretskii References: <57D9ACBB.8020908@yahoo.com> <837fad6w2e.fsf@gnu.org> <57DAC4B6.9040204@yahoo.com> <831t0l6s1u.fsf@gnu.org> From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Message-ID: <57DAD199.2010102@yahoo.com> 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 MIME-Version: 1.0 In-Reply-To: <831t0l6s1u.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.2 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 13:21:06 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 17:21:06 +0000 Received: from localhost ([127.0.0.1]:60726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkaLS-0003IE-BO for submit@debbugs.gnu.org; Thu, 15 Sep 2016 13:21:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkaLP-0003HO-9E for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 13:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkaLF-0008Bx-3a for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 13:20:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkaLE-0008Bn-Vt; Thu, 15 Sep 2016 13:20:53 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2109 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkaL9-0004YH-8s; Thu, 15 Sep 2016 13:20:52 -0400 Date: Thu, 15 Sep 2016 20:20:46 +0300 Message-Id: <83y42t5bbl.fsf@gnu.org> From: Eli Zaretskii To: Laimonas =?utf-8?Q?V=C4=97bra?= In-reply-to: <57DAD199.2010102@yahoo.com> (message from Laimonas =?utf-8?Q?V=C4=97bra?= on Thu, 15 Sep 2016 19:51:37 +0300) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch References: <57D9ACBB.8020908@yahoo.com> <837fad6w2e.fsf@gnu.org> <57DAC4B6.9040204@yahoo.com> <831t0l6s1u.fsf@gnu.org> <57DAD199.2010102@yahoo.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > Cc: 24439@debbugs.gnu.org > From: Laimonas Vėbra > Date: Thu, 15 Sep 2016 19:51:37 +0300 > > 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. OK, so adding a condition for dict-bname being an absolute file name in the above snippet would solve your problem? From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 13:54:07 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 17:54:07 +0000 Received: from localhost ([127.0.0.1]:60743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkarP-0004Ei-8G for submit@debbugs.gnu.org; Thu, 15 Sep 2016 13:54:07 -0400 Received: from nm6-vm1.bullet.mail.ne1.yahoo.com ([98.138.91.71]:58505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkarM-0004ED-Vn for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 13:54:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473962038; bh=dzf7WmE9OI+H2d5Gs/lHuoerD5Vy6aiv2nadnV4D7mU=; h=Subject:To:References:From:Cc:Date:In-Reply-To:From:Subject; b=l0Frr3nqVPnHoBlD8QlriB6Haomp2v6+bsu1+fASNjLRyloWQ1c/bvfAvW6hy25DSDIB1KypoYcZPb8JtC4V9KxsilagihNq+rWgHuixz/IDvg50lC3779TF76TitK42RSO+GpWUFlXmzMphByicSw0ENPwi4vXFKs/rzPeHmF8OaD3/pwuY6NpKvJfTWtgHCN4IlE5QXBXK4CdoOKldo4VaGQERtcizWZvFHgyH1NkVvp7Jn7y7ZkgYU3uGP/Hs0z+2ujih78ri8Kb98H5hQ7x41+j76fn9nymrsXHAQ7cGpI4VKfKXbhHbvh3aTa7A6xX+ls67LWvo3BT5vxuyxA== Received: from [98.138.226.176] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 17:53:58 -0000 Received: from [98.138.226.132] by tm11.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 17:53:58 -0000 Received: from [127.0.0.1] by smtp219.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 17:53:58 -0000 X-Yahoo-Newman-Id: 441463.38537.bm@smtp219.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: gM3oOI0VM1mn8_m8.KaF3WioBvO7KTCdMsmFT_pNkfq3Uei Flvg7Oa.EpjrQfW9M1U79hVcbXUXTexmi73UIDVDilQ_KSlsf.A8zwdEoi_k gARoqVJzEk.QRYBvm5EIBL3KuMcsodJoT52jwfL4TWxiorny7h5DDoDoKThv fGMjiQubnwwi7Jc6ByxkMAqgxTCagyNzW6wNRdDyeh_RaAVwt..LSUwK9xFg 5A0FnYg3U8LrECLalJetUjy9KRPJLXtz1PoMSy6BJaDWhcQeyQN2.qe6k29V zvlS0TjNnlvhgZxUPvtmLfJ7T6bv3k1aUchb7_LvtTh8oZUU3yjhJYaOEOvF iOBUt8algjYiVVEOd2.04WKx.FMSVo9sPQyEk97s4zMJPpHb25Tbr5XqzFt8 4eQtDeu6T9.NNnp3DG.I8W9Ptk8L9hkBPfYCc46HrK_hFF1ag_.K2dJa5.SQ Z82jtNxD5so.dyPbecpBfk7OY5FDpfvxCIgeqqsaH1Pi4TmS0fs3lWd17Uz0 X6JqA.BWpSezCEtfI3vcUPZxBJMXnvJagORy5rm0KsHD.01LRHTHsSR0HA9w i8OCD X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: Eli Zaretskii 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> From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Message-ID: <57DAE035.6070909@yahoo.com> Date: Thu, 15 Sep 2016 20:53:57 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <83y42t5bbl.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) 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'). Anyway, that fix would be wellcome, though i would prefer to have a possibility to customize directory where dictionaries are looked up. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 14:49:00 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 18:49:00 +0000 Received: from localhost ([127.0.0.1]:60752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkbiW-0005a7-K1 for submit@debbugs.gnu.org; Thu, 15 Sep 2016 14:49:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkbiV-0005Zv-3p for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 14:48:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkbiN-0006hA-7C for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 14:48:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkbiN-0006gz-3u; Thu, 15 Sep 2016 14:48:51 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2247 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkbiJ-0002n1-9N; Thu, 15 Sep 2016 14:48:49 -0400 Date: Thu, 15 Sep 2016 21:48:45 +0300 Message-Id: <83vaxx578y.fsf@gnu.org> From: Eli Zaretskii To: Laimonas =?utf-8?Q?V=C4=97bra?= In-reply-to: <57DAE035.6070909@yahoo.com> (message from Laimonas =?utf-8?Q?V=C4=97bra?= on Thu, 15 Sep 2016 20:53:57 +0300) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch 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> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > From: Laimonas Vėbra > 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 16:10:58 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 20:10:58 +0000 Received: from localhost ([127.0.0.1]:60782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkczq-0007Tg-1c for submit@debbugs.gnu.org; Thu, 15 Sep 2016 16:10:58 -0400 Received: from nm10-vm5.bullet.mail.ne1.yahoo.com ([98.138.91.232]:52281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkczo-0007TS-LP for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 16:10:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473970250; bh=S2rN36O/kBuaLAEqwD/9gVmCtino1tejZNILdH5a7H0=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=ehVHDY4GNui2HjVIeSo6D66lCviPXNx0gatmxbIcyPuTKRt/CkMxivsUVVDGRF+w3pO3DH/g6aUjUv22OfP0TbDc/A0/tWKc2BrWYJ8gre0yCotRi1+kEgl5hzj8gRIpXRpa2/iT3ekzkkGlEoOjcAzm+EhLu2ptEamVbI64RFKxZDTNnWyifnQrwIncAHu1f1p5xeEM9GWxjsQCJb97gQiiBSxRi5Na7IymFvolOtxOEIDtcU/Ti7kNV6rC0J9CaVVynes6rPLE9hnVFK8g9Y/EVhhLJqLMoll12MNXZP49H9nx2cTCB8+vrD4hsHRTfbepWUzb5CGNX59qlDGVNw== Received: from [98.138.226.180] by nm10.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 20:10:50 -0000 Received: from [98.138.84.38] by tm15.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 20:10:50 -0000 Received: from [127.0.0.1] by smtp106.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 20:10:50 -0000 X-Yahoo-Newman-Id: 548444.67877.bm@smtp106.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: nubCTgcVM1kBExfAvwiug9ZSKWoUAVB77odjx03GziSOlo3 WMz0OGvy8qGNpq_iAt_vrsBFJzq.W3GNmV8ubz_9dRURT46G09219Zi.LY.k SZrjRabhdx8vm11AHrY92fFezz7aHDjN2g5EEWeCTk1t08SrfxBTE4DOsYEQ ZVgbbkwxZZF_y9El..B7gU.zA5qirKG3vqT3.upcZiCSy8lmFUSNOhtu1IqM phJEF_6PrlHbzeBa8ZO1RSsfgAFa2YM7g.4kXQCHvJemA.M5AS364SSAdIAE DPZuwH5tUUEGR_DRix_rmaA1wnAaws3zvuYNdjflsuTdL3tDw6n4Vy6Zzyco f3xpSCqEto3INNl7M7Icei1Nvg3DCvYgkgheUm1FKk2lNAjdMxqxjhaNw9Os 87NR0fg337Yg0f0ty7B5mD_.Uyb.EAJ6zmsUn_0vvIQHbPp2Jfi2OahbCS1K OrGfsotCprvjIgTjiEPWo.r4obeBxqkX6tP0ZP300s8El_tJJFqR4F3df9_b LJsrK7qAhMH8N8MzKuNGZu29bV3J3wH2li0XesuQcUbMG08PkXOFtnRpNxR6 YxnSD X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: Eli Zaretskii 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> From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Message-ID: <57DB0049.5030409@yahoo.com> Date: Thu, 15 Sep 2016 23:10:49 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <83vaxx578y.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii wrote: > 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)? I can't find one (ispell win32) and i guess it is not trivial to build. And now i'd like to ask you why i don't see ispell in ezwinports...? :-) Anyway, i use cygwin (a lot of it), but prefer native Emacs. Hunspell works with myspell dictionaries, right? (then maybe it is the best solution to my cygwin ispell problem). > Can you propose a patch and test it in your setup? Or would you like > me to propose a patch for you to test? Ok, i'll try. But i'm going to propose two patches; one as you proposed and another, where dictionaries would be looked up in this order: * -d if it's absolute path; * ispell-library-directory; * custom directory (say defcustom ispell-local-library-directory). > 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 cygwin ispell reports its LIBDIR as '/usr/local/lib'. Even some old win32 build(s), i once had, had LIBDIR pointing to '/usr/lib' and dictionaries should have been be placed in C:\usr\lib... :-) > manual configuration would be a step in the wrong direction, IMO. IMO its the same kind of manual configuration as to manually specify dictionaries with -d (absolute path). `ispell-local-library-directory' would be transparent to user (won't require any configuration/consideration if he doesn't use it). From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 16:57:16 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 20:57:16 +0000 Received: from localhost ([127.0.0.1]:60798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkdid-00006e-V6 for submit@debbugs.gnu.org; Thu, 15 Sep 2016 16:57:16 -0400 Received: from limerock01.mail.cornell.edu ([128.84.13.241]:58826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkdic-00006Q-An for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 16:57:14 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u8FKv64c006017; Thu, 15 Sep 2016 16:57:06 -0400 Received: from [10.128.147.174] (dhcp-gs-5038.eduroam.cornell.edu [10.128.147.174]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u8FKv5IW010000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 15 Sep 2016 16:57:05 -0400 Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: =?UTF-8?Q?Laimonas_V=c4=97bra?= , Eli Zaretskii 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> From: Ken Brown Message-ID: <926c221b-4fc0-75c6-5347-834f392248d7@cornell.edu> Date: Thu, 15 Sep 2016 16:57:08 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <57DB0049.5030409@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) On 9/15/2016 4:10 PM, Laimonas Vėbra wrote: > cygwin ispell reports its LIBDIR as '/usr/local/lib'. Even some old > win32 build(s), i once had, had LIBDIR pointing to '/usr/lib' and > dictionaries should have been be placed in C:\usr\lib... :-) You must be using an old version of Cygwin ispell. In current Cygwin, ispell is a wrapper around aspell, and the dictionaries are in /usr/lib/aspell-0.60. Ken From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 17:20:53 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 21:20:53 +0000 Received: from localhost ([127.0.0.1]:60810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bke5V-0000g4-56 for submit@debbugs.gnu.org; Thu, 15 Sep 2016 17:20:53 -0400 Received: from nm13-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.173]:40072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bke5S-0000fn-FQ for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 17:20:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473974443; bh=Axo9sIm9COnPChLP4kUmc3/WIDXyBph4if2LVgsMQP8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=pR+r83/rYwmvxQTgo+SeEllraDeQPSZ+bKUoGM+7/K3zih9gk30Iqt+T4cDC0dsRTV0jEsuifyGtFAf0NXyFugWPQyeNiZj+hIov7kwGSCv+u+9E9gmPQFa6C/EwNHtXBvPl41Yl1loidZHecDOrqt/SgvL+APR9O9dDsGL/tXlVDXlFhPinsSuURA9bk0bRQ4kN3mBHhjy6TZcUZBKgc0mXy5l3VRL2JrAso5MzXlFR8pdIFqRy04yexjJIvn4AvMKRLT4s2WfCOy5qKT59QCdP21kYXlVvSL9u7F2Bh16sU+qbHUV5iSXTHKe8y1wj10TErWixzvGucYoFtk8U9w== Received: from [98.138.100.118] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 21:20:43 -0000 Received: from [98.138.104.115] by tm109.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 21:20:43 -0000 Received: from [127.0.0.1] by smtp224.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 21:20:43 -0000 X-Yahoo-Newman-Id: 550981.28064.bm@smtp224.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: JrtOYoEVM1lG.8iCq7U54gcEm0rPvP48vSuZgWp9WjRPNX_ _Uol3kAtloLvg4ElKdHJzi7JNXe2YNLBl5KnPxjGxdG0kJB5ZtXkLIs5VuYH 1L6BpXR6EXXp5Rjg1ePKUaEq5mbAhLC.G4kJf2wi.scavnzAldHQUtDatKoH 7o1Rm2ER1oRyQjcXd1wJkApQLg4SJexsEh6ZHlctCOnhnW6T_GLkbnax9Yif vpm4cs929sqBgMRKWyCZFvHpzUBKYM5jFZD9TO3E35DTB7AsvTfO5YGmHIt. OqmEM2OGlaE7UazxDibo7fb2UTKRW.ZNzbM9gHaFl3vct3aVYKal7ARjtdje GurrASJ0maY8p62VP4wsUMr3BAKWMxQNsgQHa4w.F_N3FihNIheTwS9XRNwm Nw5eVIlakzq3jzwdb4QfGPe76wEvNDz_uwidKeXIpW3FJnIQyWst1hSmQ1no KCoJXpOtyPIr6FtF1JV6Q0JODNJ6xjMtAlPny7LaBNAI6eP5qwLhcWhM7NWH x5nu7pl6Qw5A41nipFuv9wfk0i01gbUrGnnh_MFResIS9QoxUjkkEC0mn5Zd VaKx7 X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: Ken Brown , Eli Zaretskii 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> From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Message-ID: <57DB10A9.7090402@yahoo.com> Date: Fri, 16 Sep 2016 00:20:41 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <926c221b-4fc0-75c6-5347-834f392248d7@cornell.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.2 (--) Ken Brown wrote: > You must be using an old version of Cygwin ispell. In current Cygwin, > ispell is a wrapper around aspell, and the dictionaries are in > /usr/lib/aspell-0.60. Actually it's a cygwin build of ispell, because cygwin does not provide ispell package. Anyway, wrapper (shell script) obviously doesn't work from native command line, so native Emacs can't use it. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 18:17:53 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 22:17:53 +0000 Received: from localhost ([127.0.0.1]:60840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkeyf-00023W-4S for submit@debbugs.gnu.org; Thu, 15 Sep 2016 18:17:53 -0400 Received: from limerock02.mail.cornell.edu ([128.84.13.242]:55828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkeye-00023K-7K for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 18:17:52 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u8FMHjEL023628; Thu, 15 Sep 2016 18:17:45 -0400 Received: from [192.168.1.5] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u8FMHiRJ012475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 15 Sep 2016 18:17:44 -0400 Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: =?UTF-8?Q?Laimonas_V=c4=97bra?= , Eli Zaretskii 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> From: Ken Brown Message-ID: Date: Thu, 15 Sep 2016 18:17:43 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <57DB10A9.7090402@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) On 9/15/2016 5:20 PM, Laimonas Vėbra wrote: > Ken Brown wrote: > >> You must be using an old version of Cygwin ispell. In current Cygwin, >> ispell is a wrapper around aspell, and the dictionaries are in >> /usr/lib/aspell-0.60. > > Actually it's a cygwin build of ispell, because cygwin does not provide > ispell package. 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. Ken From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 19:00:54 2016 Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 23:00:55 +0000 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 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== Received: from [98.138.100.102] by nm21.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 23:00:47 -0000 Received: from [98.138.84.43] by tm101.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 23:00:47 -0000 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 Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: Ken Brown , Eli Zaretskii 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> From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Message-ID: <57DB281E.6010702@yahoo.com> Date: Fri, 16 Sep 2016 02:00:46 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.2 (--) 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... :-) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 21:35:24 2016 Received: (at 24439) by debbugs.gnu.org; 16 Sep 2016 01:35:24 +0000 Received: from localhost ([127.0.0.1]:60895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bki3n-0000H6-Vf for submit@debbugs.gnu.org; Thu, 15 Sep 2016 21:35:24 -0400 Received: from nm29-vm6.bullet.mail.ne1.yahoo.com ([98.138.91.122]:44271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bki3l-0000Gq-Um for 24439@debbugs.gnu.org; Thu, 15 Sep 2016 21:35:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1473989715; bh=JFbvYSiDxoxmfsBKKD8JHZDRt0/h8Ok92fN84vRfmg8=; h=To:References:Subject:From:Date:From:Subject; b=PDKjNXsZhHLjwGIylZ0jKAzn/Zp+sM8I3hAK8qP3wzjwl9Uz8aU4YUE+1YxDnHCvBSxkcRYtdR4M4YBiIyHIopeK6AyrfGlTTU3lj+5SiKrzy4d26Xna2QhthZuYYOovHN6mtEB8eGmmQvqlSQ1HfoDZeINYOQwVal4M9xpE6yA9bGzix1iN0ntl+23zntoSxMqck4lOZmmxnFqFIcqJepjb9tDfaL37NcEKZa6LpD6U7TaG5s4K2J+ihEUJDc1eak2zCnExwCHr/bcRn2fRjQRszgtaLZrYORX64jSHSwf4+LJLDgEriJa/zB3rQqloC0sDK2mn8hItJuC4AylZCA== Received: from [98.138.101.129] by nm29.bullet.mail.ne1.yahoo.com with NNFMP; 16 Sep 2016 01:35:15 -0000 Received: from [98.138.226.128] by tm17.bullet.mail.ne1.yahoo.com with NNFMP; 16 Sep 2016 01:35:15 -0000 Received: from [127.0.0.1] by smtp215.mail.ne1.yahoo.com with NNFMP; 16 Sep 2016 01:35:15 -0000 X-Yahoo-Newman-Id: 667483.40044.bm@smtp215.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: rRuJhVkVM1nwrwDmEQ5FS6ajOMVLdMJXY4sBwHYX99iV5mC 2an2UxZcvcOoYcBb6Y7SrcZa9uZUmLZ0RJIVqIJ25E.1ttiuppQYfMKGgy_P a5ro7JVcr696Fmw64li3wdAOSwfQ2paAZ6wasl1sx1t0nlAniUcS0LuGDWW1 k3Vr7qe8K.0..JajXWZiO_r2ebXHK_SGYtTv38M4uQCacz88owSNIQ21GVgm 7aUx.kGw053p1Vq3.Rl8NNNbrXA5ESuUP2PhzYiU05COu6ZfB59VD_w1HbnQ V1Ybu8McYs8rnwVNc3U.GHkT7waD7AGEvHIEDi_B07k0xkkxM9KeJax_Vfn3 jgN.dIpaXsw._t6lc9tuALeBnDn5bVwqNePJ6GxHPEO9z1wnXZtgvX_RVqo_ j6zvpreBjNmGWV90f3iWoiEBxWJHwMGBRnYnCYX9brxMVPYnmwwnbxnXM0SN 8KIvXlZnij71cTH3wG.bClAg44G3bFUGzU9gmqNCphtq.OssxsMyX2LmkY0z tj5SVMvX5s99o39EB_bO3H.zOwF4yG_tlo1rhiJHze051ydP_14lJVp3KErd gj6y7 X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h To: 24439@debbugs.gnu.org References: Subject: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Message-ID: <57DB4C52.1050307@yahoo.com> Date: Fri, 16 Sep 2016 04:35:14 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 24439 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Me wrote: > LIBDIR can't be set (without patching source code) to native Windows > path because then it won't find dictionaries either (even from > cygwin). Sorry, that is not true (mistakenly thought, that fopen won't work with windows paths). Then i should really rebuild ispell with LIBDIR set to native path and it will work with Emacs. Though ispell.el problem (dictionaries with absolute path (-d) are omitted by `ispell-valid-dictionary-alist') still exists and needs to be fixed (i'll do my best). From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 16 02:25:03 2016 Received: (at 24439) by debbugs.gnu.org; 16 Sep 2016 06:25:03 +0000 Received: from localhost ([127.0.0.1]:60948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkma7-0007Uh-Du for submit@debbugs.gnu.org; Fri, 16 Sep 2016 02:25:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkma5-0007U3-G4 for 24439@debbugs.gnu.org; Fri, 16 Sep 2016 02:25:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkmZw-0000rL-0c for 24439@debbugs.gnu.org; Fri, 16 Sep 2016 02:24:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmZv-0000r7-T9; Fri, 16 Sep 2016 02:24:51 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3561 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkmZu-0002Zl-45; Fri, 16 Sep 2016 02:24:50 -0400 Date: Fri, 16 Sep 2016 09:25:02 +0300 Message-Id: <83oa3o5pkx.fsf@gnu.org> From: Eli Zaretskii To: Laimonas =?utf-8?Q?V=C4=97bra?= In-reply-to: <57DB0049.5030409@yahoo.com> (message from Laimonas =?utf-8?Q?V=C4=97bra?= on Thu, 15 Sep 2016 23:10:49 +0300) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch 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> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > Cc: 24439@debbugs.gnu.org > From: Laimonas Vėbra > Date: Thu, 15 Sep 2016 23:10:49 +0300 > > Eli Zaretskii wrote: > > > 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)? > > I can't find one (ispell win32) and i guess it is not trivial to build. I was building it and using it for years, before I switched to Hunspell. It isn't hard, certainly not harder than any other package with Posix configury. > And now i'd like to ask you why i don't see ispell in ezwinports...? :-) Because I switched to Hunspell before I started the site. I never saw anyone who'd request a ported ispell, but I still have the zip files and can upload one if there's a demand. > Hunspell works with myspell dictionaries, right? Yes. And as most Posix distributions switched to Aspell and Hunspell, it is much easier to find libraries for Hunspell than for Ispell. Some languages cannot even have an Ispell dictionary in principle, because they use linguistic features Ispell doesn't support. > > Can you propose a patch and test it in your setup? Or would you like > > me to propose a patch for you to test? > > Ok, i'll try. But i'm going to propose two patches; one as you proposed > and another, where dictionaries would be looked up in this order: > * -d if it's absolute path; > * ispell-library-directory; > * custom directory (say defcustom ispell-local-library-directory). Fine with me, thanks. > > manual configuration would be a step in the wrong direction, IMO. > > IMO its the same kind of manual configuration as to manually specify > dictionaries with -d (absolute path). Yes, but that one already exists (and probably always will be). From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 16 02:44:29 2016 Received: (at 24439) by debbugs.gnu.org; 16 Sep 2016 06:44:29 +0000 Received: from localhost ([127.0.0.1]:60957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkmsv-0007y7-Fj for submit@debbugs.gnu.org; Fri, 16 Sep 2016 02:44:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkmst-0007xq-G1 for 24439@debbugs.gnu.org; Fri, 16 Sep 2016 02:44:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkmsl-0001nC-5p for 24439@debbugs.gnu.org; Fri, 16 Sep 2016 02:44:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmsl-0001n8-3S; Fri, 16 Sep 2016 02:44:19 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3576 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkmsk-00020i-HF; Fri, 16 Sep 2016 02:44:18 -0400 Date: Fri, 16 Sep 2016 09:44:30 +0300 Message-Id: <83h99g5ooh.fsf@gnu.org> From: Eli Zaretskii To: Laimonas =?utf-8?Q?V=C4=97bra?= In-reply-to: <57DB4C52.1050307@yahoo.com> (message from Laimonas =?utf-8?Q?V=C4=97bra?= on Fri, 16 Sep 2016 04:35:14 +0300) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch References: <57DB4C52.1050307@yahoo.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > From: Laimonas Vėbra > Date: Fri, 16 Sep 2016 04:35:14 +0300 > > Me wrote: > > LIBDIR can't be set (without patching source code) to native Windows > > path because then it won't find dictionaries either (even from > > cygwin). > > Sorry, that is not true (mistakenly thought, that fopen won't work with > windows paths). Then i should really rebuild ispell with LIBDIR set to > native path and it will work with Emacs. I think you don't even need that. You need to set ISPELL_DICTDIR in the environment to point to that directory. (The reason I didn't suggest this earlier is that I didn't know Cygwin can fopen Windows-style absolute file names.) From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 16 02:46:15 2016 Received: (at 24439) by debbugs.gnu.org; 16 Sep 2016 06:46:15 +0000 Received: from localhost ([127.0.0.1]:60961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkmuc-00081S-R0 for submit@debbugs.gnu.org; Fri, 16 Sep 2016 02:46:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkmub-00081G-NP for 24439@debbugs.gnu.org; Fri, 16 Sep 2016 02:46:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkmuT-0002Gl-BE for 24439@debbugs.gnu.org; Fri, 16 Sep 2016 02:46:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmuT-0002Gg-8d; Fri, 16 Sep 2016 02:46:05 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3578 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkmuS-0002El-7C; Fri, 16 Sep 2016 02:46:04 -0400 Date: Fri, 16 Sep 2016 09:46:15 +0300 Message-Id: <83fup05olk.fsf@gnu.org> From: Eli Zaretskii To: Ken Brown In-reply-to: (message from Ken Brown on Thu, 15 Sep 2016 18:17:43 -0400) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch 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> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org, laimonas.vebra@yahoo.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > Cc: 24439@debbugs.gnu.org > From: Ken Brown > Date: Thu, 15 Sep 2016 18:17:43 -0400 > > > Actually it's a cygwin build of ispell, because cygwin does not provide > > ispell package. > > 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. That is true, but OP's problem is that /usr/local/lib is not a native Windows file name, so a native Windows build of Emacs doesn't understand it, and will convert it to X:/usr/local/lib, for some value of X. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 24 13:47:24 2016 Received: (at 24439) by debbugs.gnu.org; 24 Sep 2016 17:47:24 +0000 Received: from localhost ([127.0.0.1]:34720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnr2p-0006lV-Mj for submit@debbugs.gnu.org; Sat, 24 Sep 2016 13:47:24 -0400 Received: from nm4-vm6.bullet.mail.ne1.yahoo.com ([98.138.91.97]:40527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnr2o-0006lG-9d for 24439@debbugs.gnu.org; Sat, 24 Sep 2016 13:47:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1474739236; bh=JR4YQyzkOPONLtYrO2DiZ9PSlhMN3JC4766oHV8iM5E=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=SgtXFED1L/M7IMzPw6Z5d1vcPLMIXq1KxGoXxDJwuXs0Qk4jNPuQ6kbDqZIDixtHuLHwREtw2T1ntgPOSE+0EMDmZrpCsCv8ujVgymv1BAiEUKjBdOYVAqiTVN9KMECU1bYwpcOiAGwW+BhnE6m+eAJVFFe+YXgXoXfS0ZVVgvcOvZhRDkvPw8qzjJFExJ0m0aNlH/jrg2E9lD8a9A3Jr3LjasXvSRTmq6iaVrfqqlF+Ys9wilOPMqHD8RnxhxQx2UpXZ+++55uTvMC6rcwJs1WaszqgD+ReddOytX4iWLcGgooa2ac0ZUTRWa338Tx3ls5U1R5VpAKnVny6zmT3nA== Received: from [98.138.100.114] by nm4.bullet.mail.ne1.yahoo.com with NNFMP; 24 Sep 2016 17:47:16 -0000 Received: from [98.138.226.58] by tm105.bullet.mail.ne1.yahoo.com with NNFMP; 24 Sep 2016 17:47:16 -0000 Received: from [127.0.0.1] by smtp209.mail.ne1.yahoo.com with NNFMP; 24 Sep 2016 17:47:16 -0000 X-Yahoo-Newman-Id: 543886.98428.bm@smtp209.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: GKw6M94VM1lMQ3fdJ9Mzk5OYRLHyfXbMAk3HvYLqway24yx Zn1gugNlOWZXsltWFm8hyjs4IKl5wQx45Yt3wwa.EdafQUCpIfpzFUErJH1O eG_47KOb9asMwCkBIECksPigPnZgvTZ9yn_K3TML5h9.TCLuVkBbBpJWAYnl aYC_MYY0To0nyCDw4HiIKA0FQ37hZiH.jOS6q5XCqzdbJ91v72Y.z4XPqcjY OeMylIqkVjhlFX3L4jfgEEcMoKgX53efP9KroH.BkaQ05YjWrMrYNpcMrhUj k9OA3YlrxhvJG3gW9IGnnr5qseIgwrzJ8HBrAb27hTuzbV35vdxnoh_5vvel VARl455M9.MU5dEp_K39b5yFHY6JIrWyDCZ80tyoYNAoTZTBYcKIQW.S0M5R xFiXujyQWr3ZbAecfNyzgKUzb4V7bIUDO1tulCRRMKdIrnY59vo.sbgc7eSL TwpQVRfVbt6rwNbQ4OhVxVzR0wVnVBeYtGmbWyLYTudYfHCWxt.YZmr4Pnwc MSwRb_JMVGci5WjZA3etR3WFmZr2NzCqsKB_aCx2zJU6AcVKFMBU6GdjDJd. sCALL X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: Eli Zaretskii References: <57DB4C52.1050307@yahoo.com> <83h99g5ooh.fsf@gnu.org> From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Message-ID: <57E6BC23.7000503@yahoo.com> Date: Sat, 24 Sep 2016 20:47:15 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <83h99g5ooh.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------080504070308030602030201" X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.1 (---) This is a multi-part message in MIME format. --------------080504070308030602030201 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Eli Zaretskii wrote: >> Sorry, that is not true (mistakenly thought, that fopen won't work with >> windows paths). Then i should really rebuild ispell with LIBDIR set to >> native path and it will work with Emacs. > > I think you don't even need that. You need to set ISPELL_DICTDIR in > the environment to point to that directory. > > (The reason I didn't suggest this earlier is that I didn't know Cygwin > can fopen Windows-style absolute file names.) Actually that won't work with current ispell.el, because LIBRARYVAR is completely ignored and dictionaries searched only in LIBDIR (though it can be overridden by LIBRARYVAR). Fixed this and other (-d with an absolute path) issues in attached patch. Below is a explanatory test: (require 'ispell) ispell ;; cygwin ispell reports its LIBDIR as (ispell-check-version) "/usr/local/lib" ;; and it's not a correct/existing windows path (file-exists-p "/usr/local/lib") nil (shell-command-to-string "cygpath -w /usr/local/lib") "C:\\cygwin64\\usr\\local\\lib " ;; so ispell.el still can not see valid/installed dictionaries (shell-command-to-string "ls -l /usr/local/lib") "total 1126 lrwxrwxrwx 1 Admin None 16 Jul 29 01:38 american.hash -> americanmed.hash -rw-r--r-- 1 Admin None 1125408 Jul 29 01:38 americanmed.hash -rw-r--r-- 1 Admin None 24095 Jul 29 01:38 english.aff lrwxrwxrwx 1 Admin None 16 Jul 29 01:38 english.hash -> americanmed.hash " (ispell-valid-dictionary-list) ("default") ;; Though now we can add dictionaries explicitly (-d with an absolute path) ispell-local-dictionary-alist nil (add-to-list 'ispell-local-dictionary-alist '("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) (("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) (add-to-list 'ispell-local-dictionary-alist '("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/english.hash") nil iso-8859-1)) (("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/english.hash") nil iso-8859-1) ("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) (ispell-valid-dictionary-list) ("american" "english" "default") ;; or we can set ispell LIBRARYVAR (default: ISPELL_DICTDIR) environment variable (setq ispell-local-dictionary-alist nil) nil (ispell-valid-dictionary-list) ("default") (setenv "ISPELL_DICTDIR" "c:/cygwin64/usr/local/lib") "c:/cygwin64/usr/local/lib" (setq ispell-library-directory (ispell-check-version)) "c:/cygwin64/usr/local/lib" (ispell-valid-dictionary-list) ("english" "american" "default") --------------080504070308030602030201 Content-Type: text/plain; charset=UTF-8; name="ispell.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ispell.patch" LS0tIGxpc3AvdGV4dG1vZGVzL2lzcGVsbC5lbC5vcmlnCTIwMTUtMDQtMDIgMTA6MjM6MDYu MDAwMDAwMDAwICswMzAwCisrKyBsaXNwL3RleHRtb2Rlcy9pc3BlbGwuZWwJMjAxNi0wOS0y NCAxNzo1ODoyMS42Mzc4NDExMDAgKzAzMDAKQEAgLTg0OCw3ICs4NDgsMTIgQEAKICAgKGxl dCAoKGRlZmF1bHQtZGlyZWN0b3J5IChvciAoYW5kIChib3VuZHAgJ3RlbXBvcmFyeS1maWxl LWRpcmVjdG9yeSkKIAkJCQkgICAgdGVtcG9yYXJ5LWZpbGUtZGlyZWN0b3J5KQogCQkJICAg ICAgIGRlZmF1bHQtZGlyZWN0b3J5KSkKLQlyZXN1bHQgc3RhdHVzIGlzcGVsbC1wcm9ncmFt LXZlcnNpb24pCisJKGdldC1jb25maWctdmFyCisJIChsYW1iZGEgKHZhcikKKwkgICAod2hl biAocmUtc2VhcmNoLWZvcndhcmQKKwkJICAoY29uY2F0IHZhciAiID0gXFxcIlxcKC4rP1xc KVxcXCIiKSBuaWwgdCkKKwkgICAgIChtYXRjaC1zdHJpbmcgMSkpKSkKKwlyZXN1bHQgbGli dmFyIHN0YXR1cyBpc3BlbGwtcHJvZ3JhbS12ZXJzaW9uKQogCiAgICAgKHdpdGgtdGVtcC1i dWZmZXIKICAgICAgIChzZXRxIHN0YXR1cyAoaXNwZWxsLWNhbGwtcHJvY2VzcwpAQCAtODcw LDkgKzg3NSwxMyBAQAogCQkJCSAiLCAiCiAJCQkJIGlzcGVsbC12ZXJzaW9uKSkKIAkgICAg KG1lc3NhZ2UgIiVzIiByZXN1bHQpKQotCTs7IHJldHVybiBsaWJyYXJ5IGRpcmVjdG9yeS4K LQkoaWYgKHJlLXNlYXJjaC1mb3J3YXJkICJMSUJESVIgPSBcXFwiXFwoW14gXHRcbl0qXFwp XFxcIiIgbmlsIHQpCi0JICAgIChzZXRxIHJlc3VsdCAobWF0Y2gtc3RyaW5nIDEpKSkpCisJ OzsgcmV0dXJuIExJQkRJUiBvciBMSUJSQVJZVkFSIChvdmVycmlkZXMgTElCRElSKSBlbnYu CisJKHByb2duCisJICAoc2V0cSByZXN1bHQgKGZ1bmNhbGwgZ2V0LWNvbmZpZy12YXIgIkxJ QkRJUiIpCisJCWxpYnZhciAoZnVuY2FsbCBnZXQtY29uZmlnLXZhciAiTElCUkFSWVZBUiIp KQorCSAgKHdoZW4gbGlidmFyCisJICAgIChzZXRxIGxpYnZhciAoZ2V0ZW52IGxpYnZhcikp CisJICAgICh1bmxlc3MgKG1lbWJlciBsaWJ2YXIgJyhuaWwgIiIpKSAoc2V0cSByZXN1bHQg bGlidmFyKSkpKSkKICAgICAgIChnb3RvLWNoYXIgKHBvaW50LW1pbikpCiAgICAgICAoaWYg KG5vdCAobWVtcSBzdGF0dXMgJygwIG5pbCkpKQogCSAgKGVycm9yICIlcyBleGl0ZWQgd2l0 aCAlcyAlcyIgaXNwZWxsLXByb2dyYW0tbmFtZQpAQCAtMTQ2MywyMyArMTQ3MiwyOSBAQAog CiAgIChsZXQgKChkaWN0cyAoYXBwZW5kIGlzcGVsbC1sb2NhbC1kaWN0aW9uYXJ5LWFsaXN0 IGlzcGVsbC1kaWN0aW9uYXJ5LWFsaXN0KSkKIAkoZGljdC1saXN0IChjb25zICJkZWZhdWx0 IiBuaWwpKQotCW5hbWUgZGljdC1ibmFtZSkKKwkoZGljdC1sb2NhdGUKKwkgKGxhbWJkYSAo ZGljdCAmb3B0aW9uYWwgZGlyKQorCSAgIChsb2NhdGUtZmlsZSAoZmlsZS1uYW1lLW5vbmRp cmVjdG9yeSBkaWN0KQorCQkJYCgsKG9yIGRpciAoZmlsZS1uYW1lLWRpcmVjdG9yeSBkaWN0 KSkpCisJCQkodW5sZXNzIChmaWxlLW5hbWUtZXh0ZW5zaW9uIGRpY3QpICcoIi5oYXNoIiAi LmhhcyIpKSkpKQorCW5hbWUgZGljdC1leHBsdCBkaWN0LWJuYW1lKQogICAgIChkb2xpc3Qg KGRpY3QgZGljdHMpCiAgICAgICAoc2V0cSBuYW1lIChjYXIgZGljdCkKLQkgICAgZGljdC1i bmFtZSAob3IgKGNhciAoY2RyIChtZW1iZXIgIi1kIiAobnRoIDUgZGljdCkpKSkKLQkJCSAg IG5hbWUpKQotICAgICAgOzsgSW5jbHVkZSBpZiB0aGUgZGljdGlvbmFyeSBpcyBpbiB0aGUg bGlicmFyeSwgb3IgZGlyIG5vdCBkZWZpbmVkLgotICAgICAgKGlmIChhbmQKLQkgICBuYW1l Ci0JICAgOzsgRm9yIEFzcGVsbCwgd2UgYWxyZWFkeSBrbm93IHdoaWNoIGRpY3Rpb25hcmll cyBleGlzdC4KLQkgICAob3IgaXNwZWxsLXJlYWxseS1hc3BlbGwKLQkgICAgICAgOzsgSW5j bHVkZSBhbGwgZGljdGlvbmFyaWVzIGlmIGxpYiBkaXJlY3Rvcnkgbm90IGtub3duLgotCSAg ICAgICA7OyBTYW1lIGZvciBIdW5zcGVsbCwgd2hlcmUgaXNwZWxsLWxpYnJhcnktZGlyZWN0 b3J5IGlzIG5pbC4KLQkgICAgICAgKG5vdCBpc3BlbGwtbGlicmFyeS1kaXJlY3RvcnkpCi0J ICAgICAgIChmaWxlLWV4aXN0cy1wIChjb25jYXQgaXNwZWxsLWxpYnJhcnktZGlyZWN0b3J5 Ci0JCQkJICAgICAgIi8iIGRpY3QtYm5hbWUgIi5oYXNoIikpCi0JICAgICAgIChmaWxlLWV4 aXN0cy1wIChjb25jYXQgaXNwZWxsLWxpYnJhcnktZGlyZWN0b3J5Ci0JCQkJICAgICAgIi8i IGRpY3QtYm5hbWUgIi5oYXMiKSkpKQorCSAgICA7OyBFeHBsaWNpdGx5ICh2aWEgaXNwZWxs LWFyZ3MpIHNwZWNpZmllZCBkaWN0aW9uYXJ5LgorCSAgICBkaWN0LWV4cGx0IChjYXIgKGNk ciAobWVtYmVyICItZCIgKG50aCA1IGRpY3QpKSkpCisJICAgIGRpY3QtYm5hbWUgKG9yIGRp Y3QtZXhwbHQgbmFtZSkpCisgICAgICAoaWYgKGFuZCBuYW1lCisJICAgICAgIChvcgorCQk7 OyBJbmNsdWRlIGFsbCBmb3IgQXNwZWxsICh3ZSBhbHJlYWR5IGtub3cgZXhpc3RpbmcgZGlj dHMpCisJCWlzcGVsbC1yZWFsbHktYXNwZWxsCisJCTs7IEluY2x1ZGUgYWxsIGlmIGBpc3Bl bGwtbGlicmFyeS1kaXJlY3RvcnknIGlzIG5pbCAoSHVuc3BlbGwpCisJCShub3QgaXNwZWxs LWxpYnJhcnktZGlyZWN0b3J5KQorCQk7OyBJZiBleHBsaWNpdCAoLWQgd2l0aCBhbiBhYnNv bHV0ZSBwYXRoKSBhbmQgZXhpc3RpbmcgZGljdC4KKwkJKGFuZCBkaWN0LWV4cGx0CisJCSAg ICAgKGZpbGUtbmFtZS1hYnNvbHV0ZS1wIGRpY3QtZXhwbHQpCisJCSAgICAgKGZ1bmNhbGwg ZGljdC1sb2NhdGUgZGljdC1leHBsdCkpCisJCTs7IElmIGRpY3QgbG9jYXRlZCBpbiBgaXNw ZWxsLWxpYnJhcnktZGlyZWN0b3J5Jy4KKwkJKGZ1bmNhbGwgZGljdC1sb2NhdGUgZGljdC1i bmFtZSBpc3BlbGwtbGlicmFyeS1kaXJlY3RvcnkpKSkKIAkgIChwdXNoIG5hbWUgZGljdC1s aXN0KSkpCiAgICAgZGljdC1saXN0KSkKIAo= --------------080504070308030602030201-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 06:33:18 2016 Received: (at 24439) by debbugs.gnu.org; 6 Oct 2016 10:33:18 +0000 Received: from localhost ([127.0.0.1]:46249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bs5zK-0003ZB-DW for submit@debbugs.gnu.org; Thu, 06 Oct 2016 06:33:18 -0400 Received: from nm11.bullet.mail.ne1.yahoo.com ([98.138.90.74]:60634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bs5zH-0003Yu-M1 for 24439@debbugs.gnu.org; Thu, 06 Oct 2016 06:33:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1475749989; bh=HN89TT3MrvExDpbZq9Pjp9VXS5pfhoZfu35AU5/yzbU=; h=From:Subject:To:Cc:References:Date:In-Reply-To:From:Subject; b=UOIx4R09Azx1E2WJckCGaQ0EWNuKRWVGTDRXD1w41Ss1G4Tduh9Ofk9W/Vjru9CFUsQ7y072zwS/qU5VTSNyavATfvZuGDn2rdoAm3Q4jkzWdReRSjaLNBt3dl1wCzvw+UFjrV+0HahYxuhDeAmzE/yu+JUKYsgJonzGOv4/V81DQAIQW8FCfSMdtqoCH7Q76hCWUdCi/fFIGI3CvTP3R07MnUiUkkAOLn8AZgMRh65B019k7ex9WuoQDZQ/Rg4/Sk/puPf/WXFr261sN3BQGOqm1zvIPrzh12OjKSBJkvDkXOGzt12i1i/yk6uEvCwcHEk1V+/mnQahigy41tq4vQ== Received: from [98.138.226.180] by nm11.bullet.mail.ne1.yahoo.com with NNFMP; 06 Oct 2016 10:33:09 -0000 Received: from [98.138.226.56] by tm15.bullet.mail.ne1.yahoo.com with NNFMP; 06 Oct 2016 10:33:09 -0000 Received: from [127.0.0.1] by smtp207.mail.ne1.yahoo.com with NNFMP; 06 Oct 2016 10:33:09 -0000 X-Yahoo-Newman-Id: 172025.59030.bm@smtp207.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: iicIGV4VM1keovN9kiKic4GWxMIbiqJvWPc1v1GhjFKuzEk WShitXkV7mStao8_d7aDTtTHhvJpeVcdMxZND2NPeFDN3Ds3XW_J4cVgSaeB MuyU4eX4XzMj.EsD3Caz6_Y1dz7BJJYD0g3lP69oN040LWerHk3mV2FqPIFD osfoyI7ZNHY.jU7eF__LuMeKJb_HXaaVe.ag_bFWpMxdE5mNXmkQoqHMQJ1Q bShUc2Nytvf4GeQZJ8XG0ZSDVXq3J1WTjQoBYdZnyR2NanCfs.KelA4uRS6X H9PrzVNk1jt.UDng4q9SO0vu3F0Dt.ZTeXjUwXFdhZ4CgjW19DdpTI5FWxrE 6cu7p6pddMNjNs.whZpXqRvjwSoEOJ_8tRmpnjcSd_4ZB7pkBasGAKjS1Mrq MSFUMdYfbnUSrVLaJmhlvOYgaN7gyPcZ3yZA32pISLoemUoItbgAMG1jtTSH vR71FPtIlfFLf339WHcKFMKT2fpnbJdFWV6flcMpZlLkrhQJQ.8gFjqJwcNl TgM1iczAh_kCbdTAyhy16VvpDe69oNShv01RBVHz2vlumPa1FsyiPjWWJLDK d_qwV X-Yahoo-SMTP: _HanV_GswBBF01DkIFVlggE60r.1.Ajy974h From: =?UTF-8?Q?Laimonas_V=c4=97bra?= Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: Eli Zaretskii References: <57DB4C52.1050307@yahoo.com> <83h99g5ooh.fsf@gnu.org> Message-ID: <57F62864.4010609@yahoo.com> Date: Thu, 6 Oct 2016 13:33:08 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <83h99g5ooh.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------020707090400000305070300" X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) This is a multi-part message in MIME format. --------------020707090400000305070300 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Eli Zaretskii wrote: >> Sorry, that is not true (mistakenly thought, that fopen won't work with >> windows paths). Then i should really rebuild ispell with LIBDIR set to >> native path and it will work with Emacs. > > I think you don't even need that. You need to set ISPELL_DICTDIR in > the environment to point to that directory. > > (The reason I didn't suggest this earlier is that I didn't know Cygwin > can fopen Windows-style absolute file names.) Actually that won't work with current ispell.el, because LIBRARYVAR is completely ignored and dictionaries searched only in LIBDIR (though it can be overridden by LIBRARYVAR). Fixed this and other (-d with an absolute path) issues in attached patch. Below is a explanatory test: (require 'ispell) ispell ;; cygwin ispell reports its LIBDIR as (ispell-check-version) "/usr/local/lib" ;; and it's not a correct/existing windows path (file-exists-p "/usr/local/lib") nil (shell-command-to-string "cygpath -w /usr/local/lib") "C:\\cygwin64\\usr\\local\\lib " ;; so ispell.el still can not see valid/installed dictionaries (shell-command-to-string "ls -l /usr/local/lib") "total 1126 lrwxrwxrwx 1 Admin None 16 Jul 29 01:38 american.hash -> americanmed.hash -rw-r--r-- 1 Admin None 1125408 Jul 29 01:38 americanmed.hash -rw-r--r-- 1 Admin None 24095 Jul 29 01:38 english.aff lrwxrwxrwx 1 Admin None 16 Jul 29 01:38 english.hash -> americanmed.hash " (ispell-valid-dictionary-list) ("default") ;; Though now we can add dictionaries explicitly (-d with an absolute path) ispell-local-dictionary-alist nil (add-to-list 'ispell-local-dictionary-alist '("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) (("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) (add-to-list 'ispell-local-dictionary-alist '("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/english.hash") nil iso-8859-1)) (("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/english.hash") nil iso-8859-1) ("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) (ispell-valid-dictionary-list) ("american" "english" "default") ;; or we can set ispell LIBRARYVAR (default: ISPELL_DICTDIR) environment variable (setq ispell-local-dictionary-alist nil) nil (ispell-valid-dictionary-list) ("default") (setenv "ISPELL_DICTDIR" "c:/cygwin64/usr/local/lib") "c:/cygwin64/usr/local/lib" (setq ispell-library-directory (ispell-check-version)) "c:/cygwin64/usr/local/lib" (ispell-valid-dictionary-list) ("english" "american" "default") --------------020707090400000305070300 Content-Type: text/plain; charset=UTF-8; name="ispell.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ispell.patch" LS0tIGxpc3AvdGV4dG1vZGVzL2lzcGVsbC5lbC5vcmlnCTIwMTUtMDQtMDIgMTA6MjM6MDYu MDAwMDAwMDAwICswMzAwCisrKyBsaXNwL3RleHRtb2Rlcy9pc3BlbGwuZWwJMjAxNi0wOS0y NCAxNzo1ODoyMS42Mzc4NDExMDAgKzAzMDAKQEAgLTg0OCw3ICs4NDgsMTIgQEAKICAgKGxl dCAoKGRlZmF1bHQtZGlyZWN0b3J5IChvciAoYW5kIChib3VuZHAgJ3RlbXBvcmFyeS1maWxl LWRpcmVjdG9yeSkKIAkJCQkgICAgdGVtcG9yYXJ5LWZpbGUtZGlyZWN0b3J5KQogCQkJICAg ICAgIGRlZmF1bHQtZGlyZWN0b3J5KSkKLQlyZXN1bHQgc3RhdHVzIGlzcGVsbC1wcm9ncmFt LXZlcnNpb24pCisJKGdldC1jb25maWctdmFyCisJIChsYW1iZGEgKHZhcikKKwkgICAod2hl biAocmUtc2VhcmNoLWZvcndhcmQKKwkJICAoY29uY2F0IHZhciAiID0gXFxcIlxcKC4rP1xc KVxcXCIiKSBuaWwgdCkKKwkgICAgIChtYXRjaC1zdHJpbmcgMSkpKSkKKwlyZXN1bHQgbGli dmFyIHN0YXR1cyBpc3BlbGwtcHJvZ3JhbS12ZXJzaW9uKQogCiAgICAgKHdpdGgtdGVtcC1i dWZmZXIKICAgICAgIChzZXRxIHN0YXR1cyAoaXNwZWxsLWNhbGwtcHJvY2VzcwpAQCAtODcw LDkgKzg3NSwxMyBAQAogCQkJCSAiLCAiCiAJCQkJIGlzcGVsbC12ZXJzaW9uKSkKIAkgICAg KG1lc3NhZ2UgIiVzIiByZXN1bHQpKQotCTs7IHJldHVybiBsaWJyYXJ5IGRpcmVjdG9yeS4K LQkoaWYgKHJlLXNlYXJjaC1mb3J3YXJkICJMSUJESVIgPSBcXFwiXFwoW14gXHRcbl0qXFwp XFxcIiIgbmlsIHQpCi0JICAgIChzZXRxIHJlc3VsdCAobWF0Y2gtc3RyaW5nIDEpKSkpCisJ OzsgcmV0dXJuIExJQkRJUiBvciBMSUJSQVJZVkFSIChvdmVycmlkZXMgTElCRElSKSBlbnYu CisJKHByb2duCisJICAoc2V0cSByZXN1bHQgKGZ1bmNhbGwgZ2V0LWNvbmZpZy12YXIgIkxJ QkRJUiIpCisJCWxpYnZhciAoZnVuY2FsbCBnZXQtY29uZmlnLXZhciAiTElCUkFSWVZBUiIp KQorCSAgKHdoZW4gbGlidmFyCisJICAgIChzZXRxIGxpYnZhciAoZ2V0ZW52IGxpYnZhcikp CisJICAgICh1bmxlc3MgKG1lbWJlciBsaWJ2YXIgJyhuaWwgIiIpKSAoc2V0cSByZXN1bHQg bGlidmFyKSkpKSkKICAgICAgIChnb3RvLWNoYXIgKHBvaW50LW1pbikpCiAgICAgICAoaWYg KG5vdCAobWVtcSBzdGF0dXMgJygwIG5pbCkpKQogCSAgKGVycm9yICIlcyBleGl0ZWQgd2l0 aCAlcyAlcyIgaXNwZWxsLXByb2dyYW0tbmFtZQpAQCAtMTQ2MywyMyArMTQ3MiwyOSBAQAog CiAgIChsZXQgKChkaWN0cyAoYXBwZW5kIGlzcGVsbC1sb2NhbC1kaWN0aW9uYXJ5LWFsaXN0 IGlzcGVsbC1kaWN0aW9uYXJ5LWFsaXN0KSkKIAkoZGljdC1saXN0IChjb25zICJkZWZhdWx0 IiBuaWwpKQotCW5hbWUgZGljdC1ibmFtZSkKKwkoZGljdC1sb2NhdGUKKwkgKGxhbWJkYSAo ZGljdCAmb3B0aW9uYWwgZGlyKQorCSAgIChsb2NhdGUtZmlsZSAoZmlsZS1uYW1lLW5vbmRp cmVjdG9yeSBkaWN0KQorCQkJYCgsKG9yIGRpciAoZmlsZS1uYW1lLWRpcmVjdG9yeSBkaWN0 KSkpCisJCQkodW5sZXNzIChmaWxlLW5hbWUtZXh0ZW5zaW9uIGRpY3QpICcoIi5oYXNoIiAi LmhhcyIpKSkpKQorCW5hbWUgZGljdC1leHBsdCBkaWN0LWJuYW1lKQogICAgIChkb2xpc3Qg KGRpY3QgZGljdHMpCiAgICAgICAoc2V0cSBuYW1lIChjYXIgZGljdCkKLQkgICAgZGljdC1i bmFtZSAob3IgKGNhciAoY2RyIChtZW1iZXIgIi1kIiAobnRoIDUgZGljdCkpKSkKLQkJCSAg IG5hbWUpKQotICAgICAgOzsgSW5jbHVkZSBpZiB0aGUgZGljdGlvbmFyeSBpcyBpbiB0aGUg bGlicmFyeSwgb3IgZGlyIG5vdCBkZWZpbmVkLgotICAgICAgKGlmIChhbmQKLQkgICBuYW1l Ci0JICAgOzsgRm9yIEFzcGVsbCwgd2UgYWxyZWFkeSBrbm93IHdoaWNoIGRpY3Rpb25hcmll cyBleGlzdC4KLQkgICAob3IgaXNwZWxsLXJlYWxseS1hc3BlbGwKLQkgICAgICAgOzsgSW5j bHVkZSBhbGwgZGljdGlvbmFyaWVzIGlmIGxpYiBkaXJlY3Rvcnkgbm90IGtub3duLgotCSAg ICAgICA7OyBTYW1lIGZvciBIdW5zcGVsbCwgd2hlcmUgaXNwZWxsLWxpYnJhcnktZGlyZWN0 b3J5IGlzIG5pbC4KLQkgICAgICAgKG5vdCBpc3BlbGwtbGlicmFyeS1kaXJlY3RvcnkpCi0J ICAgICAgIChmaWxlLWV4aXN0cy1wIChjb25jYXQgaXNwZWxsLWxpYnJhcnktZGlyZWN0b3J5 Ci0JCQkJICAgICAgIi8iIGRpY3QtYm5hbWUgIi5oYXNoIikpCi0JICAgICAgIChmaWxlLWV4 aXN0cy1wIChjb25jYXQgaXNwZWxsLWxpYnJhcnktZGlyZWN0b3J5Ci0JCQkJICAgICAgIi8i IGRpY3QtYm5hbWUgIi5oYXMiKSkpKQorCSAgICA7OyBFeHBsaWNpdGx5ICh2aWEgaXNwZWxs LWFyZ3MpIHNwZWNpZmllZCBkaWN0aW9uYXJ5LgorCSAgICBkaWN0LWV4cGx0IChjYXIgKGNk ciAobWVtYmVyICItZCIgKG50aCA1IGRpY3QpKSkpCisJICAgIGRpY3QtYm5hbWUgKG9yIGRp Y3QtZXhwbHQgbmFtZSkpCisgICAgICAoaWYgKGFuZCBuYW1lCisJICAgICAgIChvcgorCQk7 OyBJbmNsdWRlIGFsbCBmb3IgQXNwZWxsICh3ZSBhbHJlYWR5IGtub3cgZXhpc3RpbmcgZGlj dHMpCisJCWlzcGVsbC1yZWFsbHktYXNwZWxsCisJCTs7IEluY2x1ZGUgYWxsIGlmIGBpc3Bl bGwtbGlicmFyeS1kaXJlY3RvcnknIGlzIG5pbCAoSHVuc3BlbGwpCisJCShub3QgaXNwZWxs LWxpYnJhcnktZGlyZWN0b3J5KQorCQk7OyBJZiBleHBsaWNpdCAoLWQgd2l0aCBhbiBhYnNv bHV0ZSBwYXRoKSBhbmQgZXhpc3RpbmcgZGljdC4KKwkJKGFuZCBkaWN0LWV4cGx0CisJCSAg ICAgKGZpbGUtbmFtZS1hYnNvbHV0ZS1wIGRpY3QtZXhwbHQpCisJCSAgICAgKGZ1bmNhbGwg ZGljdC1sb2NhdGUgZGljdC1leHBsdCkpCisJCTs7IElmIGRpY3QgbG9jYXRlZCBpbiBgaXNw ZWxsLWxpYnJhcnktZGlyZWN0b3J5Jy4KKwkJKGZ1bmNhbGwgZGljdC1sb2NhdGUgZGljdC1i bmFtZSBpc3BlbGwtbGlicmFyeS1kaXJlY3RvcnkpKSkKIAkgIChwdXNoIG5hbWUgZGljdC1s aXN0KSkpCiAgICAgZGljdC1saXN0KSkKIAo= --------------020707090400000305070300-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 07 04:58:08 2016 Received: (at 24439) by debbugs.gnu.org; 7 Oct 2016 08:58:08 +0000 Received: from localhost ([127.0.0.1]:47288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsQym-0001ZJ-FN for submit@debbugs.gnu.org; Fri, 07 Oct 2016 04:58:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsQyk-0001Ys-D1 for 24439@debbugs.gnu.org; Fri, 07 Oct 2016 04:58:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsQyb-00064n-45 for 24439@debbugs.gnu.org; Fri, 07 Oct 2016 04:58:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsQyb-000639-16; Fri, 07 Oct 2016 04:57:57 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1042 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bsQyZ-0006SL-0E; Fri, 07 Oct 2016 04:57:55 -0400 Date: Fri, 07 Oct 2016 11:58:00 +0300 Message-Id: <83wphkilif.fsf@gnu.org> From: Eli Zaretskii To: Laimonas =?utf-8?Q?V=C4=97bra?= , Agustin Martin In-reply-to: <57F62864.4010609@yahoo.com> (message from Laimonas =?utf-8?Q?V=C4=97bra?= on Thu, 6 Oct 2016 13:33:08 +0300) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch References: <57DB4C52.1050307@yahoo.com> <83h99g5ooh.fsf@gnu.org> <57F62864.4010609@yahoo.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.7 (-------) X-Debbugs-Envelope-To: 24439 Cc: 24439@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.7 (-------) Agustin, could you please take a look at the proposed patch? TIA. > From: Laimonas Vėbra > Cc: 24439@debbugs.gnu.org > Date: Thu, 6 Oct 2016 13:33:08 +0300 > > Eli Zaretskii wrote: > > >> Sorry, that is not true (mistakenly thought, that fopen won't work with > >> windows paths). Then i should really rebuild ispell with LIBDIR set to > >> native path and it will work with Emacs. > > > > I think you don't even need that. You need to set ISPELL_DICTDIR in > > the environment to point to that directory. > > > > (The reason I didn't suggest this earlier is that I didn't know Cygwin > > can fopen Windows-style absolute file names.) > > Actually that won't work with current ispell.el, because LIBRARYVAR is > completely ignored and dictionaries searched only in LIBDIR (though it > can be overridden by LIBRARYVAR). > > Fixed this and other (-d with an absolute path) issues in attached patch. > > Below is a explanatory test: > > (require 'ispell) > ispell > > ;; cygwin ispell reports its LIBDIR as > (ispell-check-version) > "/usr/local/lib" > > ;; and it's not a correct/existing windows path > (file-exists-p "/usr/local/lib") > nil > > (shell-command-to-string "cygpath -w /usr/local/lib") > "C:\\cygwin64\\usr\\local\\lib > " > > ;; so ispell.el still can not see valid/installed dictionaries > (shell-command-to-string "ls -l /usr/local/lib") > "total 1126 > lrwxrwxrwx 1 Admin None 16 Jul 29 01:38 american.hash -> > americanmed.hash > -rw-r--r-- 1 Admin None 1125408 Jul 29 01:38 americanmed.hash > -rw-r--r-- 1 Admin None 24095 Jul 29 01:38 english.aff > lrwxrwxrwx 1 Admin None 16 Jul 29 01:38 english.hash -> > americanmed.hash > " > (ispell-valid-dictionary-list) > ("default") > > > ;; Though now we can add dictionaries explicitly (-d with an absolute path) > ispell-local-dictionary-alist > nil > > (add-to-list 'ispell-local-dictionary-alist > '("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil > ("-d" "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) > (("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" > "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) > > > (add-to-list 'ispell-local-dictionary-alist > '("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil > ("-d" "c:/cygwin64/usr/local/lib/english.hash") nil iso-8859-1)) > (("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" > "c:/cygwin64/usr/local/lib/english.hash") nil iso-8859-1) ("american" > "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-d" > "c:/cygwin64/usr/local/lib/american.hash") nil iso-8859-1)) > > (ispell-valid-dictionary-list) > ("american" "english" "default") > > ;; or we can set ispell LIBRARYVAR (default: ISPELL_DICTDIR) environment > variable > (setq ispell-local-dictionary-alist nil) > nil > (ispell-valid-dictionary-list) > ("default") > > (setenv "ISPELL_DICTDIR" "c:/cygwin64/usr/local/lib") > "c:/cygwin64/usr/local/lib" > > (setq ispell-library-directory (ispell-check-version)) > "c:/cygwin64/usr/local/lib" > > (ispell-valid-dictionary-list) > ("english" "american" "default") From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 08 07:30:58 2016 Received: (at 24439) by debbugs.gnu.org; 8 Oct 2016 11:30:58 +0000 Received: from localhost ([127.0.0.1]:48312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bspqE-000408-6J for submit@debbugs.gnu.org; Sat, 08 Oct 2016 07:30:58 -0400 Received: from mail-oi0-f41.google.com ([209.85.218.41]:36316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bspqC-0003u8-Ol for 24439@debbugs.gnu.org; Sat, 08 Oct 2016 07:30:57 -0400 Received: by mail-oi0-f41.google.com with SMTP id m72so82947182oik.3 for <24439@debbugs.gnu.org>; Sat, 08 Oct 2016 04:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=oTbmdP9JTAc1QJqocOsfgpd6734Vz2mx7N1zF3tOB/c=; b=hkiA4vKGuA+sXDjtEUGRwUfLhY2dB3sxC44rXxzS/l84ELGNXWy4cRJWUv0CtAfGLe 9TLxDFGPmGH6VqsKKS31/1RHDiLCP40tyAlh4pHYKpbveMgFZC6G7iDDOHALr/JdhHt5 5BQ3iW85PJAbopDjXi90YTOL6wU1HWr7volP8LOSsrx+MGOVt5kN478VqcPx5uPHmVlP yH/JapbLl1KI4ovFwoR6a318GRKLhDhq1pTg9g+kKxhszyPNX9kvxCIUwXQS+aN9zkO5 yxDxjeIwt5mWNkQMlQwF5AIw7/IKP5hl8izxk0py3OaFzwCRc6OqFi89N63nw/inCffG ZJ3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=oTbmdP9JTAc1QJqocOsfgpd6734Vz2mx7N1zF3tOB/c=; b=U9GZA7eTD70gd699T6Xuxnd+m5SCxOzd5ZuixG59OvoRDIJi/15rZ+YS6efc7Da+5Q e64F3rSwIpH5YXgA55GhfEAjAbl1faD8jT8Hc9OeIuiOgVUXAhY3+w4wwyV5YxGHoeXx Gfx6U+K89OWiMMrb/ownoT2j0v8A+kNcAm4CTUH5h6DQnSNYXPCA0D/F1JE7VUcDn029 8PbE5NoQHFd0jqNSR5nyt5nsUFZSyRvERItaHXXqQBv8UxjEuMqKsT1+HHkF90jguYlt KfIArz00CXHngtLwmPAhCU4sRKLgPvUaxUtv1p/FbQo7tU3TBNR/ATg3waEiSaE/AStw 0a5g== X-Gm-Message-State: AA6/9RlKBabggVfrF86bCaQ3mHZHHWVtSC0tweXxdhaugZhbfAui/icnvt8q4uGPfM94o8ap0xq1JpVhiiLRAQ== X-Received: by 10.202.107.134 with SMTP id g128mr17516988oic.17.1475926251323; Sat, 08 Oct 2016 04:30:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.51.82 with HTTP; Sat, 8 Oct 2016 04:30:50 -0700 (PDT) In-Reply-To: <83wphkilif.fsf@gnu.org> References: <57DB4C52.1050307@yahoo.com> <83h99g5ooh.fsf@gnu.org> <57F62864.4010609@yahoo.com> <83wphkilif.fsf@gnu.org> From: Agustin Martin Date: Sat, 8 Oct 2016 13:30:50 +0200 X-Google-Sender-Auth: 7a9ANjj8YHq9coQx4Sb4iRtfCpg Message-ID: Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch To: 24439@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a1141b958ecc59c053e58dbc0 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24439 Cc: =?UTF-8?Q?Laimonas_V=C4=97bra?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a1141b958ecc59c053e58dbc0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2016-10-07 10:58 GMT+02:00 Eli Zaretskii : > Agustin, could you please take a look at the proposed patch? TIA. > > > From: Laimonas V=C4=97bra > > Cc: 24439@debbugs.gnu.org > > Date: Thu, 6 Oct 2016 13:33:08 +0300 > > > > Eli Zaretskii wrote: > > > > >> Sorry, that is not true (mistakenly thought, that fopen won't work > with > > >> windows paths). Then i should really rebuild ispell with LIBDIR set = to > > >> native path and it will work with Emacs. > > > > > > I think you don't even need that. You need to set ISPELL_DICTDIR in > > > the environment to point to that directory. > > > > > > (The reason I didn't suggest this earlier is that I didn't know Cygwi= n > > > can fopen Windows-style absolute file names.) > > > > Actually that won't work with current ispell.el, because LIBRARYVAR is > > completely ignored and dictionaries searched only in LIBDIR (though it > > can be overridden by LIBRARYVAR). > > > > Fixed this and other (-d with an absolute path) issues in attached patc= h. > Hi, Eli I had a look at your patch and it looks really fine, thanks for caring about this. Needed to first read the whole thread (gmail decided to tag part of it as spam) and refresh my lisp a bit, I am currently busy with other things and am less responsive. I have also run some tests with it, and seems to work very well regarding dictionary selection. Did not check actual spellchecking (Checked with an old 24.4.1 where at least a function is not available, but could at least check that lists of available dictionaries) Best regards, --=20 Agustin --001a1141b958ecc59c053e58dbc0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2016= -10-07 10:58 GMT+02:00 Eli Zaretskii <eliz@gnu.org>:
Agustin, could you please take a look at the proposed= patch?=C2=A0 TIA.

> From: Laimonas V=C4=97bra <laimonas.vebra@yahoo.com>
> Cc: 24439@d= ebbugs.gnu.org
> Date: Thu, 6 Oct 2016 13:33:08 +0300
>
> Eli Zaretskii wrote:
>
> >> Sorry, that is not true (mistakenly thought, that fopen won&#= 39;t work with
> >> windows paths). Then i should really rebuild ispell with LIBD= IR set to
> >> native path and it will work with Emacs.
> >
> > I think you don't even need that.=C2=A0 You need to set ISPEL= L_DICTDIR in
> > the environment to point to that directory.
> >
> > (The reason I didn't suggest this earlier is that I didn'= t know Cygwin
> > can fopen Windows-style absolute file names.)
>
> Actually that won't work with current ispell.el, because LIBRARYVA= R is
> completely ignored and dictionaries searched only in LIBDIR (though it=
> can be overridden by LIBRARYVAR).
>
> Fixed this and other (-d with an absolute path) issues in attached pat= ch.
=C2= =A0
Hi, Eli

<= div class=3D"m_-5198939978098904263h5">I had a look at your patch and it lo= oks really fine, thanks for caring about this. Needed to first read the who= le thread (gmail decided to tag part of it as spam) and refresh my lisp a b= it, I am currently busy with other things and am less responsive.

I have also run some tests with= it, and seems to work very well regarding dictionary selection. Did not ch= eck actual spellchecking (Checked with an old 24.4.1 where at least a funct= ion is not available, but could at least check that lists of available dict= ionaries)

Best regards,

--
Agustin

=C2=A0

--001a1141b958ecc59c053e58dbc0-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 08 08:18:42 2016 Received: (at 24439-done) by debbugs.gnu.org; 8 Oct 2016 12:18:42 +0000 Received: from localhost ([127.0.0.1]:48335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsqaQ-0005nS-5Y for submit@debbugs.gnu.org; Sat, 08 Oct 2016 08:18:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsqaP-0005nF-47 for 24439-done@debbugs.gnu.org; Sat, 08 Oct 2016 08:18:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsqaI-0003ik-Pk for 24439-done@debbugs.gnu.org; Sat, 08 Oct 2016 08:18:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsqaD-0003gA-NY; Sat, 08 Oct 2016 08:18:29 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2659 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bsqaB-000586-QZ; Sat, 08 Oct 2016 08:18:28 -0400 Date: Sat, 08 Oct 2016 15:18:36 +0300 Message-Id: <83zimfghk3.fsf@gnu.org> From: Eli Zaretskii To: Agustin Martin In-reply-to: (message from Agustin Martin on Sat, 8 Oct 2016 13:30:50 +0200) Subject: Re: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch References: <57DB4C52.1050307@yahoo.com> <83h99g5ooh.fsf@gnu.org> <57F62864.4010609@yahoo.com> <83wphkilif.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.7 (-------) X-Debbugs-Envelope-To: 24439-done Cc: 24439-done@debbugs.gnu.org, laimonas.vebra@yahoo.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.7 (-------) > From: Agustin Martin > Date: Sat, 8 Oct 2016 13:30:50 +0200 > Cc: Laimonas Vėbra > > Hi, Eli > > I had a look at your patch and it looks really fine, thanks for caring about this. (It's not my patch, it was written by Laimonas.) > I have also run some tests with it, and seems to work very well regarding dictionary selection. Did not check > actual spellchecking (Checked with an old 24.4.1 where at least a function is not available, but could at least > check that lists of available dictionaries) Thanks for the review. I pushed this to the master branch (in Laimonas's name), and I'm marking this bug done. From unknown Sat Jun 21 10:08:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Nov 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator