ispell surely is a nice package, but sadly it's user-interface seems to
closely tied to it's functionality.
Does someone have a hack, or know a different package, in order to allow
elisp access to spelling functions ? E.g. like
(spell word language)
which at least returns t or nil.
The background is, that I am using a germnan input-method and it
frequently constructs words ,due to the contextless construction of
umlauts, which do not exists in _any_ language.
-ap
> Does someone have a hack, or know a different package, in order to allow
> elisp access to spelling functions ? E.g. like
>
> (spell word language)
>
> which at least returns t or nil.
Something like this?
(defun my-ispell-string (word lang)
(with-temp-buffer
(insert word)
(call-process-region (point-min) (point-max)
"ispell" t t nil "-l" "-d" lang)
(if (= (point-min) (point-max))
t)))