From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24050: 24.5; ispell-change-dictionary suggests non-existent dicts (aspell) Date: Sun, 28 Jul 2019 17:08:26 +0200 Message-ID: References: <87k1c2cv77.fsf@mouse.gnus.org> <83h876kzv1.fsf@gnu.org> <83d0hukya1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="90289"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 24050@debbugs.gnu.org, olejorgenb@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 28 17:09:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrknR-000NN2-7m for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2019 17:09:13 +0200 Original-Received: from localhost ([::1]:45596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrknQ-0003BY-9H for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2019 11:09:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51668) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrknJ-00038Z-0p for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 11:09:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrknH-0007D5-VU for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 11:09:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrknG-0007CK-K5 for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 11:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrknG-0007AD-Cz for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 11:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 15:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24050 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 24050-submit@debbugs.gnu.org id=B24050.156432651227498 (code B ref 24050); Sun, 28 Jul 2019 15:09:02 +0000 Original-Received: (at 24050) by debbugs.gnu.org; 28 Jul 2019 15:08:32 +0000 Original-Received: from localhost ([127.0.0.1]:46985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrkml-00079S-QL for submit@debbugs.gnu.org; Sun, 28 Jul 2019 11:08:32 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:57322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrkmk-00079J-1C for 24050@debbugs.gnu.org; Sun, 28 Jul 2019 11:08:30 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrkmg-00052T-Kq; Sun, 28 Jul 2019 17:08:28 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUUFBrS1cq1sIwMChAK CA4DAgdmXTbo6t1FRz1/dDsqMTqUiEJ+LDMUAAACNElEQVQ4jXXTT4vaQBgG8LfEFsmpSWG3y17W FLZaL8JIWbya/QTtQksvoYep4sm9DG0vaUtDjJeshWD0MrAgOnuRHsQ/X67vZKKJrn1AjM+PN5k4 CRj5lAzDiiIad+gI8r1lWRGlER2PF6GEbtqbVuBRGq/am81iDgbDpGQJj7bjOIVTKbsJbzxedbIJ NbKmrudh299slmtgKnKgdMYlrCSMcnDC2EuPdlb7gFJlrDyh/QTWebjslpaPAa9ufq+AgtVmHuaA sVsnhfEenLJy6El4OIDz7gVQhMUhnFhhg9LeYzCscsNr9eLFw+IAvmn6MTB/doFP/dk+GEaZF5l7 T4oI/aUC3LjIFwBguBqpzeKhgkvfF4EQHOHLxf0OHPB9rIXACp48f0XILBr21wp8BaBdvfiVQG89 DnMTmD8aIZNo1FvHCNMgAY2keYYQShDiAKizBbEHb1v/A5xwjsFVy/GctrODbU8aLbfn0h3wDPCp C45BjXJPUMdNoJwDokMG5qCqSukNmBQTmApxx5gCuTahCV1C9KOi00EpO5UA3pgi4Evntq0qaRJi K+BaDYCDUX0Dn/+u6jaxFehcflwwK+3OYBnWbZkEcAf0wIXz4euvxambAeAKdNxq4/aOzQEU2KTe lFDUOT4lZoWndZKavH28uFlxCzdJ3qdnw/UBrivQbrIg+JrdxBvVYNu9S8fEAXywnqoDIHazRmo7 +Gj+VgfNggTQgFwnvz+V1fe1jf8BECj8A+pZr0hZcFA2AAAAAElFTkSuQmCC In-Reply-To: <83d0hukya1.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 28 Jul 2019 17:51:34 +0300") 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: 209.51.188.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:163969 Archived-At: Eli Zaretskii writes: > You assume that a dictionary not in the list doesn't exist; but that > isn't a given. I've heard enough reports from users who for some > reason or other bumped into situations where ispell.el couldn't figure > out correctly what dictionaries are installed. The standard list > (which is also customizable) leaves a "fire escape" for those cases. OK, so aspell/hunspell won't output the real list of dictionaries it has access to, but find more later when you give them a dictionary name? ispell.el itself doesn't look around for dictionaries -- it just calls aspell/hunspell and it outputs the dictionaries (see below). If the backend is something other than aspell/hunspell, ispell will still output the entire list of built-in dictionary names. $ aspell dicts en en-variant_0 en-variant_1 en-variant_2 en-w_accents en-wo_accents en_AU en_AU-variant_0 en_AU-variant_1 en_AU-w_accents en_AU-wo_accents en_CA [...] -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no