* lisp interface to ispell ?
@ 2009-11-06 19:39 Andreas Politz
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Politz @ 2009-11-06 19:39 UTC (permalink / raw
To: help-gnu-emacs
Hi,
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: lisp interface to ispell ?
[not found] <mailman.10195.1257536431.2239.help-gnu-emacs@gnu.org>
@ 2009-11-06 20:05 ` Teemu Likonen
0 siblings, 0 replies; 2+ messages in thread
From: Teemu Likonen @ 2009-11-06 20:05 UTC (permalink / raw
To: help-gnu-emacs
On 2009-11-06 20:39 (+0100), Andreas Politz wrote:
> 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)))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-06 20:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-06 19:39 lisp interface to ispell ? Andreas Politz
[not found] <mailman.10195.1257536431.2239.help-gnu-emacs@gnu.org>
2009-11-06 20:05 ` Teemu Likonen
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.