From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Felix E. Klee" Newsgroups: gmane.emacs.bugs Subject: bug#20581: 24.5; aspell dictionary de-alt not found Date: Fri, 15 May 2015 11:50:55 +0100 Message-ID: References: <83wq0agpx3.fsf@gnu.org> <83twvegnwy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431687145 1931 80.91.229.3 (15 May 2015 10:52:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 May 2015 10:52:25 +0000 (UTC) Cc: 20581 <20581@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 15 12:52:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YtDDy-00035b-6A for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 May 2015 12:52:14 +0200 Original-Received: from localhost ([::1]:58874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtDDx-0005jc-Hh for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 May 2015 06:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtDDt-0005jX-4d for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 06:52:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtDDn-0005X9-8h for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 06:52:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtDDn-0005Wq-4m for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 06:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YtDDm-0001NO-Kr for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 06:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Felix E. Klee" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2015 10:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20581 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20581-submit@debbugs.gnu.org id=B20581.14316870945244 (code B ref 20581); Fri, 15 May 2015 10:52:02 +0000 Original-Received: (at 20581) by debbugs.gnu.org; 15 May 2015 10:51:34 +0000 Original-Received: from localhost ([127.0.0.1]:45811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YtDDJ-0001MW-Sd for submit@debbugs.gnu.org; Fri, 15 May 2015 06:51:34 -0400 Original-Received: from mail-pd0-f176.google.com ([209.85.192.176]:35174) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YtDDI-0001MJ-3K for 20581@debbugs.gnu.org; Fri, 15 May 2015 06:51:32 -0400 Original-Received: by pdea3 with SMTP id a3so8527425pde.2 for <20581@debbugs.gnu.org>; Fri, 15 May 2015 03:51:26 -0700 (PDT) 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:content-type :content-transfer-encoding; bh=0NuTcomA2nJMWVkfqbz7yFjVGXaNwgJluc/gvDnv5lY=; b=MPwIgbt/00GdB9f/dJUdyDbqZjhykjBDzrSGC+ZtD4JXp+5iPoW1hZxRZwahNXTecY L31VRZoXtjri0g9TNQXudGzSi6TqcbOmz9VtB6NYl61ReCEKRahLRfsBPUZJE9007Jjo EwEjVnLacjGdBrL06GZCYcy6vqwRPOF6GYhl1A2ko4ToOKVXigMeTybFodvUxQldGdk4 4loc9Q8Wv49og3nw4iGG5+S0m5IiUhaRK2FNrhWSTBzzCDmNDkV36P/KucQ93mknhoni cWcgGNN/Cyps/fDU8vv4mmlbQMYrkSYlxm92b7zmazFvsEUMV013g8Y3XqESnF6Kyvj8 JFDw== X-Gm-Message-State: ALoCoQktPwd+C5IOCHmvXAl6r0juKzJQTzCu2f9b/R2gnbUZCQ6QQouAORUuJVj1cbfUG0LMO683 X-Received: by 10.66.250.131 with SMTP id zc3mr17235340pac.136.1431687085781; Fri, 15 May 2015 03:51:25 -0700 (PDT) Original-Received: by 10.66.149.193 with HTTP; Fri, 15 May 2015 03:50:55 -0700 (PDT) X-Originating-IP: [213.143.50.80] In-Reply-To: <83twvegnwy.fsf@gnu.org> X-Google-Sender-Auth: 2xXqfkwvzmO11njdPunoTtKKT0g X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102831 Archived-At: On Fri, May 15, 2015 at 11:01 AM, Eli Zaretskii wrote: > So could you please step in Edebug through the code in ispell.el [=E2=80= =A6] As said before, `ispell-dictionary-alist` is assembled from the output of `aspell dicts`. For each line in the output, `ispell-aspell-find-dictionary` is called. Example: ELISP> (ispell-aspell-find-dictionary "de_DE") ("de_DE" "[[:alpha:]]" "[^[:alpha:]]" "" t ("-d" "de_DE") nil utf-8) It doesn=E2=80=99t work with `de-alt`: ELISP> (ispell-aspell-find-dictionary "de-alt") nil I used `edebug` on `ispell-aspell-find-dictionary` and found that there is pattern matching happening that strips the variant `alt` from `de-alt`. Then a path is assembled, `fullpath`, which evaluates to: "/usr/lib/aspell-0.60/de.dat" That `.dat` file doesn=E2=80=99t exist. For `de-alt` it is a mistake to str= ip the variant. The correct path is: "/usr/lib/aspell-0.60/de-alt.dat"