From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tami Newsgroups: gmane.emacs.help Subject: Re: Re: spell checking a string in elisp code Date: Tue, 28 Aug 2012 16:25:19 -0500 Message-ID: <20541.14143.516818.982251@rocky.wb5aoh.ampr.org> References: <1346148275.42110.YahooMailNeo@web125405.mail.ne1.yahoo.com> <871uirt1n0.fsf@gmail.com> Reply-To: tami@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346211657 17459 80.91.229.3 (29 Aug 2012 03:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2012 03:40:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: kjambunathan@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 29 05:40:59 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T6Z9G-0000s8-8Y for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2012 05:40:58 +0200 Original-Received: from localhost ([::1]:49009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6Z9E-0004bG-1u for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Aug 2012 23:40:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6YWs-0001Fr-Im for help-gnu-emacs@gnu.org; Tue, 28 Aug 2012 23:01:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6YWr-0001j6-FO for help-gnu-emacs@gnu.org; Tue, 28 Aug 2012 23:01:18 -0400 Original-Received: from [64.149.184.62] (port=26379 helo=eric.tensleep.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6YWp-0001gS-Oz for help-gnu-emacs@gnu.org; Tue, 28 Aug 2012 23:01:17 -0400 Original-Received: from rocky.wb5aoh.ampr.org (pppclient.eric.tensleep.com [172.22.1.2]) by eric.tensleep.com (Postfix) with ESMTP id 6744237E4C; Tue, 28 Aug 2012 21:01:50 -0500 (CDT) Original-Received: by rocky.wb5aoh.ampr.org (Postfix on SuSE Linux 8.0 (i386), from userid 9049) id AA1E82FC92; Tue, 28 Aug 2012 16:25:19 -0500 (CDT) In-Reply-To: Jambunathan K's message of Tuesday, 28 August 2012 22:06:03 +0530 <871uirt1n0.fsf@gmail.com> X-Mailer: VM 7.04 under Emacs 21.1.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 64.149.184.62 X-Mailman-Approved-At: Tue, 28 Aug 2012 23:40:51 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86571 Archived-At: On 2012 August 28 Jambunathan K wrote: > Stefan Schlee 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-$, . > | > | (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 > > > > -- > >