From: Vladimir Lomov <lomov.vl@gmail.com>
To: Emacs Org Mode <emacs-orgmode@gnu.org>
Subject: "Bad" interaction between flyspell and org-mode with latest Emacs
Date: Thu, 26 Apr 2012 18:34:27 +0900 [thread overview]
Message-ID: <20120426093427.GB1360@smoon> (raw)
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.
next reply other threads:[~2012-04-26 9:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-26 9:34 Vladimir Lomov [this message]
2012-04-27 21:49 ` "Bad" interaction between flyspell and org-mode with latest Emacs 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120426093427.GB1360@smoon \
--to=lomov.vl@gmail.com \
--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 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.