emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeffrey Spencer <jeffspencerd@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org, Bjarte Johansen <bjo013@student.uib.no>
Subject: Re: More flyspell-overlays removed
Date: Mon, 30 Jul 2012 21:13:36 +1000	[thread overview]
Message-ID: <CALmFPZ1LOaq2YGF7qc3nWPhd-QXjZftiy8X-E04CDA4C7p7ZSw@mail.gmail.com> (raw)
In-Reply-To: <87boixik82.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]

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 <bzg@gnu.org> wrote:

> I've pushed a fix which should let flyspell ignore more commonly
> used Org keywords.  Please test it.
>
> Thanks!
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 1564 bytes --]

  reply	other threads:[~2012-07-30 11:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-20 20:14 More flyspell-overlays removed Bjarte Johansen
2012-07-28  9:27 ` Bastien
2012-07-28 22:38   ` Bjarte Johansen
2012-07-29  8:35     ` Jeffrey Spencer
2012-07-29 14:47       ` Bjarte Johansen
2012-07-30 11:03         ` Bastien
2012-07-30 11:13           ` Jeffrey Spencer [this message]
2012-07-30 11:44           ` Bjarte Johansen
2012-07-31 13:56             ` Jeffrey Spencer
2012-07-31 15:32             ` Bastien
2012-07-31 15:38               ` Bjarte Johansen
2012-07-31 16:33                 ` Bastien
2012-07-31 15:10         ` Sebastien Vauban
2012-07-31 15:32           ` Bastien
2012-08-07  3:57             ` Jeffrey Spencer
2012-08-07  9:18               ` Bastien
2012-08-07 11:40                 ` Jeffrey Spencer

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALmFPZ1LOaq2YGF7qc3nWPhd-QXjZftiy8X-E04CDA4C7p7ZSw@mail.gmail.com \
    --to=jeffspencerd@gmail.com \
    --cc=bjo013@student.uib.no \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).