help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hunspell and emacs


From: henry atting
Subject: hunspell and emacs
Date: Tue, 23 Feb 2010 17:02:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

I try to get emacs working with hunspell, but it only works halfway.
On a (debian) shell I can see no problems. If I am running hunspell on a
file without german umlauts there are no problems as well.
But if umlauts come into play I get this error message that I don't
understand:

Ispell error: This UTF-8 encoding can't convert to UTF-16:
Spell-checking test.nry using hunspell with de_DE_hunspell dictionary...done
ispell-process-line: Wrong type argument: number-or-marker-p, nil

My emacs version is GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version
2.18.6) of 2010-02-04 

My setup for hunspell, it's from here [1]

,----
| ;; Use hunspell instead of ispell
| (setq ispell-program-name "hunspell") 
| (require 'rw-language-and-country-codes)
| (require 'rw-ispell)
| (require 'rw-hunspell)
| (setq ispell-dictionary "de_DE_hunspell")
| ;; The following is set via custom
| (custom-set-variables
|  '(rw-hunspell-default-dictionary "de_DE_hunspell")
|  '(rw-hunspell-dicpath-list (quote ("/usr/share/hunspell")))
|  '(rw-hunspell-make-dictionary-menu t)
|  '(rw-hunspell-use-rw-ispell t)
| )
`----


Some other ways tested don't work as well and end with the same error
message.

henry

___

[1] http://www.emacswiki.org/emacs/InteractiveSpell#toc6


-- 
http://literaturlatenight.de


reply via email to

[Prev in Thread] Current Thread [Next in Thread]