emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrew Korty <ajk@iu.edu>
To: emacs-orgmode@gnu.org
Subject: Re: flyspell delay in org-mode
Date: Sun, 4 Mar 2007 02:04:58 +0000 (UTC)	[thread overview]
Message-ID: <loom.20070304T025301-166@post.gmane.org> (raw)
In-Reply-To: loom.20070303T212540-531@post.gmane.org

Vinod Valsalam <vinodv <at> gmail.com> writes:

> When using flyspell with org-mode, it seems to be spell checking on partially 
> typed words without any delay.  This is affecting responsiveness of emacs 
> while typing.  Has anyone else experienced this problem, and if so, does 
> anyone have a solution?

flyspell delays checking after commands listed in
`flyspell-default-delayed-commands' and `flyspell-delayed-commands'.  The
default value of the former is

    (self-insert-command delete-backward-char backward-or-forward-delete-char
     delete-char scrollbar-vertical-drag)

But org-mode seems to use its own replacements for many of those functions.  So
I defined the latter variable as

    (org-self-insert-command org-delete-backward-char
     org-backward-or-forward-delete-char org-delete-char)

and flyspell behaves as expected.

--ajk

      reply	other threads:[~2007-03-04  2:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-03 20:33 flyspell delay in org-mode Vinod Valsalam
2007-03-04  2:04 ` Andrew Korty [this message]

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=loom.20070304T025301-166@post.gmane.org \
    --to=ajk@iu.edu \
    --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).