From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: spell checking a string in elisp code Date: Tue, 28 Aug 2012 22:06:03 +0530 Message-ID: <871uirt1n0.fsf@gmail.com> References: <1346148275.42110.YahooMailNeo@web125405.mail.ne1.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346171738 5495 80.91.229.3 (28 Aug 2012 16:35:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Aug 2012 16:35:38 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Stefan Schlee Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 28 18:35:39 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 1T6OlO-0006rP-38 for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Aug 2012 18:35:38 +0200 Original-Received: from localhost ([::1]:42226 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6OlL-0000cj-Km for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Aug 2012 12:35:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6OlB-0000bR-UP for help-gnu-emacs@gnu.org; Tue, 28 Aug 2012 12:35:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6OlA-0001M1-Nw for help-gnu-emacs@gnu.org; Tue, 28 Aug 2012 12:35:25 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:50813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6OlA-0001JV-HX for help-gnu-emacs@gnu.org; Tue, 28 Aug 2012 12:35:24 -0400 Original-Received: by pbbro12 with SMTP id ro12so10015561pbb.0 for ; Tue, 28 Aug 2012 09:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=uJbXfromtPoLeBCIkk1JUYeOC/pxw3fJRAp+Xc+918I=; b=uHrIeyiS1f2ditwZmSuz8mKbC8YW8kBpaYqsbtPVtPEKX46iIzFjY1aiZjEMkc3ReH g6Fscnkm4QooS13uqRtVcIKct13qoim9uJsyEQ/fPrdxajmnN2LJVjInwbYXGjvH48EO 8RgQNdjCOgh4vLSQd9BNC35qJqbYr2N6s/bk5dvnrH6LDDw1PSCarjfqCPQQq5HNyrTc feT15fP97XT9JOwpdC4MzCM1rVtTe5ofyAwevfQeCWt650wtjmrg9e/j9XcnGTeckzJm +3NC6SxaVC8E919SAdGqg5/SwBiebxT57eS20RJgG4H0I0SXSQ39DdE8GTO5sWUoQkbO /olQ== Original-Received: by 10.68.130.65 with SMTP id oc1mr43652036pbb.29.1346171722782; Tue, 28 Aug 2012 09:35:22 -0700 (PDT) Original-Received: from debian-6.05 ([115.241.99.70]) by mx.google.com with ESMTPS id ka9sm17329333pbb.59.2012.08.28.09.35.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Aug 2012 09:35:20 -0700 (PDT) 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)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 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:86567 Archived-At: 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 > --