From: Jambunathan K <kjambunathan@gmail.com>
To: Stefan Schlee <stefan_schlee@yahoo.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: spell checking a string in elisp code
Date: Tue, 28 Aug 2012 22:06:03 +0530 [thread overview]
Message-ID: <871uirt1n0.fsf@gmail.com> (raw)
In-Reply-To: <1346148275.42110.YahooMailNeo@web125405.mail.ne1.yahoo.com> (Stefan Schlee's message of "Tue, 28 Aug 2012 03:04:35 -0700 (PDT)")
Stefan Schlee <stefan_schlee@yahoo.com> writes:
> Hello dear list!
>
> I am posed with the problem to look up strings from within my elisp
> code in one of the dictionaries that emacs uses. There used to be a
> function 'spell-string' but the spell-packages is obsoleted and the
> build in help system refers me to 'ispell'. But I cannot find an
> equivalent function in the 'ispell' package. Does any one know a
> solution?
May be this?
,----[ C-h k M-$ ]
| M-$ runs the command ispell-word, which is an interactive autoloaded
| compiled Lisp function in `ispell.el'.
|
| It is bound to M-$, <menu-bar> <tools> <spell> <ispell-word>.
|
| (ispell-word &optional FOLLOWING QUIETLY CONTINUE REGION)
|
| Check spelling of word under or before the cursor.
| If the word is not found in dictionary, display possible corrections
| in a window allowing you to choose one.
|
| If optional argument FOLLOWING is non-nil or if `ispell-following-word'
| is non-nil when called interactively, then the following word
| (rather than preceding) is checked when the cursor is not over a word.
| When the optional argument QUIETLY is non-nil or `ispell-quietly' is non-nil
| when called interactively, non-corrective messages are suppressed.
|
| With a prefix argument (or if CONTINUE is non-nil),
| resume interrupted spell-checking of a buffer or region.
|
| Interactively, in Transient Mark mode when the mark is active, call
| `ispell-region' to check the active region for spelling errors.
|
| Word syntax is controlled by the definition of the chosen dictionary,
| which is in `ispell-local-dictionary-alist' or `ispell-dictionary-alist'.
|
| This will check or reload the dictionary. Use M-x ispell-change-dictionary
| or M-x ispell-region to update the Ispell process.
|
| Return values:
| nil word is correct or spelling is accepted.
| 0 word is inserted into buffer-local definitions.
| "word" word corrected from word list.
| ("word" arg) word is hand entered.
| quit spell session exited.
|
| [back]
`----
> Thanks in advance
>
> Stefan
>
--
next prev parent reply other threads:[~2012-08-28 16:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-28 10:04 spell checking a string in elisp code Stefan Schlee
2012-08-28 16:36 ` Jambunathan K [this message]
2012-08-28 21:25 ` Tami
[not found] ` <1346220977.9904.YahooMailNeo@web125402.mail.ne1.yahoo.com>
2012-08-30 15:02 ` Fw: " Stefan Schlee
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=871uirt1n0.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=stefan_schlee@yahoo.com \
/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.