emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "Bad" interaction between flyspell and org-mode with latest Emacs
@ 2012-04-26  9:34 Vladimir Lomov
  2012-04-27 21:49 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Lomov @ 2012-04-26  9:34 UTC (permalink / raw)
  To: Emacs Org Mode

Hello,

#+TITLE: Example with org-mode and flyspell on.
#+AUTHOR: Vladimir Lomov

* Org-mode src blocks and flyspell

I faced with strange problem with Emacs and org-mode.

In my real example I use src blocks and run =C-c '= to
edit them in native mode (shell).

If I enter into native mode, put new line and immediately run =C-c '= to
return to org document Emacs hangs and consume all available memory (RAM and
SWAP).

Curiously that such behavior see only with revno 108012.

In echo area I see message:
#+BEGIN_QUOTE
Error in post-command-hook (flyspell-post-command-hook): (error "Marker does not point anywhere")
#+END_QUOTE

This is extract from my document:
#+BEGIN_SRC sh :exports code
_num=${1:=_num}
_num=$(( _num%5 ))
#+END_SRC

I enter into block, run =C-c '=, add new line between lines and run immediately
=C-c '= again.

If I open the file again in Emacs and run =M-x flyspell-mode= (in echo
area I see 'flyspell disable') and do the same — I again get hang and
memory consumption.

If I commented the line in mine .emacs file:
(add-hook 'org-mode-hook 'flyspell-mode)
and tried again — all works fine.

Is this known behavior or new "bug"?

** Info

Emacs: build from BZR (rev. 108012+) vs GTK3;
org-mode: packaged from git and installed in my system (Archlinux).

P.S. I reported this here because don't know how to trigger similar
behavior without org-mode.

---
WBR, Vladimir Lomov

-- 
If you notice that a person is deceiving you, they must not be
deceiving you very well.

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

end of thread, other threads:[~2012-04-30 12:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26  9:34 "Bad" interaction between flyspell and org-mode with latest Emacs Vladimir Lomov
2012-04-27 21:49 ` Bastien
2012-04-28  2:44   ` Vladimir Lomov
2012-04-29  9:31     ` Bastien
2012-04-29 10:47       ` Vladimir Lomov
2012-04-30 12:54         ` Bastien

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).