From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Porky Pig Newsgroups: gmane.emacs.help Subject: Re: spell-checker compatible with LaTeX? Date: Wed, 3 Mar 2010 16:14:44 -0800 (PST) Organization: http://groups.google.com Message-ID: <0f52b702-1f57-4b00-8dd8-9c75e643ceef@a18g2000yqc.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272988120 28124 80.91.229.12 (4 May 2010 15:48:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 15:48:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 17:48:39 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9KMR-0002vB-34 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 17:48:39 +0200 Original-Received: from localhost ([127.0.0.1]:55171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9KMQ-0007TT-Kp for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 11:48:38 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!a18g2000yqc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 47 Original-NNTP-Posting-Host: 168.122.117.19 Original-X-Trace: posting.google.com 1267661684 13241 127.0.0.1 (4 Mar 2010 00:14:44 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 4 Mar 2010 00:14:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a18g2000yqc.googlegroups.com; posting-host=168.122.117.19; posting-account=JpxxPAgAAAAgwzQIYqn4j6syK-YhOmcF User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177317 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72894 Archived-At: On Feb 28, 2:21=A0am, Teemu Likonen wrote: > * 2010-02-11 14:34 (-0800), Porky Pig wrote: > > > I'm trying to figure out what's the current status of spell checker > > for emacs. In particular, I"m looking for one that's understand LaTeX > > and compatible with Auctex. I did some searches on web, but still > > can't figure out if anything is available at all. I'm runing emacs/ > > auctex under Windows XP. > > If you only need a real-time spell-checker (=E0 la flyspell-mode) you can > use wcheck-mode [1]. It aims to be very much configurable and compatible > with "everything". You can use it with any command-line (spell-)checker > tool. To make it compatible with LaTeX (Auctex) I use this > configuration: > > (setq-default > =A0wcheck-read-or-skip-faces > =A0'((emacs-lisp-mode read font-lock-comment-face font-lock-doc-face) > =A0 =A0(message-mode read nil message-header-subject message-cited-text) > =A0 =A0(latex-mode read =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ; "read" = the following faces > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0nil =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0; nil means normal text > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0font-latex-sectioning-1-face > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0font-latex-sectioning-2-face > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0font-latex-sectioning-3-face > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0font-latex-sectioning-4-face > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0font-latex-bold-face > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0font-latex-italic-face > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0font-lock-constant-face) > =A0 =A0(org-mode skip =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ; "skip= " the following face(s): > =A0 =A0 =A0 =A0 =A0 =A0 =A0font-lock-comment-face))) > > So in latex-mode only normal text (nil), section headers etc. are read. > All other faces are skipped. > > --------------- > =A01.http://www.emacswiki.org/emacs/WcheckMode Thanks a lot. I'll take a look at it. I've just noticed new release of Auctex became available (a couple of weeks ago actually), so I'm gonna install and test that one first, then try WcheckMode. And, of course, thanks for the configuration sample. That will be very helpful. My knowledge of Lisp is (nil). :-) PPJ.