all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Turning off flyspell programmatically for source blocks in Org mode
@ 2012-02-13  8:18 Leo Alekseyev
  2012-02-13 18:30 ` Jambunathan K
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Alekseyev @ 2012-02-13  8:18 UTC (permalink / raw)
  To: help-gnu-emacs

When I use Flyspell with org-mode, it often insists on spell-checking
my code, which is nice, but annoying.  How might one prevent flyspell
from operating on code blocks in org, given that they are clearly
delimited with lines #+begin_src [language] and #+end_src?

I've tried adding ("+begin_src" . "+end_src") to
ispell-skip-region-alist, but it didn't seem to work.

Appreciate any suggestions!



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Turning off flyspell programmatically for source blocks in Org mode
  2012-02-13  8:18 Turning off flyspell programmatically for source blocks in Org mode Leo Alekseyev
@ 2012-02-13 18:30 ` Jambunathan K
  0 siblings, 0 replies; 2+ messages in thread
From: Jambunathan K @ 2012-02-13 18:30 UTC (permalink / raw)
  To: Leo Alekseyev; +Cc: help-gnu-emacs

Leo Alekseyev <dnquark@gmail.com> writes:

> When I use Flyspell with org-mode, it often insists on spell-checking
> my code, which is nice, but annoying.  How might one prevent flyspell
> from operating on code blocks in org, given that they are clearly
> delimited with lines #+begin_src [language] and #+end_src?
>
> I've tried adding ("+begin_src" . "+end_src") to
> ispell-skip-region-alist, but it didn't seem to work.

See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10804

> Appreciate any suggestions!
>
>

-- 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-13 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-13  8:18 Turning off flyspell programmatically for source blocks in Org mode Leo Alekseyev
2012-02-13 18:30 ` Jambunathan K

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.