all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Felix E. Klee" <felix.klee@inka.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 20581 <20581@debbugs.gnu.org>
Subject: bug#20581: 24.5; aspell dictionary de-alt not found
Date: Fri, 15 May 2015 11:50:55 +0100	[thread overview]
Message-ID: <CA+m_8J3mXrrG1=h=vMBDCiYCh-BxRKt89_rrLwCGdfK_N8xJ4Q@mail.gmail.com> (raw)
In-Reply-To: <83twvegnwy.fsf@gnu.org>

On Fri, May 15, 2015 at 11:01 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> So could you please step in Edebug through the code in ispell.el […]

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’t 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’t exist. For `de-alt` it is a mistake to strip
the variant. The correct path is: "/usr/lib/aspell-0.60/de-alt.dat"





  reply	other threads:[~2015-05-15 10:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 22:15 bug#20581: 24.5; aspell dictionary de-alt not found Felix E. Klee
2015-05-15  9:18 ` Eli Zaretskii
2015-05-15  9:42   ` Felix E. Klee
2015-05-15 10:01     ` Eli Zaretskii
2015-05-15 10:50       ` Felix E. Klee [this message]
2015-05-15 13:29         ` Eli Zaretskii
2015-05-15 14:21           ` Felix E. Klee
2015-05-15 14:26             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+m_8J3mXrrG1=h=vMBDCiYCh-BxRKt89_rrLwCGdfK_N8xJ4Q@mail.gmail.com' \
    --to=felix.klee@inka.de \
    --cc=20581@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.