all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasenwood@zoho.eu>
To: emacs-devel@gnu.org
Subject: Re: ispell single word
Date: Sun, 17 Feb 2019 17:36:37 +0100	[thread overview]
Message-ID: <86k1hygyne.fsf@zoho.eu> (raw)
In-Reply-To: 83lg2el99e.fsf@gnu.org

Eli Zaretskii wrote:

>> How do I spell a single word, from Lisp,
>> with ispell?
>
> Can you describe a use case where one needs
> to spell-check in Emacs a word that is given
> as a string, and is not present in
> any buffer?

The base use case is being able to ask Emacs,
is this the correct spelling of
a particular word?

One advanced use case can be in combination
with this string permutation code [1] - you can
feed a bunch of chars to it, get all possible
strings, then feed the strings to the checker
and thus filter out all possible words you can
form with the letters.

[1] http://user.it.uu.se/~embe8573/emacs-init/perm.el

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2019-02-17 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-17  7:15 ispell single word Emanuel Berg
2019-02-17 15:33 ` Eli Zaretskii
2019-02-17 16:36   ` Emanuel Berg [this message]
2019-02-17 18:58     ` Eli Zaretskii
2019-02-17 19:27       ` Emanuel Berg
  -- strict thread matches above, loose matches on Subject: below --
2019-02-15 20:50 Emanuel Berg

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=86k1hygyne.fsf@zoho.eu \
    --to=moasenwood@zoho.eu \
    --cc=emacs-devel@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.