[OS X Emacs] Weird problems using aspell in Aquamacs 2.4
martin.buchmann at googlemail.com
Tue Feb 7 16:43:42 EST 2012
it has been a while since I used the wonderful Aquamacs on a regular basis but now I am working on one of my hobby projects and stumbled about a problem I was not able to solve with all my experience in different Emacs flavors and after spending two nights surfing the web for a solution. So, I hope someone can point me to the right direction here.
I am using macports aspell on my system with dictionaries for german and english. I have set the variable 'ispell-dictionary' to 'de-alt' which is the dictionary for the old german orthography. If I invoke ispell via 'M-x ispell-buffer' everything is fine. But if I want to work on an english text and set the file local variable 'ispell-local-dictionary' to 'en' or invoke the command 'ispell-change-dictionary' to change the dict I get the following error after 'M-x ispell buffer'.
> Debugger entered--Lisp error: (error "Error: Expected language \"en\" but got \"de-alt\".")
> signal(error ("Error: Expected language \"en\" but got \"de-alt\"."))
> ad-Orig-error("%s" "Error: Expected language \"en\" but got \"de-alt\".")
> apply(ad-Orig-error ("%s" "Error: Expected language \"en\" but got \"de-alt\"."))
> error("%s" "Error: Expected language \"en\" but got \"de-alt\".")
> ispell-region(1 637)
> call-interactively(ispell-buffer t nil)
> call-interactively(execute-extended-command nil nil)
I tried to delete all customization in the ispell group without any difference so far. Using flyspell leads to the same error, which should be expected I guess. I couldn't find any location where aspell is forced to de-alt besides the variable 'ispell-dictionary' but this should be overruled by the local settings if I understand the documentation right.
Could anyone give me a hint?
Thanks in advance
More information about the MacOSX-Emacs