From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Spencer Subject: Re: More flyspell-overlays removed Date: Mon, 30 Jul 2012 21:13:36 +1000 Message-ID: References: <87d33g9qx5.fsf@gnu.org> <0348D525-F0A3-4B85-9593-9704917CD9D9@student.uib.no> <87boixik82.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04447dff197c3204c60a28ac Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvnvG-0006DR-7A for emacs-orgmode@gnu.org; Mon, 30 Jul 2012 07:14:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svnv6-000271-KR for emacs-orgmode@gnu.org; Mon, 30 Jul 2012 07:14:02 -0400 In-Reply-To: <87boixik82.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org, Bjarte Johansen --f46d04447dff197c3204c60a28ac Content-Type: text/plain; charset=ISO-8859-1 Will give it a test later in the week and let you know. Also you can add this hook to make it act like the fly-spell mode in auctex (if familiar with that) which skips most tex based commands (trips up though if you have only one $ because assumes another $ sign later so won't check spelling in that block. I would just do \$ if you need a single dollar sign. This is the only really limitation I have found to adding this that I have noticed thus far. (add-hook 'org-mode-hook (lambda () (setq ispell-parser 'tex))) I would prefer instead of having this an all org-mode-hook to initiate only in documents that have a #+LATEX in the document once opened to set the parcer but wasn't sure how to do this. Also I would add: #+BEGIN_equation body as well #+END_equation #+begin_align body as well #+end_align Cheers, jeff On Mon, Jul 30, 2012 at 9:03 PM, Bastien wrote: > I've pushed a fix which should let flyspell ignore more commonly > used Org keywords. Please test it. > > Thanks! > > -- > Bastien > --f46d04447dff197c3204c60a28ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Will give it a test later in the week and let you know.

=
Also you can add this hook to make it act like the fly-spell mod= e in auctex (if familiar with that) which skips most tex based commands (tr= ips up though if you have only one $ because assumes another $ sign later s= o won't check spelling in that block. I would just do \$ if you need a = single dollar sign. This is the only really limitation I have found to addi= ng this that I have noticed thus far.
(add-hook 'org-mode-hook (lambda () (setq ispell-parser 'tex))= )

I would prefer instead of having this an all org= -mode-hook to initiate only in documents that have a #+LATEX in the documen= t once opened to set the parcer but wasn't sure how to do this.

Also I would add:
#+BEGIN_equation
body as wel= l
#+END_equation
#+begin_align
body as well
#+end_align

Cheers,
jeff

On Mon, Jul 30, 2012 at 9:03 PM, Bastie= n <bz= g@gnu.org> wrote:
I've pushed a fix which should let flyspell ignore more commonly
used Org keywords. =A0Please test it.

Thanks!

--
=A0Bastien

--f46d04447dff197c3204c60a28ac--