emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flyspell-mode breaks CUA mode


From: Richard M. Stallman
Subject: Re: Flyspell-mode breaks CUA mode
Date: Fri, 30 Sep 2005 16:01:18 -0400

    The problem is that flyspell's post-command-hook runs flyspell-word which
    runs flyspell-accept-buffer-local-defs which runs
    ispell-accept-buffer-local-defs and which now also runs
    ispell-maybe-find-aspell-dictionaries which itself will run
    ispell-check-version (a non-trivial function) unless you're lucky enough
    that ispell-have-aspell-dictionaries is non-nil.

    I think running ispell-check-version (which does various things including
    running a subprocess) from a post-command-hook is the core of the problem.

The natural thing is to do ispell-maybe-find-aspell-dictionaries when
flyspell mode is enabled, and not in flyspell-word.

What problem was Magnus' change intended to solve?  We should look
for a different solution.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]