From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Laimonas =?UTF-8?Q?V=C4=97bra?= Newsgroups: gmane.emacs.bugs Subject: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch Date: Thu, 15 Sep 2016 19:51:37 +0300 Message-ID: <57DAD199.2010102@yahoo.com> References: <57D9ACBB.8020908@yahoo.com> <837fad6w2e.fsf@gnu.org> <57DAC4B6.9040204@yahoo.com> <831t0l6s1u.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1473958355 5203 195.159.176.226 (15 Sep 2016 16:52:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2016 16:52:35 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 Cc: 24439@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 15 18:52:30 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZtY-0007b9-9U for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2016 18:52:16 +0200 Original-Received: from localhost ([::1]:36345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkZtW-00064p-AR for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2016 12:52:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkZtP-00064Y-4D for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 12:52:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkZtJ-0002bj-VJ for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 12:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkZtJ-0002bc-Rk for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 12:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bkZtJ-0002Tx-Gx for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 12:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Laimonas =?UTF-8?Q?V=C4=97bra?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2016 16:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24439 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24439-submit@debbugs.gnu.org id=B24439.14739583139527 (code B ref 24439); Thu, 15 Sep 2016 16:52:01 +0000 Original-Received: (at 24439) by debbugs.gnu.org; 15 Sep 2016 16:51:53 +0000 Original-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 Original-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== Original-Received: from [98.138.100.115] by nm29.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 16:51:45 -0000 Original-Received: from [98.138.84.40] by tm106.bullet.mail.ne1.yahoo.com with NNFMP; 15 Sep 2016 16:51:45 -0000 Original-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 In-Reply-To: <831t0l6s1u.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123350 Archived-At: 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.