From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24439: ispell.el; cutom setting `ispell-library-directory'; patch Date: Fri, 16 Sep 2016 09:25:02 +0300 Message-ID: <83oa3o5pkx.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1474007191 30990 195.159.176.226 (16 Sep 2016 06:26:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2016 06:26:31 +0000 (UTC) Cc: 24439@debbugs.gnu.org To: Laimonas =?UTF-8?Q?V=C4=97bra?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 16 08:26:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkmbK-0006bS-El for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2016 08:26:18 +0200 Original-Received: from localhost ([::1]:38744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmbI-0001jY-J9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2016 02:26:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmb9-0001jD-Lt for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 02:26:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkmb4-0001hX-Je for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 02:26:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmb4-0001hT-Gg for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 02:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bkmb4-0007Vy-7S for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 02:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2016 06:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24439 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24439-submit@debbugs.gnu.org id=B24439.147400710328815 (code B ref 24439); Fri, 16 Sep 2016 06:26:02 +0000 Original-Received: (at 24439) by debbugs.gnu.org; 16 Sep 2016 06:25:03 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 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) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:123370 Archived-At: > 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).