Subject: bug#2056: 23.0.60; Enabling flyspell degrades performance

From: Ian Eure <[email-masked]>
Date: Sun, 25 Jan 2009 11:08:14 -0800

If you enable flyspell-mode in a buffer, Emacs gets slow. Not
unbearably slow, but there's a distinct lag when you type. It seems to
get worse as the buffer gets larger.

Other people have noticed:
http://www.nabble.com/CVS-version:-message-mode-%2B-flyspell-terribly-slow-td20666831.html

The behavior doesn't happen on Emacs 22.

In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS
apple-appkit-949.43)
  of 2009-01-20 on neutron.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
   value of $LC_ALL:
   value of $LC_COLLATE: en_US.UTF-8
   value of $LC_CTYPE: en_US.UTF-8
   value of $LC_MESSAGES: en_US.UTF-8
   value of $LC_MONETARY: en_US.UTF-8
   value of $LC_NUMERIC: en_US.UTF-8
   value of $LC_TIME: en_US.UTF-8
   value of $LANG: en_US.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: VC dir

Minor modes in effect:
   shell-dirtrack-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
S u b s e q u e n t SPC c o m m a n d s SPC f a i l
SPC t o SPC r u n , SPC M-b M-b M-b o n SPC t h e SPC
d i r e d SPC b u f f e r SPC C-e C-n s i n c e SPC
t h e y SPC p a s s SPC a SPC n o n e s i <backspace>
<backspace> x i s t e n t SPC p a t h SPC t o SPC g
i t . <return> <return> M-` M-` T h e SPC i s s u e
SPC s e e m s SPC t o SPC b e SPC t h a t SPC <switch-frame>
<switch-frame> v c - d i r e d SPC u s <backspace>
<backspace> c a l l s SPC g i t SPC d i g g - <backspace>
<backspace> <backspace> f f - i n d e x , SPC w h i
c h SPC s h o w s SPC a l l SPC p a t h s SPC r e l
a t i v e SPC t o SPC t h e SPC W C SPC r o o t SPC
r a t h e r SPC t h a n SPC t h e SPC P W D . M-b C-d
C C-e SPC T h i s SPC l e a d s SPC t o SPC o n <backspace>
<backspace> <M-backspace> <M-backspace> <M-backspace>
<backspace> C-n C-x C-o C-v C-v C-v C-s t SPC i SPC
n SPC y C-n C-p M-< C-c C-c y e s <return> <switch-frame>
<switch-frame> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

Recent messages:
Mark set
Undo!
Mark set
Auto-saving...done
tmm-prompt: Command attempted to use minibuffer while in minibuffer
Quit
Auto-saving...done
Mark saved where search started
Mark set
Sending...done